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.xml31
1 files changed, 25 insertions, 6 deletions
diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml
index 7418a7f3b..d7bcb1a66 100644
--- a/chapter05/ncurses-inst.xml
+++ b/chapter05/ncurses-inst.xml
@@ -3,12 +3,31 @@
<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
-./configure --prefix=/stage1 --with-shared --without-debug \
-&nbsp;&nbsp;&nbsp;&nbsp;--without-ada
-make
-make install
-chmod 755 /stage1/lib/*.5.3</userinput></screen></para>
+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=/stage1 --with-shared \
+&nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada</userinput></screen></para>
+
+<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>
+
+<para>And make some of the libraries executable:</para>
+
+<para><screen><userinput>chmod 755 /stage1/lib/*.5.3</userinput></screen></para>
+
</sect2>