#81 closed defect (released)
If latex is a symlink to pdfelatex, apidoc won't build
Reported by: | Olly Betts | Owned by: | Olly Betts |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Other | Version: | 0.9.6 |
Severity: | minor | Keywords: | |
Cc: | Michael Schlenker | Blocked By: | |
Blocking: | Operating System: | Linux |
Description
On SuSE 10.1, pdfelatex is just a symlink to latex. See bug#80 for original report (this bug split off to avoid trying to track two separate problems in a single bug):
http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=80
"pdfelatex creates a pdf directly without a dvi in between, but can be forced to create dvi with the -output-format=dvi switch. Stupid, they should have at least installed a shellscript that sets the default to dvi."
This only affects people building from SVN, or who have configured a tarball with --enable-maintainer-mode and modified the API headers.
A easy workaround (untested) is to configure with:
./configure --enable-maintainer-mode LATEX='/usr/bin/latex -output-format=dvi'
If pdfelatex can create a PDF without going through DVI, perhaps configure should check for it and use it in preference to latex if it is available...
Change History (3)
comment:1 by , 19 years ago
Status: | new → assigned |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've just checked in a change to SVN so we always use pdflatex to create a PDF for the API documentation, so this should no longer be an issue.