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 @@ -1,23 +1,6 @@ Installation of Bash - -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: - - - -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: - - -
- cd /usr/lib && - ln -s libncurses.a libcurses.a -
- Install Bash by running the following commands: 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:
./configure --prefix=$LFS/usr --disable-nls \ -    --libexecdir=$LFS/usr/bin && - +    --libexecdir=$LFS/usr/bin + --bindir=$LFS/bin && make LDFLAGS=-static && - make install && - mv $LFS/usr/bin/tar $LFS/bin + make install
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:
./configure --prefix=/usr --libexecdir=/usr/bin - && + --bindir=/bin && make && - make install && - mv /usr/bin/tar /bin + make install