Related Stuff

5.26. Installing Ncurses-5.3

Estimated build time:           0.7 SBU
Estimated required disk space:  26 MB

5.26.1. Contents of Ncurses

The Ncurses package provides character and terminal handling libraries, including panels and menus.

Installed programs: captoinfo (link to tic), clear, infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput and tset

Installed libraries: libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a, libncurses.[a,so], libpanel.[a,so]

5.26.2.

5.26.3. Ncurses Installation Dependencies

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

5.26.4.

5.26.5. Installation of Ncurses

Fix two minor things:

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

The first patch corrects the etip.h header file, and the second patch prevents some compiler warnings being issued on the use of deprecated headers.

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





....................................................................................................................................
About ~ Privacy Statement ~ Terms of Use ~ ~ All Linux-Documentation.com

Additional Reading