2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Ncurses</title>
|
|
|
|
|
2003-08-15 23:38:17 +01:00
|
|
|
<para>Fix two minor things:</para>
|
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
|
2003-08-15 23:38:17 +01:00
|
|
|
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>
|
|
|
|
|
2003-09-02 23:03:51 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=/tools --with-shared \
|
2003-08-15 23:38:17 +01:00
|
|
|
--without-debug --without-ada</userinput></screen></para>
|
|
|
|
|
2003-09-13 00:48:24 +01:00
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>--without-ada</userinput>: This tells ncurses not
|
|
|
|
to build it's Ada bindings, even if an Ada compiler is installed on the host.
|
|
|
|
This must be done because once we enter the chroot, Ada will no longer be
|
|
|
|
available.</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2003-08-15 23:38:17 +01:00
|
|
|
<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>
|
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect2>
|
|
|
|
|