On samedi 11 mai 2013 à 19:19:34 (-0500), Bruce Dubbs wrote:
> Jean-Philippe MENGUAL wrote:
> >
> > Hi,
> >
> > I try to set an environment to generate pdf files for lfs. I installed
> > fop, jai and openjdk. I've not installed the dependencies of openjdk, and
> > not JUnit. make says:
> >
> > Generating PDF file...
> > make: *** [pdf] Error 1
> >
> > How can I have more verbose info? Do some dep are mandatory so build a pdf 
> > (I
> > mean openjdk's dep)? Is JUnit mandatory?
> 
> The command to build is fop:
> 
> xsltproc --nonet --stringparam profile.condition pdf \
>       --output $(RENDERTMP)/lfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
>       $(RENDERTMP)/lfs-full.xml

But how is lfs-full-xml generated? Because so far I get: warning: failed to 
load external entity "/home/jp/lfsfr/test/lfs-full.xml
unable to parse /home/jp/lfsfr/test/lfs-full.xml

> sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/lfs-pdf.fo
> fop $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
> 
> I do not think it needs junit, but it definitely needs java.

I use Java, that is sure. The problem is that log is not explicit.
I get:
Validating the book... Validation complete. Generating profiled XML for PDF... 
Generating FO file... Making portrait pages on USletter paper (8.5inx11in)
 Generating PDF file... 
 make: *** [pdf] Error 1

>    -- Bruce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to