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
This commit is contained in:
Simon Perreault 2001-04-16 23:54:45 +00:00
parent 1cf7b9e8a9
commit 970f0b386f

View File

@ -1,6 +1,23 @@
<sect2>
<title>Installation of Bash</title>
<para>
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>
Note: Normally, the libncurses.a file resides in the /usr/lib directory
but it might reside in /lib (like it does on LFS systems). Check this
first and adjust the path in the following commands accordingly:
</para>
<blockquote><literallayout>
<userinput>cd /usr/lib &amp;&amp;</userinput>
<userinput>ln -s libncurses.a libcurses.a</userinput>
</literallayout></blockquote>
<para>
Install Bash by running the following commands:
</para>
@ -15,23 +32,6 @@ Install Bash by running the following commands:
<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:
</para>
<para>
Note: Normally, the libncurses.a file resides in the /usr/lib directory
but it might reside in /lib (like it does on LFS systems). Check this
first and adjust the path in the following commands accordingly:
</para>
<blockquote><literallayout>
<userinput>cd /usr/lib &amp;&amp;</userinput>
<userinput>ln -s libncurses.a libcurses.a</userinput>
</literallayout></blockquote>
<para>
If the make install phase ends with something along the lines of
</para>