From fe039b5f7846615590c84b03ba8fe05be115e0bf Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 6 Jul 2020 20:47:01 +0000 Subject: Match ncurses chapter 6 to what is done in chapter 8, and add explanations git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11994 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter06/ncurses.xml | 28 ++++++++++++++++++++++++++-- general.ent | 6 +++--- 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1bcc2cada..c08d00ea0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2020-07-06 + + + [pierre] - Change chapter 6 ncurses so that it matches + what is done in chapter 8, and add explanations. + + + + 2020-07-04 diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 5c48b3619..36513603c 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -120,9 +120,33 @@ popd make Install the package: - + make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install -ln -s libncursesw.so $LFS/usr/lib/libncurses.so +echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so + + + The meaning of the install options: + + + TIC_PATH=$(pwd)/build/progs/tic + + We need to pass the path of the just built + tic able to run on the building machine, so that + the terminal database can be created without errors. + + + + + echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so + + The libncurses.so library is needed by + a few packages we will build soon. We create this small linker + script, as this is what is done in . + + + + Move the shared libraries to the /lib directory, where they are diff --git a/general.ent b/general.ent index f119819fa..362f9de7b 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + -- cgit v1.2.3-54-g00ecf