5.16. Ncurses-5.7 - Native

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

5.16.1. Installation of Ncurses

This patch fixes an issue with some Bash versions:

patch -Np1 -i ../ncurses-5.7-bash_fix-1.patch

Prepare Ncurses for compilation:

./configure --prefix=${CLFS}/cross-tools \
    --without-debug --without-shared

Only one binary is needed for the Cross-Tools. Build the headers and then build tic:

make -C include
make -C progs tic

Install tic with the following command:

install -m755 progs/tic ${CLFS}/cross-tools/bin

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