aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/bash-inst.xml17
-rw-r--r--chapter05/tar-inst.xml7
-rw-r--r--chapter06/tar-inst.xml5
3 files changed, 5 insertions, 24 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml
index 5380dbb3b..6bb0a4725 100644
--- a/chapter05/bash-inst.xml
+++ b/chapter05/bash-inst.xml
@@ -2,23 +2,6 @@
<title>Installation of Bash</title>
<para>
-Bash needs a static ncurses library that goes by the name of libcurses.a. Some
-distributions provide this file under the name of libncurses.a. If this is the
-case of your distribution, run the following two commands to fix the problem:
-</para>
-
-<para>
-Note: Normally, the libncurses.a file resides in the /usr/lib directory
-but it might reside in /lib (like it does on LFS systems). Check this
-first and adjust the path in the following commands accordingly:
-</para>
-
-<blockquote><literallayout>
- <userinput>cd /usr/lib &amp;&amp;</userinput>
- <userinput>ln -s libncurses.a libcurses.a</userinput>
-</literallayout></blockquote>
-
-<para>
Install Bash by running the following commands:
</para>
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml
index 50851a19d..c9ae8ca26 100644
--- a/chapter05/tar-inst.xml
+++ b/chapter05/tar-inst.xml
@@ -25,11 +25,10 @@ Install Tar by running the following commands:
<blockquote><literallayout>
<userinput>./configure --prefix=$LFS/usr
--disable-nls \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin &amp;&amp;
- </userinput>
+ <userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin
+ --bindir=$LFS/bin &amp;&amp; </userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
- <userinput>make install &amp;&amp;</userinput>
- <userinput>mv $LFS/usr/bin/tar $LFS/bin</userinput>
+ <userinput>make install</userinput>
</literallayout></blockquote>
</sect2>
diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml
index b4dc00e13..83f3d6aef 100644
--- a/chapter06/tar-inst.xml
+++ b/chapter06/tar-inst.xml
@@ -26,10 +26,9 @@ directory:
<blockquote><literallayout>
<userinput>./configure --prefix=/usr --libexecdir=/usr/bin
- &amp;&amp;</userinput>
+ --bindir=/bin &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
- <userinput>make install &amp;&amp;</userinput>
- <userinput>mv /usr/bin/tar /bin</userinput>
+ <userinput>make install</userinput>
</literallayout></blockquote>
</sect2>