aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml3
-rw-r--r--chapter06/e2fsprogs.xml11
-rw-r--r--chapter06/man-db.xml3
-rw-r--r--chapter06/udev.xml2
4 files changed, 13 insertions, 6 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 899ab5446..0c6a7236e 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -30,9 +30,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pcre.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glib.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkg-config.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 75eeb28d4..09a04642d 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -52,7 +52,8 @@ cd build</userinput></screen>
<para>Prepare E2fsprogs for compilation:</para>
-<screen><userinput remap="configure">../configure --prefix=/usr --with-root-prefix="" \
+<screen><userinput remap="configure">PKG_CONFIG=/tools/bin/true LDFLAGS=-lblkid \
+ ../configure --prefix=/usr --with-root-prefix="" \
--enable-elf-shlibs --disable-libblkid --disable-libuuid \
--disable-uuidd --disable-fsck</userinput></screen>
@@ -60,6 +61,14 @@ cd build</userinput></screen>
<title>The meaning of the configure options:</title>
<varlistentry>
+ <term><parameter>PKG_CONFIG...</parameter></term>
+ <listitem>
+ <para>This enables E2fsprogs to be built without requiring Pkg-config
+ to be built and installed first.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--with-root-prefix=""</parameter></term>
<listitem>
<para>Certain programs (such as the <command>e2fsck</command>
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index f61f62fd0..a1b27367a 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -43,7 +43,8 @@
<para>Prepare Man-DB for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib \
+<screen><userinput remap="configure">libpipeline_CFLAGS='' libpipeline_LIBS='-lpipeline' \
+ ./configure --prefix=/usr --libexecdir=/usr/lib \
--docdir=/usr/share/doc/man-db-&man-db-version; --sysconfdir=/etc \
--disable-setuid --with-browser=/usr/bin/lynx \
--with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap</userinput></screen>
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 275878105..2bbf2743f 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -71,7 +71,7 @@ mknod -m0666 /lib/udev/devices/null c 1 3</userinput></screen>
--sysconfdir=/etc --sbindir=/sbin \
--with-rootlibdir=/lib --libexecdir=/lib/udev \
--disable-hwdb --disable-introspection \
- --disable-keymap</userinput></screen>
+ --disable-keymap --disable-gudev</userinput></screen>
<variablelist>
<title>The meaning of the new configure options</title>