|
@@ -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 \
|
|
|
- --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 \
|
|
|
+ --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>
|
|
|
|