MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« NCurses TIC HOME NCurses 32-bit »

NCurses 64-bit

Name: NCurses 64-bit
Summary: The Ncurses package contains libraries for terminal-independent handling of character screens - 64-bit build
License: MIT
Version: 6.5-20250823
URL: https://invisible-mirror.net/archives/ncurses/current/ncurses-6.5-20250823.tgz

Configuration

To configure NCurses 64-bit for install into our build root, run the following command:

./configure --prefix=/usr                \
            --host=$BRFS_TARGET          \
            --build=$BRFS_HOST           \
            --libdir=/usr/lib64          \
            --libexecdir=/usr/lib64      \
            --mandir=/usr/share/man      \
            --with-manpage-format=normal \
            --with-shared                \
            --without-normal             \
            --with-cxx-shared            \
            --without-debug              \
            --without-ada                \
            --disable-stripping          \
            AWK=gawk

Compilation and Installation

To compile NCurses 64-bit, run the following command:

make

Finally, to install NCurses 64-bit into the build root tree, run the following command:

make DESTDIR=${BRFS} TIC_PATH=${BRFS}/tools/bin/tic install
ln -sv libncursesw.so $BRFS/usr/lib64/libncurses.so
sed -e 's/^#if.*XOPEN.*$/#if 1/' -i $BRFS/usr/include/curses.h

More details about this package is covered later in the core system build.

Navigation    
« NCurses TIC HOME NCurses 32-bit »