From db9d773c6e39372c09613573d66473172d4f353f Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 28 Feb 2004 11:26:41 +0000 Subject: Forgetfulness makes the most traffic... git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3271 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chapter06.xml | 11 +++++++---- chapter06/ncurses.xml | 5 ++--- chapter06/vim.xml | 6 +++--- chapter06/zlib.xml | 17 +++++++---------- 4 files changed, 19 insertions(+), 20 deletions(-) (limited to 'chapter06') diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 0df77c71e..6bb1b5bf4 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -573,10 +573,13 @@ the current situation. If you are going to perform the stripping, special care is needed to ensure you're not running any of the binaries that are about to be stripped. If you're not sure whether you entered chroot with the command given in -, then now exit from chroot and reenter it -with the following commands: +, then first exit from chroot: -logout; chroot $LFS /tools/bin/env -i \ +logout + +Then reenter it with: + +chroot $LFS /tools/bin/env -i \     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \     PATH=/bin:/usr/bin:/sbin:/usr/sbin \     /tools/bin/bash --login @@ -616,7 +619,7 @@ class="directory">/tools are no longer needed, you may want to delete the whole directory and regain the space. Before actually deleting the directory, exit from chroot and reenter it with the above command. Also, before removing /tools, you may want to tar it -up and store it in a safe place, in case you want build another LFS system +up and store it in a safe place, in case you want to build another LFS system soon. Removing /tools will also diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 82a9c23ba..700d81b9e 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -41,9 +41,8 @@ where they're expected to reside: mv /usr/lib/libncurses.so.5* /lib -Since the libraries have been moved to -/lib, a few symlinks are currently pointing -towards non-existing files. Recreate those symlinks: +Now the libraries have been moved, a few symlinks are pointing to +non-existent files. Recreate those symlinks: ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so ln -sf libncurses.so /usr/lib/libcurses.so diff --git a/chapter06/vim.xml b/chapter06/vim.xml index fd23e5ef3..272b1f4cf 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -25,7 +25,7 @@ suggested installation instructions. Installation of Vim First change the default locations of the vimrc and -gvimrc files to gvimrc configuration files to /etc. echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h @@ -42,8 +42,8 @@ echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h< To have the results tested, you can issue: make check. However, this test suite outputs a lot of seemingly garbage characters to the screen, and this can wreak havoc with the -settings of the current terminal. Accordingly, the running of the test suite -here is strictly optional. +settings of the current terminal. Therefore the running of the test suite here +is strictly optional. And install the package: diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 23a4efb9e..798f3cb1f 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -33,8 +33,6 @@ afterwards. To have the results tested, issue: make check. -make check - Install the shared library: make install @@ -44,7 +42,7 @@ afterwards. ./configure --prefix=/usr make -To have the results tested, issue: +To have the results tested again, issue: make check. Install the static library: @@ -58,21 +56,20 @@ make It is good policy and common practice to place important libraries into the /lib directory. This matters most in scenarios where /usr is on a -separate partition. Essentially, the run-time components of any libraries -depended upon by programs in /bin or +separate partition. Essentially, the run-time components of any libraries that +are used by programs in /bin or /sbin should reside in /lib so that they are on the root partition and available in the event of /usr being inaccessible. -Therefore we move the run-time components of the shared Zlib into -/lib by issuing the following -command: +For the above reason we move the run-time components of the shared Zlib +into /lib: mv /usr/lib/libz.so.* /lib -Now we need to fix up the /usr/lib/libz.so symlink -because we just moved the location of the file it points to: +Now we need to fix the /usr/lib/libz.so symlink +because we just moved the file it points to: ln -sf ../../lib/libz.so.1 /usr/lib/libz.so -- cgit v1.2.3-54-g00ecf