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.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml
new file mode 100644
index 000000000..5409398ae
--- /dev/null
+++ b/chapter05/ncurses-inst.xml
@@ -0,0 +1,16 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of Ncurses</title>
+
+<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 &&
+ln -s libncurses.a /stage1/lib/libcurses.a
+ln -sf /stage1/lib/libncurses.so.5 /stage1/lib/libcurses.so</userinput></screen></para>
+
+</sect2>
+