Added a few comments here and there
[linux_from_scratch.git] / newxml / chapter06 / findutils.xml
blob86576bf09f92738b618975be64cc4da9fde91931
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3   <!ENTITY % findutils-entities SYSTEM "../ent/findutils.ent">
4   %findutils-entities;
5 ]>
6 <sect1 id="ch06-findutils">
7 <title>Installing Findutils-&findutils-version;</title>
8 <?dbhtml filename="findutils.html"?>
10 <screen>Estimated build time:           0.2 SBU
11 Estimated required disk space:  7.5 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/findutils-contents.xml"/>
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/findutils-deps.xml"/>
21 <sect2>
22 <title>Installing Findutils</title>
24 <para>Prepare Findutils for compilation:</para>
26 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
28 <para>By default, the location of the updatedb database is in
29 <filename>/usr/var</filename>. To make the location of
30 <filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the
31 <emphasis>--localstatedir=/var/lib/misc</emphasis> option to
32 <userinput>configure</userinput>.</para>
34 <para>Compile the package:</para>
36 <screen><userinput>make</userinput></screen>
38 <para>This package has a test suite available which can perform a number of
39 checks to ensure it built correctly.  Should you choose to run it, the 
40 following command will do so:</para>
42 <screen><userinput>make check</userinput></screen>
44 <para>And install the package:</para>
46 <screen><userinput>make install</userinput></screen>
48 </sect2>
50 </sect1>