lfs/chapter05/ncurses-inst.xml
2003-08-18 20:54:11 +00:00

30 lines
939 B
XML

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Ncurses</title>
<para>Fix two minor things:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
<para>The first patch corrects the <filename>etip.h</filename> header file, and
the second patch prevents some compiler warnings being issued on the use of
deprecated headers.</para>
<para>Now prepare Ncurses to be compiled:</para>
<para><screen><userinput>./configure --prefix=/stage1 --with-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada</userinput></screen></para>
<para>Compile the programs and libraries:</para>
<para><screen><userinput>make </userinput></screen></para>
<para>Then install them and their documentation:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>