mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 19:32:03 +00:00
14ac074564
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2797 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<sect2><title> </title><para> </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 \
|
|
--without-debug --without-ada</userinput></screen></para>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|