blob: 0d329b764447af140565c680e17141ab8a279155 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<sect1 id="ch06-lfs-utils" xreflabel="Lfs-Utils">
<title>Installing Lfs-Utils-&lfs-utils-version;</title>
<?dbhtml filename="lfs-utils.html" dir="chapter06"?>
<para>The Lfs-Utils package contains a few helper files.</para>
<screen>&buildtime; &lfs-utils-time;
&diskspace; &lfs-utils-compsize;</screen>
&aa-lfs-utils-down;
&aa-lfs-utils-dep;
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installation of Lfs-Utils</title>
<para>Prepare Lfs-Utils for compilation:</para>
<screen><userinput>./configure --prefix=/usr --with-libc</userinput></screen>
<para>The meaning of the configure option:</para>
<itemizedlist>
<listitem><para><userinput>--with-libc</userinput>: This causes the
<userinput>mktemp</userinput> program to use the <emphasis>mkstemp</emphasis>
and <emphasis>mkdtemp</emphasis> functions from the system C
library.</para></listitem>
</itemizedlist>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>And install it:</para>
<screen><userinput>make install</userinput></screen>
<para>Now copy two supporting files included in the Lfs-Utils tarball to
their destination:</para>
<screen><userinput>cp etc/{services,protocols} /etc</userinput></screen>
<para>The <filename>/etc/services</filename> file is used to resolve service
numbers to human-readable names, and the <filename>/etc/protocols</filename>
does the same for protocol numbers.</para>
</sect2>
&aa-lfs-utils-shortdesc;
&aa-lfs-utils-desc;
</sect1>
|