Hi Arnie,
I've now worked through compiling dvipng for Solaris 8, with only
marginal success. I had to tweak a few things to get it to compile
cleanly, and even with a clean compile it's not creating correctly
formatted png equation files. Examples of the output I'm getting:
and
If anyone has insight as to what's going on here, I'd appreciate it.
For the benefit of anyone who is interested in the nitty-gritty,the changes I had to make to get this to compile were: in dvipng/Makefile :
-
CPPFLAGS : I changed this to reflect the paths
to our non-system include files. I also took out
-DDEBUG (c.f. below).
-
LDFLAGS : I changed the paths in this similarly.
I can't easily put code into our TeX directory, so I put it in another place and set the TEXINPUTS
environmental variable. I'm not sure if this actually works, though I
don't think it should affect the compilation of dvipng. In addition,
I'm compiling in 64 bit mode and had to set LD_LIBRARY_PATH to get the right libraries.
Finally, to get rid of two compile warnings,
font.c: In function `FontDef': font.c:150: warning: int format, different type arg (arg 2) pagelist.c: In function `SkipPage': pagelist.c:31: warning: deprecated use of label at end of compound statement
I added the line " ; " at line 31 in pagelist.c and changed line 125 of font.c ,
if (Debug) printf("DEF FONT%ld: %s\n",k,n);
to
#ifdef DEBUG if (Debug) printf("DEF FONT%ld: %s\n",k,n); #endif
With these changes I get a clean compile with no warnings or errors, but the output indicated above.
Thoughts, comments or suggestions are welcomed.
Gavin
<| Post or View Comments |>
|