--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mathtex dvipng-related error Debian 8 (Jessie)
- From: Justine Leon Uro <justineuro@gmail.com>
- Date: Sat, 24 Sep 2016 03:48:54 +0800
- Message-id: <20160923194854.926.76849.reportbug@debian-juro>
Package: mathtex
Version: 1.03-1
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
To run mathtex as a cgi-script, I linked /usr/bin/mathtex to /usr/bin/cgi-bin/mathtex.cgi (similar to mimetex/mimetex.cgi).
http://localhost/mathtex.cgi?x^2 gave error: (10) dvipng ran but failed: See mathtex.html#message 10
dvipng.err file contents: /usr/bin/dvipng warning: unrecognized length unit "o", assuming inches /usr/bin/dvipng warning: unrecognized length unit "", assuming inches
* What exactly did you do (or not do) that was effective (or
ineffective)?
Ineffective: Running http://loclahost/mathtex.cgi?\messagelevel{9} x^2, ended with folders showing that the error has something to do with dvipng.
Ineffective: Runnig mathtex at the command line hangs with the final message: mathTeX> message#10 succeeded:
(10) dvipng ran but failed:
Effective: Changed the mathtex from package to a my previously-compiled version and this time it worked.
* What was the outcome of this action?
-as cgi-script: temporary folders/files with hints to the possible error (dvipng command options(?))
-on command line: command hangs
-switching to an old previously-compiled mathtex version that works shows that the new mathtex (from Debian 8 package) was compiled in a manner that causes the dvipng error
* What outcome did you expect instead?
GIF file with image of mathematical expression
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_PH.UTF-8, LC_CTYPE=en_PH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mathtex depends on:
ii dvipng 1.14-2+b1
ii libc6 2.19-18+deb8u4
ii texlive 2014.20141024-2
mathtex recommends no packages.
mathtex suggests no packages.
-- no debconf information
--- End Message ---