aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/e2fsprogs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/e2fsprogs.xml')
-rw-r--r--chapter06/e2fsprogs.xml29
1 files changed, 16 insertions, 13 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index bf4332ba9..6fc766ee3 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -44,6 +44,11 @@
<sect2 role="installation">
<title>Installation of E2fsprogs</title>
+ <para>First fix a problem with running regression tests in the LFS chroot
+ environment:</para>
+
+<screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&amp;:/tools/lib|' tests/test_config</userinput></screen>
+
<para>The E2fsprogs documentation recommends that the package be built in
a subdirectory of the source tree: </para>
@@ -52,16 +57,15 @@ cd build</userinput></screen>
<para>Prepare E2fsprogs for compilation:</para>
-<screen><userinput remap="configure">export PKG_CONFIG_PATH=/tools/lib/pkgconfig
-
-LIBS=-L/tools/lib \
-CFLAGS=-I/tools/include \
-../configure --prefix=/usr \
- --with-root-prefix="" \
- --enable-elf-shlibs \
- --disable-libblkid \
- --disable-libuuid \
- --disable-uuidd \
+<screen><userinput remap="configure">LIBS=-L/tools/lib \
+CFLAGS=-I/tools/include \
+PKG_CONFIG_PATH=/tools/lib/pkgconfig \
+../configure --prefix=/usr \
+ --with-root-prefix="" \
+ --enable-elf-shlibs \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-uuidd \
--disable-fsck</userinput></screen>
<variablelist>
@@ -131,10 +135,9 @@ CFLAGS=-I/tools/include \
<screen><userinput remap="install">make install</userinput></screen>
- <para>Install the static libraries and headers and do some clean up:</para>
+ <para>Install the static libraries:</para>
-<screen><userinput remap="install">make install-libs
-unset PKG_CONFIG_PATH</userinput></screen>
+<screen><userinput remap="install">make install-libs</userinput></screen>
<para>Make the installed static libraries writable so debugging symbols can
be removed later:</para>