diff options
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r-- | chapter05/bash-inst.xml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index a436f5831..5380dbb3b 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -2,23 +2,9 @@ <title>Installation of Bash</title> <para> -Install Bash by running the following commands: -</para> - -<blockquote><literallayout> - <userinput>./configure --enable-static-link --prefix=$LFS/usr \</userinput> - <userinput> --bindir=$LFS/bin - --with-curses &&</userinput> - <userinput>make &&</userinput> - <userinput>make install &&</userinput> - <userinput>cd $LFS/bin &&</userinput> - <userinput>ln -s bash sh</userinput> -</literallayout></blockquote> - -<para> -If you get errors when compiling bash that tell about not being able to -find <quote>-lcurses</quote>, these two commands should be run to create the -missing symlink: +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: </para> <para> @@ -33,6 +19,20 @@ first and adjust the path in the following commands accordingly: </literallayout></blockquote> <para> +Install Bash by running the following commands: +</para> + +<blockquote><literallayout> + <userinput>./configure --enable-static-link --prefix=$LFS/usr \</userinput> + <userinput> --bindir=$LFS/bin + --with-curses &&</userinput> + <userinput>make &&</userinput> + <userinput>make install &&</userinput> + <userinput>cd $LFS/bin &&</userinput> + <userinput>ln -s bash sh</userinput> +</literallayout></blockquote> + +<para> If the make install phase ends with something along the lines of </para> |