mtab a real file now
[linux_from_scratch.git] / BOOK / chapter05 / findutils-inst.xml
blobb05c8089f6b63f4a94a6f541ee1089afa8770a98
1 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
3 <sect2>
4 <title>Installing Findutils</title>
6 <para>The Findutils package is quite old and it has problems compiling
7 against newer Glibc versions (Glibc-2.0.x and up). You need to apply the
8 patch that fixes some variable conflicts you'd otherwise end up
9 with:</para>
11 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
13 <para>Prepare Findutils to be compiled:</para>
15 <para><screen><userinput>CPPFLAGS="-Dre_max_failures=re_max_failures2" \
16 &nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
18 <para>Continue with compiling the package:</para>
20 <para><screen><userinput>make</userinput></screen></para>
22 <para>And finish off installing the package:</para>
24 <para><screen><userinput>make install</userinput></screen></para>
26 </sect2>