From 4114088e9172bd8b42391803b67a7e8ff24b4cac Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sun, 31 Aug 2003 21:52:02 +0000 Subject: Adding more missing markup, and rewording a few paragraphs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2710 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils-inst.xml | 6 +++--- chapter06/flex-inst.xml | 13 ++++++------- chapter06/kbd-inst.xml | 8 ++++---- chapter06/man-inst.xml | 21 +++++++++++---------- chapter06/perl-inst.xml | 6 +++--- chapter06/procps-inst.xml | 8 +++----- chapter06/psmisc-inst.xml | 25 +++++++++++++------------ chapter06/revisedchroot.xml | 2 +- 8 files changed, 44 insertions(+), 45 deletions(-) diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml index cd97b33b0..f84b48c43 100644 --- a/chapter06/coreutils-inst.xml +++ b/chapter06/coreutils-inst.xml @@ -3,9 +3,9 @@ Installation of Coreutils -Normally the functionality of uname is somewhat broken, in that -the -p switch always returns "unknown". This patch fixes that behaviour -for Intel architectures: +Normally the functionality of uname is somewhat +broken, in that the -p switch always returns "unknown". +The following patch fixes this behaviour for Intel architectures: patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml index 7d9952306..6e908ad35 100644 --- a/chapter06/flex-inst.xml +++ b/chapter06/flex-inst.xml @@ -19,16 +19,15 @@ make install -There are packages which expect to find the lex library -in the /usr/lib directory. Create a symlink -to account for this: +There are some packages that expect to find the Lex library in +/usr/lib. Create a symlink to account for this: ln -s libfl.a /usr/lib/libl.a -Some programs don't know about flex and try to find the lex -program (flex is a (better) alternative for lex). To please those -programs, create a shell script named lex which calls flex in -emulation mode: +A few programs don't know about flex yet and try +to run its predecessor lex. To support those programs, +create a shell script named lex that calls +flex in Lex emulation mode: cat > /usr/bin/lex << "EOF" #!/bin/sh diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml index c278ce3fa..80ad275d6 100644 --- a/chapter06/kbd-inst.xml +++ b/chapter06/kbd-inst.xml @@ -3,13 +3,13 @@ Installation of Kbd -Kbd doesn't install some of its utilities (setlogcons, setvesablank -and getunimap) by default. The kbd patch enables the compilation of these -utilities. Apply the patch: +By default some of Kbd's utilities (setlogcons, +setvesablank and getunimap) are +not installed . The patch enables the compilation of these utilities: patch -Np1 -i ../kbd-&kbd-patch-version;.patch -Prepare Kbd for compilation: +Now prepare Kbd for compilation: ./configure diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml index 075318032..5862f110c 100644 --- a/chapter06/man-inst.xml +++ b/chapter06/man-inst.xml @@ -3,10 +3,11 @@ Installation of Man -There are three patches for Man. The first patch comments out one of the -lines in the man.conf file (MANPATH /usr/man) to -prevent redundant results when using programs such as -whatis: +We'l make three adjustments to the sources of Man. + + The first patch comments out the "MANPATH /usr/man" line in the + man.conf file to prevent redundant results when using + programs such as whatis: patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch @@ -16,17 +17,17 @@ handled properly: patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch -The last patch prevents problem when man pages not formatted -with more than 80 columns are used in conjunction with recent releases -of groff: +The third and last patch prevents a problem when man pages not formatted +with more than 80 columns are used in conjunction with recent releases of +groff: patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch -The paths to some programs are written into man's files. -Unfortunately, the configure script picks the last location in PATH +The paths to some programs are hard-wired into Man's executables. +Unfortunately, the configuration script picks the last location in PATH rather than the first place a program is found. By appending /usr/bin:/bin to PATH for the -./configure command, we ensure that man doesn't +./configure command, we ensure that Man doesn't use the programs in the /stage1 directory. diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index c286142a8..5d90fdc99 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -7,10 +7,10 @@ ./configure.gnu --prefix=/usr -If you want more control over the way perl sets itself up to be +If you want more control over the way Perl sets itself up to be built, you can run the interactive Configure script -instead and modify the way perl is built. If you think you can live with the -(sensible) defaults perl auto-detects, then just use the command listed +instead and modify the way Perl is built. If you think you can live with the +(sensible) defaults Perl auto-detects, then just use the command listed above. Compile the package: diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml index 1dfdb8aa6..508b5ad42 100644 --- a/chapter06/procps-inst.xml +++ b/chapter06/procps-inst.xml @@ -3,14 +3,12 @@ Installation of Procps -This package requires its patch to be applied before you can -install it. This patch fixes a locale problem that makes -w crash under certain locale settings. Apply -the patch: +First fix a locale problem that can crash w under +certain locale settings: patch -Np1 -i ../procps-&procps-patch-version;.patch -Compile Procps: +Now compile Procps: make diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index 4afb3a845..d6fcb9648 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -7,11 +7,15 @@ ./configure --prefix=/usr --exec-prefix=/ -The --exec-prefix=/ flag will cause the -programs to be installed in /bin rather than in /usr/bin. The programs -in this package are often used in bootscripts; they should be in the /bin -directory so they can be used in the event that the /usr partition isn't mounted. +The meaning of the new configure option: + + +--exec-prefix=/: This causes the +binaries to be installed in /bin and not in +/usr/bin. As the Psmisc programs are often used in +bootscripts, they should be available also when the /usr +filesystem isn't mounted. + Compile the package: @@ -21,14 +25,11 @@ class="directory">/usr partition isn't mounted. make install -Psmisc's pidof program isn't installed by default. +By default Psmisc's pidof program isn't installed. Generally, this isn't a problem because we later install the Sysvinit package, -which provides a better pidof program. - -It's up to you to decide if you are going to use the Sysvinit package, -which provides a pidof program, or not. If you're not -going to use Sysvinit, you should complete this package's installation by -creating the /bin/pidof symlink: +which provides a better pidof program. But if you're not +going to use Sysvinit, you should complete the installation of Psmisc by +creating the following symlink: ln -s killall /bin/pidof diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml index 09899428c..61294adb3 100644 --- a/chapter06/revisedchroot.xml +++ b/chapter06/revisedchroot.xml @@ -5,7 +5,7 @@ From now on when you exit the chroot environment and wish to re-enter it, you need to run the following modified chroot command. The one at the beginning of this chapter might not work anymore (if your host distribution -was based on glibc-2.2.x or older, the programs in /stage1/bin, such as bash, will not work anymore). The following chroot command will work regardless of your host distribution's Glibc version. -- cgit v1.2.3-54-g00ecf