From df8334f9247ba4aca231fab539c83a0a986236ee Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Tue, 18 May 2004 20:38:03 +0000 Subject: HEAD: Retaged the command explanations in Chapter 6. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3646 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/e2fsprogs.xml | 14 ++++++++++---- chapter06/glibc.xml | 9 ++++++--- chapter06/inetutils.xml | 24 ++++++++++++++++++------ chapter06/less.xml | 12 +++++++----- chapter06/man.xml | 9 ++++++--- chapter06/mktemp.xml | 14 ++++++++------ chapter06/perl.xml | 12 +++++++----- chapter06/psmisc.xml | 9 ++++++--- chapter06/shadow.xml | 4 ++-- chapter06/sysklogd.xml | 2 +- chapter06/sysvinit.xml | 2 +- chapter06/texinfo.xml | 9 ++++++--- chapter06/util-linux.xml | 16 +++++++++++----- chapter06/vim.xml | 6 +++--- 14 files changed, 92 insertions(+), 50 deletions(-) (limited to 'chapter06') diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index ba4201881..b67fe6976 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -36,8 +36,10 @@ Diffutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed, TexinfoThe meaning of the configure options: - ---with-root-prefix="": Certain + + +--with-root-prefix="" +Certain programs (such as the e2fsck program) are considered essential programs. When, for example, /usr isn't mounted, these essential programs have to be available. They belong in @@ -46,10 +48,14 @@ directories like /lib and to E2fsprogs's configure, the programs are placed in the /usr directory, which is not what we want. + ---enable-elf-shlibs: This creates + +--enable-elf-shlibs +This creates the shared libraries which some programs in this package use. - + + Compile the package: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index f3b7d108f..40bc3b3a9 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -55,14 +55,17 @@ cd ../glibc-build The meaning of the new configure options: - ---libexecdir=/tmp/pt_chown: This changes + + +--libexecdir=/tmp/pt_chown +This changes the location of the pt_chown program from its default of /usr/libexec to /tmp/pt_chown. This program isn't required on modern systems, so we install it in a place from which we will delete it later. - + + Compile the package: diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml index 12aeebdf5..96604857b 100644 --- a/chapter06/inetutils.xml +++ b/chapter06/inetutils.xml @@ -48,28 +48,40 @@ pages anyway. The following patch will correct this situation: The meaning of the configure options: - ---disable-logger: This option + + +--disable-logger +This option prevents Inetutils from installing the logger program, which is used by scripts to pass messages to the System Log Daemon. We do not install it because Util-linux installs a better version later. + ---disable-syslogd: This option + +--disable-syslogd +This option prevents Inetutils from installing the System Log Daemon, which is installed with the Sysklogd package. + ---disable-whois: This option disables + +--disable-whois +This option disables the building of the Inetutils whois client, which is woefully out of date. Instructions for a better whois client are in the BLFS book. + ---disable-servers: This disables the + +--disable-servers +This disables the installation of the various network servers included as part of the Inetutils package. These servers are deemed not appropriate in a basic LFS system. Some are insecure by nature and are only considered safe on trusted networks. More information can be found at . Note that better replacements are available for many of these servers. - + + Compile the package: diff --git a/chapter06/less.xml b/chapter06/less.xml index 1aa67392d..d1f95e419 100644 --- a/chapter06/less.xml +++ b/chapter06/less.xml @@ -34,11 +34,13 @@ GCC, Glibc, Grep, Make, Ncurses, Sed The meaning of the configure option: - ---sysconfdir=/etc: This option tells the -programs created by the package to look in /etc for their -configuration files. - + + +--sysconfdir=/etc +This option tells the programs created by the package to look in +/etc for their configuration files. + + Compile the package: diff --git a/chapter06/man.xml b/chapter06/man.xml index 6a95b0702..babe2acdf 100644 --- a/chapter06/man.xml +++ b/chapter06/man.xml @@ -54,11 +54,14 @@ redundant results when using programs such as whatis: The meaning of the configure options: - --confdir=/etc: This tells the + + +-confdir=/etc +This tells the man program to look for the man.conf configuration file in the /etc directory. - + + Compile the package: diff --git a/chapter06/mktemp.xml b/chapter06/mktemp.xml index 689ae992a..28f6153b5 100644 --- a/chapter06/mktemp.xml +++ b/chapter06/mktemp.xml @@ -38,12 +38,14 @@ Patch mktemp to include a tempfile wrapper: The meaning of the configure option: - ---with-libc: This causes the -mktemp program to use the mkstemp -and mkdtemp functions from the system C -library. - + + +--with-libc +This causes the mktemp program to +use the mkstemp and mkdtemp +functions from the system C library. + + Compile the package: diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 2008d4959..1a303f907 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -37,11 +37,13 @@ defaults it auto-detects, then prepare Perl for compilation with: The meaning of the configure option: - --Dpager="/bin/less -isR": This corrects -an error in the perldoc code with the invocation of the less -program. - + + +-Dpager="/bin/less -isR" +This corrects an error in the perldoc code with the invocation +of the less program. + + Compile the package: diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml index 99fce8c68..0e3383fa2 100644 --- a/chapter06/psmisc.xml +++ b/chapter06/psmisc.xml @@ -35,13 +35,16 @@ GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed The meaning of the configure option: - ---exec-prefix="": This causes the + + +--exec-prefix="" +This causes the binaries to be installed in /bin instead of /usr/bin. As the Psmisc programs are often used in bootscripts, they should be available also when the /usr file system isn't mounted. - + + Compile the package: diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 04f988a99..525affe6d 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -100,7 +100,7 @@ installed by Shadow: -Configuring Shadow +Configuring Shadow Shadow configuring @@ -130,7 +130,7 @@ any group passwords with the gpasswd command. - + Setting the root password Choose a password for user root and set it via: diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml index c1a10c5bf..851a28808 100644 --- a/chapter06/sysklogd.xml +++ b/chapter06/sysklogd.xml @@ -50,7 +50,7 @@ Fix this bug by applying another patch: -Configuring Sysklogd +Configuring Sysklogd Sysklogd configuring diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 31095948d..842396db7 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -51,7 +51,7 @@ sed 's/Sending processes/& started by init/g' \ -Configuring Sysvinit +Configuring Sysvinit Sysvinit configuring diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml index 524423ad0..a19c0351b 100644 --- a/chapter06/texinfo.xml +++ b/chapter06/texinfo.xml @@ -50,11 +50,14 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed The meaning of the make parameter: - -TEXMF=/usr/share/texmf: The TEXMF + + +TEXMF=/usr/share/texmf +The TEXMF makefile variable holds the location of the root of your TeX tree if, for example, you plan to install a TeX package later on. - + + The Info documentation system uses a plain text file to hold its list of menu entries. The file is located at /usr/share/info/dir. diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index a1b81dc92..7ab4b6374 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -42,7 +42,7 @@ mkdir -p /var/lib/hwclock - + Installation of Util-linux Util-linux has issues with the Linux 2.6 kernel series - fix these isues @@ -60,16 +60,22 @@ by applying the following patch: The meaning of the make parameters: - -HAVE_KILL=yes: This prevents the + + +HAVE_KILL=yes +This prevents the kill program (already installed by Procps) from being built and installed again. + -HAVE_SLN=yes: This prevents the + +HAVE_SLN=yes +This prevents the sln program (a statically linked ln already installed by Glibc) from being built and installed again. - + + Now install the package: diff --git a/chapter06/vim.xml b/chapter06/vim.xml index a47d9d456..5787a793d 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -23,13 +23,13 @@ Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed - - + Alternatives to Vim If you prefer another editor -- like Emacs, Joe, or Nano -- to Vim, have a look at for suggested installation instructions. + @@ -79,7 +79,7 @@ installed. For more information read the Vim documentation. -Configuring Vim +Configuring Vim /etc/vim By default, vim runs in vi-incompatible mode. Some -- cgit v1.2.3-54-g00ecf