Installing Bash-2.05b

Approximate build time:  1.2 SBU 
Required disk space:     27 MB

Official download location for Bash (2.05b): 
ftp://ftp.gnu.org/gnu/bash/
And for the Bash Patch:
http://www.linuxfromscratch.org/patches/lfs/cvs/bash-2.05b-2.patch

For its installation Bash depends on: Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Sed.

Installation of Bash

Bash contains several known bugs. Fix these with the following patch:

patch -Np1 -i ../bash-2.05b-2.patch

Now prepare Bash for compilation:

./configure --prefix=/tools

Compile the program:

make

As discussed earlier, we don't recommend running the test suites for the temporary tools here in this chapter. If you still want to run the Bash test suite anyway, the following command will do so:

make tests

Then install it and its documentation:

make install

And make a link for the programs that use sh for a shell:

ln -s bash /tools/bin/sh

The details on this package are found in the Section called Contents of Bash in Chapter 6.