mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
ed7668a67d
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3119 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
50 lines
1.4 KiB
XML
50 lines
1.4 KiB
XML
<sect1 id="ch06-lfs-utils">
|
|
<title>Installing Lfs-Utils-&lfs-utils-version;</title>
|
|
<?dbhtml filename="lfs-utils.html" dir="chapter06"?>
|
|
|
|
<screen>Estimated build time: &lfs-utils-time;
|
|
Estimated required disk space: &lfs-utils-compsize;</screen>
|
|
|
|
&aa-lfs-utils-shortdesc;
|
|
&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
|
|
<filename>mktemp</filename> 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>
|
|
|
|
</sect1>
|
|
|