aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/findutils-inst.xml
blob: df3da659a1465d20ae3ca51f98c89af11128f273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installing Findutils</title>

<para>The Findutils package is quite old and it has problems compiling
against newer Glibc versions (Glibc-2.0.x and up). You need to apply the
patch that fixes some variable conflicts you'd otherwise end up
with:</para>

<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>

<para>Install Findutils by running the following:</para>

<para><screen><userinput>CPPFLAGS="-Dre_max_failures=re_max_failures2" \
&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static
make
make install</userinput></screen></para>

</sect2>