|
@@ -52,7 +52,11 @@ cd build</userinput></screen>
|
|
|
|
|
|
<para>Prepare E2fsprogs for compilation:</para>
|
|
|
|
|
|
-<screen><userinput remap="configure">../configure --prefix=/usr \
|
|
|
+<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 \
|
|
@@ -61,16 +65,16 @@ cd build</userinput></screen>
|
|
|
--disable-fsck</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
- <title>The meaning of the configure options:</title>
|
|
|
-<!--
|
|
|
+ <title>The meaning of the environment variable and configure options:</title>
|
|
|
+
|
|
|
<varlistentry>
|
|
|
- <term><parameter>PKG_CONFIG...</parameter></term>
|
|
|
+ <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This enables E2fsprogs to be built without requiring Pkg-config
|
|
|
- to be built and installed first.</para>
|
|
|
+ <para>These variables enable e2fsprogs to be built using the
|
|
|
+ <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
--->
|
|
|
+
|
|
|
<varlistentry>
|
|
|
<term><parameter>--with-root-prefix=""</parameter></term>
|
|
|
<listitem>
|
|
@@ -127,9 +131,10 @@ cd build</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
- <para>Install the static libraries and headers:</para>
|
|
|
+ <para>Install the static libraries and headers and do some clean up:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">make install-libs</userinput></screen>
|
|
|
+<screen><userinput remap="install">make install-libs
|
|
|
+unset PKG_CONFIG_PATH</userinput></screen>
|
|
|
|
|
|
<para>Make the installed static libraries writable so debugging symbols can
|
|
|
be removed later:</para>
|