# Ncurses-&ncurses-version;

## Installation of Ncurses

The following patch fixes an issue with some Bash versions:

    patch -Np1 -i ../&ncurses-bashfix-patch;

    ./configure --prefix=/tools --with-shared \
        --build=${CLFS_HOST} --host=${CLFS_TARGET} \
        --without-debug --without-ada \
        --enable-overwrite --with-build-cc=gcc

## The meaning of the new configure options:

`--with-shared`

- This tells Ncurses to create a shared library.

`--without-debug`

- This tells Ncurses not to build with debug information.

`--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 when building the final system.

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

`--with-build-cc=gcc`

- This tells Ncurses what type of compiler we are using.

Details on this package are located in contents-ncurses