2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-system-inetutils" xreflabel="Inetutils">
|
2003-05-11 22:28:48 +01:00
|
|
|
<title>Installing Inetutils-&inetutils-version;</title>
|
|
|
|
<?dbhtml filename="inetutils.html" dir="chapter06"?>
|
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Inetutils package contains programs for basic networking.</para>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &inetutils-time;
|
|
|
|
&diskspace; &inetutils-compsize;</screen>
|
2003-09-02 23:04:32 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-inetutils-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-inetutils-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Inetutils</title>
|
|
|
|
|
2003-12-12 03:26:35 +00:00
|
|
|
<para>We are not going to install all the programs that come with Inetutils.
|
|
|
|
However, the Inetutils build system will insist on installing all the man
|
|
|
|
pages anyway. The following patch will correct this situation:</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../&inetutils-no-server-man-pages-patch;</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now prepare Inetutils for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-01-12 23:24:06 +00:00
|
|
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
2003-11-01 22:31:50 +00:00
|
|
|
--sysconfdir=/etc --localstatedir=/var \
|
2004-01-12 23:24:06 +00:00
|
|
|
--disable-logger --disable-syslogd \
|
2003-11-01 22:31:50 +00:00
|
|
|
--disable-whois --disable-servers</userinput></screen>
|
|
|
|
|
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>--disable-logger</userinput>: This option
|
2004-01-12 23:24:06 +00:00
|
|
|
prevents Inetutils from installing the logger program, which is used by
|
2003-11-01 22:31:50 +00:00
|
|
|
scripts to pass messages to the System Log Daemon. We do not install it
|
|
|
|
because Util-linux installs a better version later.</para></listitem>
|
|
|
|
|
2004-01-12 23:24:06 +00:00
|
|
|
<listitem><para><userinput>--disable-syslogd</userinput>: This option
|
|
|
|
prevents Inetutils from installing the System Log Daemon, which is
|
|
|
|
installed with the Sysklogd package.</para></listitem>
|
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
<listitem><para><userinput>--disable-whois</userinput>: This option disables
|
2004-01-12 23:24:06 +00:00
|
|
|
the building of the Inetutils whois client, which is woefully out of date.
|
2003-11-01 22:31:50 +00:00
|
|
|
Instructions for a better whois client are in the BLFS book.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para><userinput>--disable-servers</userinput>: This disables the
|
|
|
|
installation of the various network servers included as part of the Inetutils
|
|
|
|
package. These servers are deemed not appropriate in a basic LFS system. Some
|
|
|
|
are insecure by nature and are only considered safe on trusted networks. More
|
|
|
|
information can be found at
|
|
|
|
<ulink url="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
|
|
|
|
replacements are available for many of these servers.</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Install it:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
2004-02-01 21:49:10 +00:00
|
|
|
<para>And move the <command>ping</command> program to its proper place:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2003-05-11 22:28:48 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-inetutils-shortdesc;
|
|
|
|
&aa-inetutils-desc;
|
|
|
|
|
2003-05-11 22:28:48 +01:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|