lfs/chapter05/ncurses-inst.xml
Alex Gronenwoud 148bb04f80 Renaming /stage1 to /tools.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-09-02 22:03:51 +00:00

30 lines
938 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=/tools --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>