2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installing Findutils</title>
|
|
|
|
|
2002-05-01 18:21:09 +01:00
|
|
|
<para>This package requires its patch to be applied before you can
|
2002-12-17 13:26:15 +00:00
|
|
|
install it.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Install Findutils by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-07-02 20:25:34 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
|
o Upgraded to automake-1.7.1, modutils-2.4.21, man-pages-1.53,
kbd-1.08, util-linux-2.11w, autoconf-2.54, e2fsprogs-1.29,
groff-1.18.1, psmisc-21.2, less-378, procps-3.0.4, make-3.80,
ncurses-5.3.
o Added libtool-1.4.2.patch
o Added findutils-4.1-segfault.patch
o Replaced mkdir ... with cp -HR.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2195 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-10-22 04:06:05 +01:00
|
|
|
patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch &&
|
2003-01-08 20:09:53 +00:00
|
|
|
CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr &&
|
2002-04-26 13:11:12 +01:00
|
|
|
make libexecdir=/usr/bin &&
|
2001-10-27 23:21:44 +01:00
|
|
|
make libexecdir=/usr/bin install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
2001-11-26 16:28:09 +00:00
|
|
|
<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
|
2002-09-28 22:08:29 +01:00
|
|
|
location. The following commands use the database file
|
2001-11-26 16:28:09 +00:00
|
|
|
<filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
|
|
|
|
|
2002-07-02 20:25:34 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
|
o Upgraded to automake-1.7.1, modutils-2.4.21, man-pages-1.53,
kbd-1.08, util-linux-2.11w, autoconf-2.54, e2fsprogs-1.29,
groff-1.18.1, psmisc-21.2, less-378, procps-3.0.4, make-3.80,
ncurses-5.3.
o Added libtool-1.4.2.patch
o Added findutils-4.1-segfault.patch
o Replaced mkdir ... with cp -HR.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2195 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-10-22 04:06:05 +01:00
|
|
|
patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch &&
|
2001-11-26 16:28:09 +00:00
|
|
|
./configure --prefix=/usr &&
|
2002-04-26 13:11:12 +01:00
|
|
|
make localstatedir=/var/lib/misc libexecdir=/usr/bin &&
|
2001-11-26 16:28:09 +00:00
|
|
|
make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-11-26 16:28:09 +00:00
|
|
|
</sect2>
|