mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
3b3e965d29
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1947 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
25 lines
896 B
XML
25 lines
896 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 --libdir=/lib \
|
|
--with-shared --disable-termcap &&
|
|
make &&
|
|
make install &&
|
|
mv /lib/*.a /usr/lib &&
|
|
chmod 755 /lib/*.5.2 &&
|
|
ln -sf libncurses.a /usr/lib/libcurses.a &&
|
|
ln -sf ../../lib/libncurses.so /usr/lib &&
|
|
ln -sf ../../lib/libcurses.so /usr/lib &&
|
|
ln -sf ../../lib/libform.so /usr/lib &&
|
|
ln -sf ../../lib/libpanel.so /usr/lib &&
|
|
ln -sf ../../lib/libmenu.so /usr/lib</userinput></screen></para>
|
|
</sect2>
|
|
|