aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r--chapter06/ncurses-inst.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index f84e20a34..26cc70588 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -3,15 +3,21 @@
<sect2>
<title>Installation of Ncurses</title>
+<para>First fix two tiny bugs:</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>Prepare Ncurses to be compiled:</para>
+<para>The first patch corrects the <filename>etip.h</filename> header file, and
+the second patch prevents some compiler warnings on the use of deprecated
+headers.</para>
+
+<para>Now prepare Ncurses for compilation:</para>
<para><screen><userinput>./configure --prefix=/usr --with-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--without-debug</userinput></screen></para>
-<para>Continue with compiling the package:</para>
+<para>Compile the package:</para>
<para><screen><userinput>make</userinput></screen></para>
@@ -19,11 +25,11 @@ patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></p
<para><screen><userinput>make install</userinput></screen></para>
-<para>Give the ncurses libraries executable permission:</para>
+<para>Give the Ncurses libraries execute permissions:</para>
<para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para>
-<para>And fix up a library that shouldn't be executable at all:</para>
+<para>And fix a library that shouldn't be executable:</para>
<para><screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen></para>