Karim Barkati - 2009-08-22

Hi there !

I'm using Doxywizard 1.5.9 under Mac OS X 10.5.8.
It succeeds in producing marvellous HTML ouputs, with the wonderful diagrams of graphviz's dot, BUT it fails at producing the LaTeX output, constantly asking me to check my TeX installation...

0) My LaTeX installation works fine (I use to use Aquamacs Emacs to edit and compile). It's all in the following directory :
/usr/local/texlive/2007/bin/i386-darwin
and linked in /usr/texbin

1) First error mentionned by doxygen:
sh: epstopdf: command not found
Error: Problems running epstopdf. Check your TeX installation!

2) I checked whether my tex path were in user.cs_path (it's in my $PATH), but no :
[~]> sysctl user
user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin

3) So I added a link for epstopdf in /usr/bin (because user.cs_path is not changeable in my configuration) :
sudo ln -s /usr/texbin/epstopdf /usr/bin

4) Doxygen's error slightly changed :
sh: gs: command not found
Error: Problems running epstopdf. Check your TeX installation!

5) I did the same for gs :
sudo ln -s /opt/local/bin/gs /usr/bin

6) doxygen's error changed into something I didn't reach to solve alone :
Generating call graph for function boxAppl
Error: /rangecheck in /findfont
Operand stack:
   --nostringval--   10   FreeSans
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   1739   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1820   3   4   %oparray_pop
Dictionary stack:
   --dict:1146/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--   --dict:50/200(L)--
Current allocation mode is local
GPL Ghostscript
8.64: Unrecoverable error, exit code 1

I don't know what to do anymore, so any help would be greatly appreciated ;-)

Karim