The Ncurses package contains libraries for terminal-independent handling of character screens.
Download HTTP: https://mirror.csclub.uwaterloo.ca/gnu/ncurses/ncurses-6.6.tar.gz
Download SHA256 Sum: 355b4cbbed880b0381a04c46617b7656e362585d52e9cf84a67e2009b749ff11
Download Size: 3,702 KB
Estimated Disk Space: 38.7M
Estimated Build Time: less than 1.0 SBU
Binutils-2.46.0-pass1, GCC-15.2.0-pass1, Linux-7.0.3-headers, Glibc-2.43, and M4-1.4.21
Prepare Ncurses for compilation:
mkdir build pushd build ../configure --prefix=$LFS/tools AWK=gawk make -C include make -C progs tic install progs/tic $LFS/tools/bin popd
Now Configure the Package, issue:
./configure AWK=gawk --prefix=/usr \
--host=$LFS_TGT \
--build=$(./config.guess) \
--mandir=/usr/share/man \
--with-manpage-format=normal \
--with-shared \
--without-normal \
--with-cxx-shared \
--without-debug \
--without-ada \
--disable-stripping
To Compile the Package, issue:
make
Now Install the Package, issue:
make DESTDIR=$LFS install ln -sv libncursesw.so $LFS/usr/lib/libncurses.so sed -e 's/^#if.*XOPEN.*$/#if 1/' -i $LFS/usr/include/curses.h