10.18.1. Installation of Ncurses
Prepare Ncurses for compilation:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr --libdir=/lib64 \
--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 /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64
Create symlinks in /usr/lib64:
rm -v /lib64/lib{ncurses,menu,panel,form,curses}.so
ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so
ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so
ln -svf ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so
ln -svf ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so
ln -svf ../../lib64/libform.so.5 /usr/lib64/libform.so
Give the Ncurses libraries execute permissions:
chmod -v 755 /lib64/lib{panel,menu,form,ncurses}.so.5.5