%general-entities; ]> ncurses &ncurses-version;
&ncurses-url;
Ncurses-&ncurses-version; Ncurses tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&ncurses-ch5-sbu;</seg> <seg>&ncurses-ch5-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Ncurses First, apply a patch to prevent a build failure when building with GCC 5: patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch; Prepare Ncurses for compilation: ./configure --prefix=/tools \ --with-shared \ --without-debug \ --without-ada \ --enable-widec \ --enable-overwrite The meaning of the configure options: --without-ada This ensures that Ncurses does not build support for the Ada compiler which may be present on the host but will not be available once we enter the chroot environment. --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. --enable-widec This switch causes wide-character libraries (e.g., libncursesw.so.&ncurses-version;) to be built instead of normal ones (e.g., libncurses.so.&ncurses-version;). These wide-character libraries are usable in both multibyte and traditional 8-bit locales, while normal libraries work properly only in 8-bit locales. Wide-character and normal libraries are source-compatible, but not binary-compatible. Compile the package: make This package has a test suite, but it can only be run after the package has been installed. The tests reside in the test/ directory. See the README file in that directory for further details. Install the package: make install <para>Details on this package are located in <xref linkend="contents-ncurses" role="."/></para> </sect2> </sect1>