mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-01 20:02:00 +00:00
8d8ab633a0
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
21 lines
741 B
XML
21 lines
741 B
XML
<sect2>
|
|
<title>Installation of Ncurses</title>
|
|
|
|
<para>This package requires its patch to be applied before you can
|
|
install it. Make sure it's unpacked before running the installation
|
|
commands.</para>
|
|
|
|
<para>Install Ncurses by running the following commands:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-patch-version;.patch &&
|
|
./configure --prefix=/usr --with-shared &&
|
|
make &&
|
|
make install &&
|
|
chmod 755 /usr/lib/*.5.2 &&
|
|
mv /usr/lib/libncurses.so.5* /lib &&
|
|
ln -s libncurses.a /usr/lib/libcurses.a &&
|
|
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &&
|
|
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
|
|
</sect2>
|
|
|