2003-01-16 01:57:16 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installing Findutils</title>
|
|
|
|
|
2003-01-16 01:57:16 +00:00
|
|
|
<para>A patch must be applied in order to prevent compilation
|
|
|
|
errors. The patch fixes a variable conflict and some bad syntax.
|
|
|
|
Issue the following command to apply this patch:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-16 01:57:16 +00:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-16 01:57:16 +00:00
|
|
|
<para>The <userinput>locate</userinput> program from Findutils may
|
|
|
|
segfault if it encounters a long path name. To correct this, apply
|
|
|
|
the second patch:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-16 01:57:16 +00:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Prepare Findutils to be compiled:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
2001-11-26 16:28:09 +00:00
|
|
|
|
|
|
|
<para>By default, the location of the updatedb database is in /usr/var.
|
2003-01-16 01:57:16 +00:00
|
|
|
To make the location of <filename>/var/lib/misc/locatedb</filename> file
|
|
|
|
FHS compliant, pass the <emphasis>localstatedir=/var/lib/misc</emphasis>
|
|
|
|
option to both <userinput>make</userinput> commands below.</para>
|
|
|
|
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make libexecdir=/usr/bin</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Finish installing the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make libexecdir=/usr/bin install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-11-26 16:28:09 +00:00
|
|
|
</sect2>
|