diff options
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r-- | chapter06/ncurses-inst.xml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index 9329fc1dd..26b9cb05c 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -4,18 +4,16 @@ <para>Install Ncurses by running the following commands:</para> <para><screen><userinput>./configure --prefix=/usr --libdir=/lib \ - --with-shared --disable-termcap && + --with-shared --disable-termcap && make && make install && -cd /lib && -mv *.a /usr/lib && -chmod 755 *.5.2 && -cd /usr/lib && -ln -sf libncurses.a libcurses.a && -ln -sf ../../lib/libncurses.so && -ln -sf ../../lib/libcurses.so && -ln -sf ../../lib/libform.so && -ln -sf ../../lib/libpanel.so && -ln -sf ../../lib/libmenu.so</userinput></screen></para> +mv /lib/*.a /usr/lib && +chmod 755 /lib/*.5.2 && +ln -sf libncurses.a /usr/lib/libcurses.a && +ln -sf ../../lib/libncurses.so /usr/lib && +ln -sf ../../lib/libcurses.so /usr/lib && +ln -sf ../../lib/libform.so /usr/lib && +ln -sf ../../lib/libpanel.so /usr/lib && +ln -sf ../../lib/libmenu.so /usr/lib</userinput></screen></para> </sect2> |