Installation of Bash Install Bash by running the following commands:
./configure --enable-static-link --prefix=$LFS/usr \    --bindir=$LFS/bin --with-curses && make && make install && cd $LFS/bin && ln -s bash sh
If a user gets errors when compiling bash that tell about not being able to find -lcurses, these two commands should be run 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): Note: Normally, the libncurses.a file resides in the /usr/lib directory but it might reside in /lib (like it does on LFS systems). A user needs to check to make sure whether the ln command has to be run in /usr/lib or in /lib.
cd /usr/lib && ln -s libncurses.a libcurses.a