aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/findutils-inst.xml
blob: b05c8089f6b63f4a94a6f541ee1089afa8770a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<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>Prepare Findutils to be compiled:</para>

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

<para>Continue with compiling the package:</para>

<para><screen><userinput>make</userinput></screen></para>

<para>And finish off installing the package:</para>

<para><screen><userinput>make install</userinput></screen></para>

</sect2>