mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 14:07:39 +00:00
eba5bc10b8
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1035 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
22 lines
958 B
XML
22 lines
958 B
XML
<sect2>
|
|
<title>Installation of Ncurses</title>
|
|
|
|
<para>Install Ncurses by running the following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \</userinput>
|
|
<userinput> --with-shared --disable-termcap &&</userinput>
|
|
<userinput>make &&</userinput>
|
|
<userinput>make install &&</userinput>
|
|
<userinput>cd /lib &&</userinput>
|
|
<userinput>mv *.a /usr/lib &&</userinput>
|
|
<userinput>chmod 755 *.5.2 &&</userinput>
|
|
<userinput>cd /usr/lib &&</userinput>
|
|
<userinput>ln -sf libncurses.a libcurses.a &&</userinput>
|
|
<userinput>ln -sf ../../lib/libncurses.so &&</userinput>
|
|
<userinput>ln -sf ../../lib/libcurses.so &&</userinput>
|
|
<userinput>ln -sf ../../lib/libform.so &&</userinput>
|
|
<userinput>ln -sf ../../lib/libpanel.so &&</userinput>
|
|
<userinput>ln -sf ../../lib/libmenu.so &&</userinput></screen></para>
|
|
</sect2>
|
|
|