qLinux
… a distribution study
<< Prev Pkg-config
Next >> Sed
Reference: 8.28. Ncurses-6.2. Fix the build system:
patch -Np1 -i ncurses-6.1-qlnx-220204.patch
The build will (perhaps) fail near the end by linking the tests for an actual unknown reason1). As we don't want to run it we disable building the tests:
sed -i 's|all:.*$|all:"|1' test/mk-test.awk
./configure --prefix=/qlnx \ --includedir=/qlnx/inc \ --datarootdir=/qlnx/dat \ --mandir=/qlnx/man \ --with-shared \ --without-debug \ --without-normal \ --enable-pc-files \ --enable-widec
make make install
The next steps are similar to the book (beware the pkg-config dir is  /plng/lib/pkgconfig 
):
for lib in ncurses form panel menu ; do rm -vf /qlnx/lib/lib${lib}.so echo "INPUT(-l${lib}w)" > /qlnx/lib/lib${lib}.so ln -sfv ${lib}w.pc /plng/lib/pkgconfig/${lib}.pc done
rm -vf /qlnx/lib/libcursesw.so echo "INPUT(-lncursesw)" > /qlnx/lib/libcursesw.so ln -sfv libncurses.so /qlnx/lib/libcurses.so
<< Prev Pkg-config
        
Next >> Sed