aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash-inst.xml
diff options
context:
space:
mode:
authorSimon Perreault <nomis80@videotron.ca>2001-04-16 23:54:45 +0000
committerSimon Perreault <nomis80@videotron.ca>2001-04-16 23:54:45 +0000
commit970f0b386fbc360b6d203cf7208ac17752354ba5 (patch)
treef4d3f7b0331373850cdc5e78c5749eaf6fb3d8cf /chapter05/bash-inst.xml
parent1cf7b9e8a9988169043904599e20d42c1e2e8439 (diff)
Put the libncurses.a thingie before we start installing bash.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@524 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r--chapter05/bash-inst.xml34
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>&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin
- --with-curses &amp;&amp;</userinput>
- <userinput>make &amp;&amp;</userinput>
- <userinput>make install &amp;&amp;</userinput>
- <userinput>cd $LFS/bin &amp;&amp;</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>&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin
+ --with-curses &amp;&amp;</userinput>
+ <userinput>make &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cd $LFS/bin &amp;&amp;</userinput>
+ <userinput>ln -s bash sh</userinput>
+</literallayout></blockquote>
+
+<para>
If the make install phase ends with something along the lines of
</para>