From b08f4096533577934b885fa9df41d3881d141612 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 15 Feb 2001 15:26:52 +0000 Subject: Initial XML commit git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/bash-inst.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 chapter05/bash-inst.xml (limited to 'chapter05/bash-inst.xml') diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml new file mode 100644 index 000000000..8c9115709 --- /dev/null +++ b/chapter05/bash-inst.xml @@ -0,0 +1,42 @@ + +Installation of Bash + + +Install Bash by running the following commands: + + +
+ + ./configure --enable-static-link --prefix=$LFS/usr \ +    --bindir=$LFS/bin --disable-nls + --with-curses && + make && + make install && + cd $LFS/bin && + ln -s bash sh + +
+ + +If you get errors when compiling bash that tell you about not being able to +find -lcurses run these two commands to create the +missing symlink (so far we have not enountered one distribution that has +this libncurses symlink setup properly, except for LFS systems where it +is setup properly): + + +
+ + cd /usr/lib && + ln -s libncurses.a libcurses.a + +
+ + +Note: Normally the libncurses.a file resides in the /usr/lib directory +but it might reside in /lib (like it does on LFS systems). So check to +make sure whether you should run the ln command in /usr/lib or in /lib + + +
+ -- cgit v1.2.3-54-g00ecf