aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/inetutils.xml
blob: fd448abdb931a027eaeddc9e2aa431cdfd9bb1d0 (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
55
56
57
58
59
60
61
62
63
<sect1 id="ch06-inetutils">
<title>Installing Inetutils-&inetutils-version;</title>
<?dbhtml filename="inetutils.html" dir="chapter06"?>

<screen>Estimated build time:           &inetutils-time;
Estimated required disk space:  &inetutils-compsize;</screen>

&aa-inetutils-shortdesc;
&aa-inetutils-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Inetutils</title>

<para>Prepare Inetutils for compilation:</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 \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-whois --disable-servers</userinput></screen>

<para>The meaning of the configure options:</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>--disable-whois</userinput>: This option disables
the building of the inetutils whois client, which is woefully out of date.
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>

<para>And move the <userinput>ping</userinput> program to its proper place:</para>

<screen><userinput>mv /usr/bin/ping /bin</userinput></screen>

</sect2>

</sect1>