blob: 6960b15e4e4ba22128fa1082146058f0886fb42e (
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
27
28
29
30
31
|
<sect2>
<title>Installing Findutils</title>
<para>This package requires its patch to be applied before you can
install it. Make sure it's unpacked before running the installation
commands.</para>
<para>Install Findutils by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch &&
./configure --prefix=/usr &&
make libexecdir=/usr/bin &&
make libexecdir=/usr/bin install</userinput></screen></para>
</sect2>
<sect2>
<title>FHS compliance notes</title>
<para>By default, the location of the updatedb database is in /usr/var.
If you would rather be FHS compliant, you may wish to use another
location. The following commands use the database file
<filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch &&
./configure --prefix=/usr &&
make localstatedir=/var/lib/misc libexecdir=/usr/bin &&
make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
</sect2>
|