aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shellutils-inst.xml
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-16 19:55:00 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2003-01-16 19:55:00 +0000
commitb7d9d404530bb763fc76017744709800796af054 (patch)
tree31337c4e9208ece3bc6a53b2e613187275d74dc1 /chapter06/shellutils-inst.xml
parentb2933b95f79e304436547f8b984e4f586b662c85 (diff)
Converted m4, bison, less, groff, textutils, sed, flex, binutils, fileutils, shellutils, gettext and net-tools to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2353 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r--chapter06/shellutils-inst.xml31
1 files changed, 24 insertions, 7 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index 741911f09..d8060eb0a 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -1,16 +1,33 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Sh-utils</title>
<para>This package requires its hostname-patch to be applied before you
-can install it.</para>
+can install it. This patch suppresses the build of the hostname program
+which will be installed later with the net-tools package. The hostname
+program from the net-tools package is a much better version (and in some
+cases even required since it supports options that are needed by some
+programs such as XFree86). Apply the patch:</para>
+
+<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch</userinput></screen></para>
+
+<para>Prepare Shellutils to be compiled:</para>
+
+<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>Install the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
-<para>Install Sh-utils by running the following commands:</para>
+<para>Finally, move some of the programs to more appropriate
+locations:</para>
-<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch &amp;&amp;
-./configure --prefix=/usr &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
-mv /usr/bin/{basename,date,echo,false,pwd} /bin &amp;&amp;
+<para><screen><userinput>mv /usr/bin/{basename,date,echo,false,pwd} /bin &amp;&amp;
mv /usr/bin/{sleep,stty,su,test,true,uname} /bin &amp;&amp;
mv /usr/bin/chroot /usr/sbin</userinput></screen></para>