diff options
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r-- | chapter06/ncurses-inst.xml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index d4a17128c..d6be4e396 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -1,19 +1,14 @@ <sect2> <title>Installation of Ncurses</title> -<para>This package requires its patch to be applied before you can -install it. Make sure it's unpacked before running the installation -commands.</para> - <para>Install Ncurses by running the following commands:</para> -<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-patch-version;.patch && -./configure --prefix=/usr --with-shared && +<para><screen><userinput>./configure --prefix=/usr --with-shared && make && make install && -chmod 755 /usr/lib/*.5.2 && +chmod 755 /usr/lib/*.&ncurses-version; && mv /usr/lib/libncurses.so.5* /lib && -ln -s libncurses.a /usr/lib/libcurses.a && +ln -sf libncurses.a /usr/lib/libcurses.a && ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so && ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para> </sect2> |