lfs/chapter06/ncurses-inst.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 &amp;&amp;
./configure --prefix=/usr --libdir=/lib \
&nbsp;&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
mv /lib/*.a /usr/lib &amp;&amp;
chmod 755 /lib/*.5.2 &amp;&amp;
ln -sf libncurses.a /usr/lib/libcurses.a &amp;&amp;
ln -sf ../../lib/libncurses.so /usr/lib &amp;&amp;
ln -sf ../../lib/libcurses.so /usr/lib &amp;&amp;
ln -sf ../../lib/libform.so /usr/lib &amp;&amp;
ln -sf ../../lib/libpanel.so /usr/lib &amp;&amp;
ln -sf ../../lib/libmenu.so /usr/lib</userinput></screen></para>
</sect2>