Ticket #81 (closed defect: released)
If latex is a symlink to pdfelatex, apidoc won't build
| Reported by: | olly | Owned by: | olly |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Other | Version: | 0.9.6 |
| Severity: | minor | Keywords: | |
| Cc: | schlenk | Blocked By: | |
| Operating System: | Linux | Blocking: |
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...
