source: chapter06/findutils.xml@ 4f2d91dc

xry111/clfs-ng
Last change on this file since 4f2d91dc was 7ffe1b8, checked in by Xi Ruoyao <xry111@…>, 3 years ago

add --localstatedir= for temp findutils

It's to prevent the creation of an empty /usr/var.

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[54e422c1]7
[fcc02767]8<sect1 id="ch-tools-findutils" role="wrap">
[54e422c1]9 <?dbhtml filename="findutils.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>findutils</productname>
13 <productnumber>&findutils-version;</productnumber>
14 <address>&findutils-url;</address>
15 </sect1info>
16
[54e422c1]17 <title>Findutils-&findutils-version;</title>
18
[fcc02767]19 <indexterm zone="ch-tools-findutils">
[54e422c1]20 <primary sortas="a-Findutils">Findutils</primary>
[fcc02767]21 <secondary>tools</secondary>
[54e422c1]22 </indexterm>
23
24 <sect2 role="package">
25 <title/>
[6370fa6]26
[fcc02767]27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
28 href="../chapter08/findutils.xml"
29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[5888299]30
[54e422c1]31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
[673b0d8]34
[54e422c1]35 <seglistitem>
[fb386e0]36 <seg>&findutils-tmp-sbu;</seg>
37 <seg>&findutils-tmp-du;</seg>
[54e422c1]38 </seglistitem>
39 </segmentedlist>
[673b0d8]40
[54e422c1]41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Findutils</title>
45
46 <para>Prepare Findutils for compilation:</para>
[73aedd1d]47
[7ffe1b8]48<screen><userinput remap="configure">./configure --prefix=/usr \
49 --localstatedir=/var/lib/locate \
50 --host=$LFS_TGT \
[fcc02767]51 --build=$(build-aux/config.guess)</userinput></screen>
[54e422c1]52
53 <para>Compile the package:</para>
[73aedd1d]54
[0445a3d]55<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]56
[54e422c1]57 <para>Install the package:</para>
[73aedd1d]58
[fcc02767]59<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
[1118b17]60
[54e422c1]61 </sect2>
62
[fcc02767]63 <sect2 role="content">
64 <title/>
[54e422c1]65
[fcc02767]66 <para>Details on this package are located in
67 <xref linkend="contents-findutils" role="."/></para>
[54e422c1]68
69 </sect2>
[673b0d8]70
71</sect1>
Note: See TracBrowser for help on using the repository browser.