10.17. Ncurses-5.5 N32 Libraries

The Ncurses package contains libraries for terminal-independent handling of character screens.

10.17.1. Installation of Ncurses

Prepare Ncurses for compilation:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
   ./configure --prefix=/usr --libdir=/lib32 \
   --with-shared --without-debug

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

Move the Ncurses static libraries to the proper location:

mv -v /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32

Create symlinks in /usr/lib32:

rm -v /lib32/lib{ncurses,menu,panel,form,curses}.so
ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so
ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libcurses.so
ln -svf ../../lib32/libmenu.so.5 /usr/lib32/libmenu.so
ln -svf ../../lib32/libpanel.so.5 /usr/lib32/libpanel.so
ln -svf ../../lib32/libform.so.5 /usr/lib32/libform.so

Give the Ncurses libraries execute permissions:

chmod 755 /lib32/lib{panel,menu,form,ncurses}.so.5.5

Details on this package are located in Section 10.18.2, “Contents of Ncurses.”