10.17. Ncurses-5.5 32 Bit 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 ${BUILD32}" CXX="g++ ${BUILD32}" \
   ./configure --prefix=/usr --libdir=/lib \
   --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 /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib

Create symlinks in /usr/lib:

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

Give the Ncurses libraries execute permissions:

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

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