Re: dvipng compilation error for teTeX 2.99.3 on OSF1
Stefan Ulrich <[email protected]> Wed, 10 Nov 2004 16:14:50 GMT
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Svend Tollak Munkejord <[email protected]> wrote : > make[2]: Entering directory > `/home/vsl175/a/svendm/hentet/tetex-src-2.99.3.20041109-beta/texk/dvipng' [...] > cc: Error: dvipng.c, line 67: Invalid statement. (badstmt) > // setbuf(stderr, NULL); > --^ > make[2]: *** [dvipng.o] Error 1 that C compiler obviously doesn't like C++ comments; try to remove that line and see if that works ... > I also tried compiling with gcc (i.e. without setting CC and CXX), and > that worked. However, xdvi turned up with a fancy interface, and died > after a second: > > svendm@vsl175 > xdvi test > Warning: Cannot convert string > "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct > xdvi-motif.bin 22.84.6 (Motif toolkit): events.c:4175: Shouldn't happen: > Segmentation fault - trying to clean up and aborting ... > IOT/Abort trap (core dumped) Did you make sure there were no files compiled with the other compiler still lying around? (Try `make distclean', then again configure && make ...) > Another thing: in mt-yy.map, the lines > mtex MTEX > mtsy MTSY > rmtmi RMTMI > > cause warnings about duplicate map entries to be issued by pdflatex > and xdvi. In that case these entries must have occured in another .map file before; could you try a grep on these to check? (The output of `xdvi -debug open file.dvi' should show the candidates.) Best, Stefan