<< Back to man.ChinaUnix.net

5.25. Ncurses-5.4

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

Approximate build time: 0.7 SBU

Required disk space: 26 MB

Ncurses installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, and Sed

5.25.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-ada

This tells Ncurses not to build its Ada bindings, even if an Ada compiler is installed on the host. This needs to be done because once we enter the chroot environment, Ada will no longer be available.

--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

This package does not come with a test suite.

Install the package:

make install

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