make pdf fails

Dan Nicholson dbn.lists at gmail.com
Sat May 10 16:36:19 PDT 2008


On Thu, May 8, 2008 at 12:27 PM, Thomas Trepl
<thomas at equinox.homelinux.org> wrote:
> Hi all,
>
> when i do a "make pdf" i get
> <copy>
> bash-3.2$ make pdf
> Validating the book...
> Generating FO file...
> warning: failed to load external entity "tmp/blfs-pdf.xml"
> unable to parse tmp/blfs-pdf.xml
> make: *** [tmp/blfs-pdf.fo] Fehler 6
> bash-3.2$
> </copy>
>
> I found that in section $(RENDERTMP)/blfs-pdf.fo the xsltproc command should
> read as
>        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
>          --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \
>          $(RENDERTMP)/blfs-full.xml
> instead of
>        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
>          --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \
>          $(RENDERTMP)/blfs-pdf.xml
>
> When doing that, the whole section "$(RENDERTMP)/blfs-pdf.xml:" becomes
> obsolete.
>
> Did I miss something? Can someone verify this?

I think the prerequisite for blfs-pdf.fo is wrong. Right not it has:

$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-full.xml

but it should depend on blfs-pdf.xml:

$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml

Can you try that change and see if it fixes things?

--
Dan



More information about the blfs-dev mailing list