|
@@ -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>
|
|
@@ -32,6 +18,20 @@ first and adjust the path in the following commands accordingly:
|
|
|
<userinput>ln -s libncurses.a libcurses.a</userinput>
|
|
|
</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>
|