LFS-BOOK PDF generation
Bruce Dubbs
bruce.dubbs at gmail.com
Tue May 26 22:34:31 MDT 2009
Gerard Beekmans wrote:
>> 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).
OK, its working now.
I still get the font warnings, but not the overflow.
=============
--- chapter06/linux-headers.xml (revision 8929)
+++ chapter06/linux-headers.xml (working copy)
@@ -69,7 +69,7 @@
<segtitle>Installed headers</segtitle>
<seglistitem>
- <seg>/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}/*.h</seg>
+ <seg>/usr/include/asm/*.h</seg>
</seglistitem>
</segmentedlist>
@@ -79,13 +79,12 @@
<?dbhtml list-presentation="table"?>
<varlistentry id="linux-headers">
- <term><filename
class="headerfile">/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}/*.h</filename></term>
+ <term><filename class="headerfile">/usr/include/asm/*.h</filename></term>
<listitem>
<para>The Linux API headers</para>
<indexterm zone="ch-system-linux-headers">
- <!-- No /*.h here to prevent a PDF line overflow -->
- <primary
sortas="e-/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}">/usr/include/{asm{,-generic},drm,linux,mtd,
-rdma,sound,video}/*.h</primary>
+
+ <primary sortas="e-/usr/include/asm/*.h">/usr/include/asm/*.h</primary>
===============
Some lines are wrapped, but one or more of the 3 lines that have:
/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}/*.h
are causing the problem. We can probably fix it by breaking that up into
multiple entries in the seglist item and multiple varlistentry items.
-- Bruce
More information about the lfs-dev
mailing list