Installation of Ncurses
Fix two minor things:
patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
patch -Np1 -i ../ncurses-&ncurses-version;-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 to be compiled:
./configure --prefix=/tools --with-shared \
--without-debug --without-ada
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.
Compile the programs and libraries:
make
Then install them and their documentation:
make install