aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/ncurses-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/ncurses-inst.xml')
-rw-r--r--chapter05/ncurses-inst.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml
index 7b030edcf..938be653f 100644
--- a/chapter05/ncurses-inst.xml
+++ b/chapter05/ncurses-inst.xml
@@ -15,7 +15,7 @@ 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>
+&nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada --enable-overwrite</userinput></screen></para>
<para>The meaning of the configure options:</para>
@@ -24,7 +24,12 @@ deprecated headers.</para>
to build its Ada bindings, even if an Ada compiler is installed on the host.
This must be done because once we enter the chroot environment, Ada will no
longer be available.</para></listitem>
-</itemizedlist>
+
+<listitem><para><userinput>--enable-overwrite</userinput>: This tells Ncurses
+to install its header files into <filename class="directory">/tools/include</filename>
+instead of <filename class="directory">/tools/include/ncurses</filename> to
+ensure that other packages can find the Ncurses headers successfully.</para>
+</listitem></itemizedlist>
<para>Compile the programs and libraries:</para>