From 069c0ecc1ae0422f98f907c3c7f8fe7e49bd9f1f Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 8 Jun 2020 07:49:58 +0000 Subject: Remove unneeded files in chapter 5 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11900 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/ncurses.xml | 157 -------------------------------------------------- 1 file changed, 157 deletions(-) delete mode 100644 chapter05/ncurses.xml (limited to 'chapter05/ncurses.xml') diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml deleted file mode 100644 index e2455eb7a..000000000 --- a/chapter05/ncurses.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - %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, ensure that gawk is found first during configuration: - -sed -i s/mawk// configure - - Then, run the following commands to build the tic - program on the build host: - -mkdir build -cd build -../configure -make -C include -make -C progs tic -cd .. - - Prepare Ncurses for compilation: - -./configure --prefix=/usr \ - --host=$LFS_TGT \ - --build=$(./config.guess) \ - --mandir=/usr/share/man \ - --with-shared \ - --without-debug \ - --without-ada \ - --without-normal \ - --enable-widec \ - --enable-pc-files - - - The meaning of the new 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-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. - - - - - --enable-pc-files - - This switch generates and installs .pc files for pkg-config. - - - - - - --without-normal - - This switch disables building and installing most static libraries. - - - - - - - Compile the package: - -make - - Install the package: - -make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install -ln -s libncursesw.so $LFS/usr/lib/libncurses.so - - Move the shared libraries to the - /lib directory, where they are - expected to reside: - -mv -v $LFS/usr/lib/libncursesw.so.6* $LFS/lib - - Because the libraries have been moved, one symlink points to - a non-existent file. Recreate it: - -ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so - - - - - - - - <para>Details on this package are located in - <xref linkend="contents-ncurses" role="."/></para> - - </sect2> - -</sect1> -- cgit v1.2.3-54-g00ecf