2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-system-lfs-utils" xreflabel="Lfs-Utils">
|
2003-05-11 22:28:48 +01:00
|
|
|
<title>Installing Lfs-Utils-&lfs-utils-version;</title>
|
|
|
|
<?dbhtml filename="lfs-utils.html" dir="chapter06"?>
|
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Lfs-Utils package contains a few helper files.</para>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &lfs-utils-time;
|
|
|
|
&diskspace; &lfs-utils-compsize;</screen>
|
2003-09-02 23:04:32 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-lfs-utils-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-lfs-utils-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Lfs-Utils</title>
|
|
|
|
|
2003-11-24 04:35:27 +00:00
|
|
|
<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
|
2004-02-01 21:49:10 +00:00
|
|
|
<command>mktemp</command> program to use the <emphasis>mkstemp</emphasis>
|
2003-11-24 04:35:27 +00:00
|
|
|
and <emphasis>mkdtemp</emphasis> functions from the system C
|
|
|
|
library.</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
<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>
|
2003-05-11 22:28:48 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-lfs-utils-shortdesc;
|
|
|
|
&aa-lfs-utils-desc;
|
|
|
|
|
2003-05-11 22:28:48 +01:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|