aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/e2fsprogs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-07-06 06:54:06 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-07-06 06:54:06 +0000
commitd35b7f3cedd4eba67e5c8651ff0fd8de99065381 (patch)
tree73bcf64522b30e6716c6473c6e78e14c6051961c /chapter05/e2fsprogs.xml
parent94e69545480652dc592f78f3fe42142a4699a9a4 (diff)
Update to sed 4,2,1
Update to Linux 2.6.30.1 Correct GCC to use -fomit-frame-pointer Add pkg-config Remove --with-col from Man-DB Move Util-Linux-NG to before E2fsprogs in Chapter 6 Update to e2fsprogs-1.41.7 Remove E2fsprogs in Chapter 5 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8955 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/e2fsprogs.xml')
-rw-r--r--chapter05/e2fsprogs.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/chapter05/e2fsprogs.xml b/chapter05/e2fsprogs.xml
index 43cea7558..7adb6bc07 100644
--- a/chapter05/e2fsprogs.xml
+++ b/chapter05/e2fsprogs.xml
@@ -48,9 +48,34 @@
<screen><userinput remap="pre">mkdir -v build
cd build</userinput></screen>
+ <para>Fix a bug in E2fsprogs that prevents it from building against Util-Linux-NG's copy of <systemitem class="library">libuuid</systemitem>:</para>
+
+<screen><userinput remap="pre">cp -v ../MCONFIG.in{,.orig}
+ sed -e '82 s/LIBUUID/DEPLIBUUID/' ../MCONFIG.in.orig &gt; ../MCONFIG.in</userinput></screen>
+
<para>Prepare E2fsprogs for compilation:</para>
-<screen><userinput remap="configure">../configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the new configure option:</title>
+
+ <varlistentry>
+ <term><parameter>--disable-libblkid</parameter></term>
+ <listitem>
+ <para>This prevents E2fsprogs from building its own copy of the
+ libblkid library, which Util-Linux-NG provides.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--disable-libuuid</parameter></term>
+ <listitem>
+ <para>This prevents E2fsprogs from building its own copy of the
+ libuuid library, which Util-Linux-NG provides.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
@@ -64,7 +89,7 @@ cd build</userinput></screen>
be removed later:</para>
<screen><userinput remap="install">chmod -v u+w \
- /tools/lib/{libblkid,libcom_err,libe2p,libext2fs,libss,libuuid}.a</userinput></screen>
+ /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
</sect2>