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 @@ - + - + - +