lfs/chapter06/inetutils-inst.xml
2003-08-29 23:20:23 +00:00

45 lines
1.5 KiB
XML

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Inetutils</title>
<para>Prepare Inetutils for compilation:</para>
<para><screen><userinput>./configure --prefix=/usr --disable-syslogd \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin --disable-logger \
&nbsp;&nbsp;&nbsp;&nbsp;--sysconfdir=/etc --localstatedir=/var
</userinput></screen></para>
<para>The meanings of the configure options are:</para>
<itemizedlist>
<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>
<listitem><para><userinput>--disable-logger</userinput>: This option
prevents inetutils from installing the logger program, which is used by
scripts to pass messages to the System Log Daemon. We do not install it
because Util-linux installs a better version later.</para></listitem>
<listitem><para><userinput>--sysconfdir=/etc</userinput>: This option
tells the binaries created by the package to look in /etc for their
configuration files</para></listitem>
</itemizedlist>
<para>Compile the package:</para>
<para><screen><userinput>make</userinput></screen></para>
<para>Install it:</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>And move the <userinput>ping</userinput> program to its proper place:</para>
<para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para>
</sect2>