Linux From Scratch: Version 5.1-pre1
Prev | Chapter 5. Constructing a temporary system | Next

# Installing Ncurses-5.3

    Approximate build time:  0.7 SBU
    Required disk space:     26 MB

Official download location for Ncurses (5.3):
ftp://ftp.gnu.org/gnu/ncurses/
And for the Ncurses Etip Patch:
http://www.linuxfromscratch.org/patches/lfs/cvs/ncurses-5.3-etip-2.patch

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

##

## Installation of Ncurses

Fix a minor problem related to the `etip.h` header file:

    patch -Np1 -i ../ncurses-5.3-etip-2.patch

Now 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 must 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 programs and libraries:

    make

Then install them and their documentation:

    make install

##

The details on this package are found in the Section called Contents of Ncurses in Chapter 6.

Prev | Home | Next
Installing Gettext-0.14.1 | Up | Installing Patch-2.5.4