aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/ncurses-inst.xml
blob: 5409398ae7016a1882e9dd14b36b34e763672032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>