LFS-BOOK PDF generation

Gerard Beekmans gerard at linuxfromscratch.org
Tue May 26 21:15:07 PDT 2009


> I tried running make pdf on quantum, but got:
>
> /bin/sh: fop: command not found
>   

I didn't add the JDK and FOP directories to the global $PATH yet.

Add the appropriate lines to your .bash_profile or .bashrc:

PATH=$PATH:/usr/fop
export JAVA_HOME=/opt/jdk
export ANT_HOME=/opt/ant

and to .foprc

FOP_HOME=/opt/fop
FOP_OPTS="-Xmx2024m"

(The last line per BLFS instructions and I just took the RAM amount as 
per "free -m" output to get started).





More information about the lfs-dev mailing list