diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-05 17:47:33 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-05 17:47:33 +0000 |
commit | 5cce404acfca10c9851dbc13e7c58c864f6852dd (patch) | |
tree | 67a41dc17ef4d9e4b0ed8a498fbd93a0404a7248 /chapter05/bash-inst.xml | |
parent | a558d676f3b3b5f33b3809efd89a9da70773d1c9 (diff) |
added notes to install ncurses properly on host distro (it's required
for texinfo to be compiled properly). Added --with-curses to bash's
configure again like previously done. This now functions as a test to
make sure the libraries are setup properly (ie; that symlink created and
such)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1181 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r-- | chapter05/bash-inst.xml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index 9dcd2775c..032d09ddc 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -1,10 +1,25 @@ <sect2> <title>Installation of Bash</title> -<para>Install Bash by running the following commands:</para> +<para>Before you attempt to install Bash, you have to check to make sure +your distribution has the <filename>/usr/lib/libcurses.a</filename> and +<filename>/usr/lib/libncurses.a</filename> files. If both of the files +are missing, you have to install the ncurses development package. This +package is often call something like <emphasis>ncurses-dev</emphasis>.</para> + +<para>If this package is already installed, or you just did it, check +for the two files again. Often the <filename>libcurses.a</filename> file +is (still) missing. If so, then create <filename>libcurses.a</filename> +as a symlink by running the following commands:</para> + +<para><screen><userinput>cd /usr/lib &&</userinput> +<userinput>ln -s libncurses.a libcurses.a</userinput></screen></para> + +<para>Now we can continue. Install Bash by running the following +commands:</para> <para><screen><userinput>./configure --enable-static-link --prefix=$LFS/usr \</userinput> -<userinput> --bindir=$LFS/bin &&</userinput> +<userinput> --bindir=$LFS/bin --with-curses &&</userinput> <userinput>make &&</userinput> <userinput>make install &&</userinput> <userinput>cd $LFS/bin &&</userinput> |