[3be4d97] | 1 | <sect1 id="ch-tools-ncurses">
|
---|
[bc82645e] | 2 | <title>Installing Ncurses-&ncurses-version;</title>
|
---|
| 3 | <?dbhtml filename="ncurses.html" dir="chapter05"?>
|
---|
| 4 |
|
---|
[69276a94] | 5 | <screen>&buildtime; &ncurses-time-tools;
|
---|
| 6 | &diskspace; &ncurses-compsize-tools;</screen>
|
---|
[bc82645e] | 7 |
|
---|
[5888299] | 8 | &aa-ncurses-down;
|
---|
[d0dfce4] | 9 | &aa-ncurses-dep;
|
---|
[73aedd1d] | 10 |
|
---|
| 11 | <sect2><title> </title><para> </para></sect2>
|
---|
| 12 |
|
---|
| 13 | <sect2>
|
---|
| 14 | <title>Installation of Ncurses</title>
|
---|
| 15 |
|
---|
[6eb73f0] | 16 | <para>Fix a minor problem related to the <filename>etip.h</filename> header
|
---|
| 17 | file:</para>
|
---|
[73aedd1d] | 18 |
|
---|
[6eb73f0] | 19 | <screen><userinput>patch -Np1 -i ../&ncurses-etip-patch;</userinput></screen>
|
---|
[73aedd1d] | 20 |
|
---|
[d27a27b] | 21 | <para>Now prepare Ncurses for compilation:</para>
|
---|
[73aedd1d] | 22 |
|
---|
| 23 | <screen><userinput>./configure --prefix=/tools --with-shared \
|
---|
| 24 | --without-debug --without-ada --enable-overwrite</userinput></screen>
|
---|
| 25 |
|
---|
| 26 | <para>The meaning of the configure options:</para>
|
---|
| 27 |
|
---|
| 28 | <itemizedlist>
|
---|
| 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>
|
---|
| 33 |
|
---|
| 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>
|
---|
| 39 |
|
---|
| 40 | <para>Compile the programs and libraries:</para>
|
---|
| 41 |
|
---|
[b3adaba] | 42 | <screen><userinput>make</userinput></screen>
|
---|
[73aedd1d] | 43 |
|
---|
| 44 | <para>Then install them and their documentation:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput>make install</userinput></screen>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
[bc82645e] | 49 |
|
---|
[5888299] | 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>
|
---|
| 53 |
|
---|
[bc82645e] | 54 | </sect1>
|
---|
| 55 |
|
---|