mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 14:07:39 +00:00
43f167cdab
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
21 lines
742 B
XML
21 lines
742 B
XML
<sect2>
|
|
<title>Installation of Ncurses</title>
|
|
|
|
<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>
|
|
|