diff options
Diffstat (limited to 'chapter05/e2fsprogs.xml')
-rw-r--r-- | chapter05/e2fsprogs.xml | 29 |
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 > ../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> |