mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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:
parent
1cf7b9e8a9
commit
970f0b386f
@ -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 &&</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 &&</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>
|
||||
|
Loading…
Reference in New Issue
Block a user