aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-25 18:08:36 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-25 18:08:36 +0000
commit7a160765712bda1fd696d3526361b2dee1de7832 (patch)
treed6532237785332ad504d2da9791db535e2bceaf2
parent76a3d6d07c276debd9d4eb66c697ae4c097fd2d8 (diff)
[Bug 126]: ncurses explanation updated
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1031 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/ncurses-exp.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml
index 4a988d279..a539783dc 100644
--- a/chapter06/ncurses-exp.xml
+++ b/chapter06/ncurses-exp.xml
@@ -7,5 +7,18 @@ shared ncurses library files.</para>
<para><userinput>--disable-termcap:</userinput> Disabled the compilation of
termcap fall back support.</para>
+<para><userinput>cd /lib &amp;&amp; mv *.a /usr/lib :</userinput> This
+moves all of the static ncurses library files from /lib to /usr/lib.
+/lib should only contain the shared files which are essential to the
+system when /usr may not be mounted.</para>
+
+<para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should be
+executable. Ncurses install routine doesn't set the permissions
+properly so we do it manaully instead.</para>
+
+<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
+programs try to link using -lcurses instead of -lncurses. This symlink
+ensures that they will install correctly.</para>
+
</sect2>