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