From 69a8b2b7e4f6bee9e1067c17b1fb49182a049515 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 6 May 2020 12:59:54 +0000 Subject: Build tic on build host and use it to generate /usr/share/terminfo git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11836 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/ncurses.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'chapter05/ncurses.xml') diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml index 5c868fffd..e2455eb7a 100644 --- a/chapter05/ncurses.xml +++ b/chapter05/ncurses.xml @@ -47,6 +47,16 @@ 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 \ @@ -57,7 +67,6 @@ --without-debug \ --without-ada \ --without-normal \ - --disable-db-install \ --enable-widec \ --enable-pc-files @@ -102,16 +111,16 @@ - + Compile the package: @@ -120,8 +129,8 @@ Install the package: -make DESTDIR=$LFS install - ln -s libncursesw.so $LFS/usr/lib/libncurses.so +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 -- cgit v1.2.3-54-g00ecf