5.10. Ncurses-5.6

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

5.10.1. Installation of Ncurses

Prepare Ncurses for compilation:

./configure --prefix=/tools --with-shared \
    --without-debug --without-ada --enable-overwrite

The meaning of the configure options:

--without-debug

This configure option tells Ncurses not to build special debugging versions of the libraries, such as libncurses_g.a.

--without-ada

This ensures that Ncurses does not build support for the Ada compiler which may be present on the host but will not be available once we enter the chroot environment.

--enable-overwrite

This tells Ncurses to install its header files into /tools/include, instead of /tools/include/ncurses, to ensure that other packages can find the Ncurses headers successfully.

Compile the package:

make

Install the package:

make install

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