1 <sect1 id="ch-tools-ncurses">
2 <title>Installing Ncurses-&ncurses-version;</title>
3 <?dbhtml filename="ncurses.html" dir="chapter05"?>
5 <screen>&buildtime; &ncurses-time-tools;
6 &diskspace; &ncurses-compsize-tools;</screen>
11 <sect2><title> </title><para> </para></sect2>
14 <title>Installation of Ncurses</title>
16 <para>Fix a minor problem related to the <filename>etip.h</filename> header
19 <screen><userinput>patch -Np1 -i ../&ncurses-etip-patch;</userinput></screen>
21 <para>Now prepare Ncurses for compilation:</para>
23 <screen><userinput>./configure --prefix=/tools --with-shared \
24 --without-debug --without-ada --enable-overwrite</userinput></screen>
26 <para>The meaning of the configure options:</para>
29 <listitem><para><userinput>--without-ada</userinput>: This tells Ncurses not
30 to build its Ada bindings, even if an Ada compiler is installed on the host.
31 This must be done because once we enter the chroot environment, Ada will no
32 longer be available.</para></listitem>
34 <listitem><para><userinput>--enable-overwrite</userinput>: This tells Ncurses
35 to install its header files into <filename class="directory">/tools/include</filename>
36 instead of <filename class="directory">/tools/include/ncurses</filename> to
37 ensure that other packages can find the Ncurses headers successfully.</para>
38 </listitem></itemizedlist>
40 <para>Compile the programs and libraries:</para>
42 <screen><userinput>make</userinput></screen>
44 <para>Then install them and their documentation:</para>
46 <screen><userinput>make install</userinput></screen>
50 <sect2><title> </title><para> </para>
51 <para>The details on this package are found in <xref linkend="contents-ncurses"/>.</para>
52 <para> </para></sect2>