diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b3b2e636b..903ef5637 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Changelog diff --git a/chapter01/how.xml b/chapter01/how.xml index a92a3fad7..3a8942dba 100644 --- a/chapter01/how.xml +++ b/chapter01/how.xml @@ -82,7 +82,7 @@ normal. To finish the installation, the basic system configuration is set up in - , and the kernel and boot loader are set + , and the kernel and boot loader are set up in . contains information on continuing the LFS experience beyond this book. After the steps in this book have been implemented, the computer will be diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index ebdd79c5c..4a722efe0 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Creating a File System on the Partition diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index a7facb496..c9daddcb5 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Creating a New Partition diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 1d8ee2a65..6fe087d9e 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Host System Requirements diff --git a/chapter02/introduction.xml b/chapter02/introduction.xml index 007bdad8b..8dad0ceb8 100644 --- a/chapter02/introduction.xml +++ b/chapter02/introduction.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Introduction diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 0a922327f..98a99ed38 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Mounting the New Partition diff --git a/chapter02/stages.xml b/chapter02/stages.xml index 7d04e6ca5..30e820213 100644 --- a/chapter02/stages.xml +++ b/chapter02/stages.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Building LFS in Stages diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index 3c4f26452..e67e62497 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Introduction diff --git a/chapter03/packages.xml b/chapter03/packages.xml index bf365e81b..35305be86 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + All Packages diff --git a/chapter03/patches.xml b/chapter03/patches.xml index eb67116a5..6c2b95378 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Needed Patches diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml index c9e60d533..4c828e6ab 100644 --- a/chapter04/aboutlfs.xml +++ b/chapter04/aboutlfs.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + About $LFS diff --git a/chapter04/aboutsbus.xml b/chapter04/aboutsbus.xml index 357a8c1bf..68e25cce2 100644 --- a/chapter04/aboutsbus.xml +++ b/chapter04/aboutsbus.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + About SBUs diff --git a/chapter04/abouttestsuites.xml b/chapter04/abouttestsuites.xml index b3c1146e1..1b2e0d68f 100644 --- a/chapter04/abouttestsuites.xml +++ b/chapter04/abouttestsuites.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + About the Test Suites diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 2c1b1ebec..a26aa55a2 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Adding the LFS User diff --git a/chapter04/creatingtoolsdir.xml b/chapter04/creatingtoolsdir.xml index 6e79f92cf..0a42daa70 100644 --- a/chapter04/creatingtoolsdir.xml +++ b/chapter04/creatingtoolsdir.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Creating the $LFS/tools Directory diff --git a/chapter04/introduction.xml b/chapter04/introduction.xml index 11ef06e0c..f1ac91989 100644 --- a/chapter04/introduction.xml +++ b/chapter04/introduction.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Introduction diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index 02cd717d4..3221bed85 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Setting Up the Environment diff --git a/chapter05/e2fsprogs.xml b/chapter05/e2fsprogs.xml deleted file mode 100644 index 9ebbba792..000000000 --- a/chapter05/e2fsprogs.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - %general-entities; -]> - - - - - - e2fsprogs - &e2fsprogs-version; -
&e2fsprogs-url;
-
- - E2fsprogs-&e2fsprogs-version; - - - E2fsprogs - - - - - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../chapter06/e2fsprogs.xml" - xpointer="xpointer(/sect1/sect2[1]/para[1])"/> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&e2fsprogs-ch5-sbu;</seg> - <seg>&e2fsprogs-ch5-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of E2fsprogs - - The E2fsprogs documentation recommends that the package be built in - a subdirectory of the source tree: - -mkdir -v build -cd build - - Prepare E2fsprogs for compilation: - -../configure --prefix=/tools --disable-libblkid --disable-libuuid - - - The meaning of the new configure option: - - - --disable-libblkid - - This prevents E2fsprogs from building its own copy of the - libblkid library, which Util-Linux-NG provides. - - - - - --disable-libuuid - - This prevents E2fsprogs from building its own copy of the - libuuid library, which Util-Linux-NG provides. - - - - - Compile the package: - -make - - Install the static libraries and headers required by Util-linux: - -make install-libs - - Make the installed static libraries writable so debugging symbols can - be removed later: - -chmod -v u+w \ - /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a - - - - - - - <para>Details on this package are located in - <xref linkend="contents-e2fsprogs" role="."/></para> - </sect2> - -</sect1> diff --git a/chapter05/flex.xml b/chapter05/flex.xml deleted file mode 100644 index 2033db549..000000000 --- a/chapter05/flex.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> - -<sect1 id="ch-tools-flex" role="wrap"> - <?dbhtml filename="flex.html"?> - - <sect1info condition="script"> - <productname>flex</productname> - <productnumber>&flex-version;</productnumber> - <address>&flex-url;</address> - </sect1info> - - <title>Flex-&flex-version; - - - Flex - tools - - - - - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../chapter06/flex.xml" - xpointer="xpointer(/sect1/sect2[1]/para[1])"/> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&flex-ch5-sbu;</seg> - <seg>&flex-ch5-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Flex - - Prepare Flex for compilation: - -./configure --prefix=/tools - - Compile the package: - -make - - To test the results, issue: - -make check - - Install the package: - -make install - - - - - - - <para>Details on this package are located in - <xref linkend="contents-flex" role="."/></para> - - </sect2> - -</sect1> diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 152d0cf92..930698e47 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -217,7 +217,7 @@ readelf -l a.out | grep ': /tools'</userinput></screen> <filename class="directory">/tools/bin</filename> is at the head of the list. If the <envar>PATH</envar> is wrong it could mean that you are not logged in as user <systemitem class="username">lfs</systemitem> or that - something went wrong back in <xref linkend="ch-tools-settingenviron" + something went wrong back in <xref linkend="ch-preps-settingenviron" role="."/></para> <para>Once all is well, clean up the test files:</para> diff --git a/chapter05/generalinstructions.xml b/chapter05/generalinstructions.xml index 0a6d341a5..bf1ec6112 100644 --- a/chapter05/generalinstructions.xml +++ b/chapter05/generalinstructions.xml @@ -53,8 +53,8 @@ <important> <para>The build instructions assume that the <xref - linkend='pre-hostreqs'/>, including symbolic links, have been set - properly:</para> + linkend='ch-partitioning-hostreqs'/>, including symbolic links, have + been set properly:</para> <itemizedlist role='important'> diff --git a/chapter05/gmp.xml b/chapter05/gmp.xml deleted file mode 100644 index 71931294b..000000000 --- a/chapter05/gmp.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> - -<sect1 id="ch-tools-gmp" role="wrap"> - <?dbhtml filename="gmp.html"?> - - <sect1info condition="script"> - <productname>gmp</productname> - <productnumber>&gmp-version;</productnumber> - <address>&gmp-url;</address> - </sect1info> - - <title>GMP-&gmp-version; - - - GMP - tools - - - - - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../chapter06/gmp.xml" - xpointer="xpointer(/sect1/sect2[1]/para[1])"/> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&gmp-ch5-sbu;</seg> - <seg>&gmp-ch5-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of GMP - - Prepare GMP for compilation: - -./configure --prefix=/tools --enable-mpbsd - - - The meaning of the configure option: - - - --enable-mpbsd - - This builds the Berkeley MP compatibility library - - - - - - Compile the package: - -make - - To test the results, issue: - -make check - - Install the package: - -make install - - - - - - - <para>Details on this package are located in - <xref linkend="contents-gmp" role="."/></para> - - </sect2> - -</sect1> diff --git a/chapter05/mpfr.xml b/chapter05/mpfr.xml deleted file mode 100644 index 004273828..000000000 --- a/chapter05/mpfr.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> - -<sect1 id="ch-tools-mpfr" role="wrap"> - <?dbhtml filename="mpfr.html"?> - - <sect1info condition="script"> - <productname>mpfr</productname> - <productnumber>&mpfr-version;</productnumber> - <address>&mpfr-url;</address> - </sect1info> - - <title>MPFR-&mpfr-version; - - - MPFR - tools - - - - - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../chapter06/mpfr.xml" - xpointer="xpointer(/sect1/sect2[1]/para[1])"/> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&mpfr-ch5-sbu;</seg> - <seg>&mpfr-ch5-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of MPFR - - Prepare MPFR for compilation: - -./configure --prefix=/tools --enable-thread-safe - - Compile the package: - -make - - To test the results, issue: - -make check - - Install the package: - -make install - - - - - - - <para>Details on this package are located in - <xref linkend="contents-mpfr" role="."/></para> - - </sect2> - -</sect1> diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml index 1558148aa..a186e0fde 100644 --- a/chapter05/tcl.xml +++ b/chapter05/tcl.xml @@ -74,7 +74,7 @@ Universal Time (UTC), but only for the duration of the test suite run. This ensures that the clock tests are exercised correctly. Details on the <envar>TZ</envar> environment - variable are provided in <xref linkend="chapter-bootscripts"/>.</para> + variable are provided in <xref linkend="chapter-config"/>.</para> <para>Install the package:</para> diff --git a/chapter06/check.xml b/chapter06/check.xml index ee72a0725..e7936f6b2 100644 --- a/chapter06/check.xml +++ b/chapter06/check.xml @@ -5,7 +5,7 @@ %general-entities; ]> -<sect1 id="ch-tools-check" role="wrap"> +<sect1 id="ch-system-check" role="wrap"> <?dbhtml filename="check.html"?> <sect1info condition="script"> @@ -16,7 +16,7 @@ <title>Check-&check-version; - + Check @@ -87,7 +87,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk Awk script for generating C unit tests for use with the Check unit testing framework - + checkmk @@ -98,7 +98,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk Contains functions that allow Check to be called from a test program - + libcheck diff --git a/chapter06/db.xml b/chapter06/db.xml deleted file mode 100644 index ab737dd79..000000000 --- a/chapter06/db.xml +++ /dev/null @@ -1,301 +0,0 @@ - - - %general-entities; -]> - - - - - - db - &db-version; -
&db-url;
-
- - Berkeley DB-&db-version; - - - Berkeley DB - - - - - - <para>The Berkeley DB package contains programs and utilities used by many - other applications for database related functions.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&db-ch6-sbu;</seg> - <seg>&db-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - <tip> - <title>Other Installation Possibilities - - There are instructions to build this package in the BLFS book if you - need to build the RPC server or additional language bindings. The - additional language bindings will require additional packages to be - installed. See - for suggested installation instructions. - - Also, GDBM could be used in place of Berkeley - DB to satisfy Man-DB. However, since Berkeley DB is considered a core part - of the LFS build, it will not be listed as a dependency for any package in - the BLFS book. Likewise, many hours go into testing LFS with Berkeley DB - installed, not with GDBM. If you fully understand the risks versus - benefits of using GDBM and wish to use it anyway, see the BLFS - instructions located at - - - - - - - Installation of Berkeley DB - - Apply an upstream patch so that replication clients can open a - sequence: - -patch -Np1 -i ../&db-fixes-patch; - - Prepare Berkeley DB for compilation: - -cd build_unix -../dist/configure --prefix=/usr --enable-compat185 --enable-cxx - - - The meaning of the configure options: - - - --enable-compat185 - - This option enables building Berkeley DB 1.85 compatibility - API. - - - - - --enable-cxx - - This option enables building C++ API libraries. - - - - - - Compile the package: - -make - - It is not possible to test the package meaningfully, because - that would involve building Tcl bindings. Tcl bindings cannot be - built properly now because Tcl is linked against Glibc in - /tools, not against Glibc in - /usr. - - Install the package: - -make docdir=/usr/share/doc/db-&db-version; install - - - The meaning of the make parameter: - - - docdir=... - - This variable specifies the correct place for the - documentation. - - - - - - Fix the ownership of the installed documentation: - -chown -Rv root:root /usr/share/doc/db-&db-version; - - - - - Contents of Berkeley DB - - - Installed programs - Installed libraries - - - db_archive, db_checkpoint, db_codegen, db_deadlock, db_dump, - db_hotbackup, db_load, db_printlog, db_recover, db_stat, db_upgrade, and - db_verify - libdb.{a,so}and libdb_cxx.{a,so} - - - - - Short Descriptions - - - - - db_archive - - Prints the pathnames of log files that are no longer in use - - db_archive - - - - - - db_checkpoint - - A daemon used to monitor and checkpoint database logs - - db_checkpoint - - - - - - db_codegen - - Generates application code to create and configure Berkeley DB - database environments and databases based on a simple description - language, and writes it to one or more output files - - db_codegen - - - - - - db_deadlock - - A daemon used to abort lock requests when deadlocks are - detected - - db_deadlock - - - - - - db_dump - - Converts database files to a plain-text file format readable - by db_load - - db_dump - - - - - - db_hotbackup - - Creates hot backup or hot failover - snapshots of Berkeley DB databases - - db_hotbackup - - - - - - db_load - - Is used to create database files from plain-text files - - db_load - - - - - - db_printlog - - Converts database log files to human readable text - - db_printlog - - - - - - db_recover - - Is used to restore a database to a consistent state after a - failure - - db_recover - - - - - - db_stat - - Displays statistics for Berkeley databases - - db_stat - - - - - - db_upgrade - - Is used to upgrade database files to a newer version of - Berkeley DB - - db_upgrade - - - - - - db_verify - - Is used to run consistency checks on database files - - db_verify - - - - - - - libdb.{a,so} - - Contains functions to manipulate database files from C - programs - - libdb - - - - - - libdb_cxx.{a,so} - - Contains functions to manipulate database files from C++ - programs - - libdb_cxx - - - - - - - - -
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index bbce23d95..08612ab3f 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -132,7 +132,8 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ One of the E2fsprogs tests will attempt to allocate 256 MB of memory. If you do not have significantly more RAM than this, be sure to enable sufficient swap space for the test. See and + linkend="ch-partitioning-creatingfilesystem"/> and for details on creating and enabling swap space. Install the package: diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml index 2ad05deee..6496e792d 100644 --- a/chapter06/libpipeline.xml +++ b/chapter06/libpipeline.xml @@ -55,7 +55,7 @@ PKG_CONFIG_PATH Use pkg-config to obtain the location of the test - library metadata built in . + library metadata built in .
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml deleted file mode 100644 index 929382894..000000000 --- a/chapter06/module-init-tools.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - %general-entities; -]> - - - - - - module-init-tools - &module-init-tools-version; -
&module-init-tools-url;
-
- - Module-Init-Tools-&module-init-tools-version; - - - Module-Init-Tools - - - - - - <para>The Module-Init-Tools package contains programs for handling kernel - modules in Linux kernels greater than or equal to version 2.5.47.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&module-init-tools-ch6-sbu;</seg> - <seg>&module-init-tools-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Module-Init-Tools - - Apply a patch that contains the generated man pages that were missing - from the released source tarball: - -patch -Np1 -i ../&module-init-tools-man-patch; - - The test suite of this package is geared towards the needs of its - Maintainer. The command make check builds a specially - wrapped version of modprobe which is useless for normal operation. To run - this (about 0.2 SBU), issue the following commands (note that the - make clean command is required to clean up the source - tree before recompiling for normal use): - -DOCBOOKTOMAN=/bin/true ./configure -make check -sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &@' tests/runtests -./tests/runtests -make clean - - Prepare Module-Init-Tools for compilation: - -DOCBOOKTOMAN=/bin/true ./configure --prefix=/ \ - --enable-zlib-dynamic --mandir=/usr/share/man - - Compile the package: - -make - - Install the package: - -make INSTALL=install install - - - The meaning of the make parameter: - - INSTALL=install - - Normally, make install will not install the - binaries if they already exist. This option overrides that behavior by - calling install instead of using the default - wrapper script. - - - - - - - - Contents of Module-Init-Tools - - - Installed programs - - - depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod - - - - - Short Descriptions - - - - - depmod - - Creates a dependency file based on the symbols it finds in the - existing set of modules; this dependency file is used by - modprobe to automatically load the required - modules - - depmod - - - - - - insmod - - Installs a loadable module in the running kernel - - insmod - - - - - - insmod.static - - A statically compiled version of insmod - - insmod.static - - - - - - lsmod - - Lists currently loaded modules - - lsmod - - - - - - modinfo - - Examines an object file associated with a kernel module and - displays any information that it can glean - - modinfo - - - - - - modprobe - - Uses a dependency file, created by - depmod, to automatically load relevant modules - - modprobe - - - - - - rmmod - - Unloads modules from the running kernel - - rmmod - - - - - - - - -
diff --git a/chapter06/pcre.xml b/chapter06/pcre.xml deleted file mode 100644 index cc7955ab6..000000000 --- a/chapter06/pcre.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - %general-entities; -]> - - - - - - pcre - &pcre-version; -
&pcre-url;
-
- - PCRE-&pcre-version; - - - PCRE - - - - - - <para>The PCRE package contains Perl Compatible Regular Expression - libraries. These are useful for implementing regular expression pattern - matching using the same syntax and semantics as Perl 5.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&pcre-ch6-sbu;</seg> - <seg>&pcre-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of PCRE - - Prepare PCRE for compilation: - -./configure --prefix=/usr \ - --docdir=/usr/share/doc/pcre-&pcre-version; \ - --enable-utf8 \ - --enable-unicode-properties \ - --enable-pcregrep-libz \ - --enable-pcregrep-libbz2 - - - The meaning of the configure options: - - - --enable-utf8 - - This switch includes the code for handling UTF-8 character - strings in the library. - - - - --enable-unicode-properties - - This switch enables Unicode properties support. - - - - --enable-pcregrep-lib* - - These switches enable the PCRE library to read files compressed - with gzip and bzip2. - - - - - Compile the package: - -make - - To test the results, issue: - -make check - - Install the package: - -make install - - The grep binary will be installed in /bin and will link against the PCRE library; as such, -move the library to /lib: - -mv -v /usr/lib/libpcre.so.* /lib/ -ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so - - - - - Contents of PCRE - - - Installed programs - Installed libraries - Installed directories - - - pcregrep, pcretest, and pcre-config - libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so} - /usr/share/doc/pcre-&pcre-version; - - - - - Short Descriptions - - - - - pcregrep - - A grep that understands Perl compatible regular - expressions. - - pcregrep - - - - - - pcretest - - Tests a Perl compatible regular expression - - pcretest - - - - - - pcre-config - - Used during the compilation process of programs linking to the - PCRE libraries - - pcre-config - - - - - - libpcre - - Provides functions useful for working with regular - expressions - - libpcre - - - - - - libpcrecpp - - Provides C++ wrapper functions for the libpcre library - - libpcrecpp - - - - - - libpcreposix - - Provides wrapper functions based on the POSIX regular expression - API - - libpcreposix - - - - - - - - -
diff --git a/chapter06/popt.xml b/chapter06/popt.xml deleted file mode 100644 index cc7c6bdc2..000000000 --- a/chapter06/popt.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - %general-entities; -]> - - - - - - popt - &popt-version; -
&popt-url;
-
- - Popt-&popt-version; - - - popt - - - - - - <para>The Popt package contains a library used by some programs - to parse command-line options.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&popt-ch6-sbu;</seg> - <seg>&popt-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Popt - - Prepare Popt4 for compilation: - -./configure --prefix=/usr - - Compile the package: - -make - - To test the results, issue: - -make check - - Install the package: - -make install - - - - - - Contents of Popt - - - Installed libraries: - - - libpopt.{a,so} - - - - - Short Descriptions - - - - - - libpopt - - is used to parse command-line options - - libpopt - - - - - - - - -
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml index 0b163b2cb..5c2b28d7c 100644 --- a/chapter07/bootscripts.xml +++ b/chapter07/bootscripts.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + @@ -16,7 +16,7 @@ LFS-Bootscripts-&lfs-bootscripts-version; - + Bootscripts @@ -75,7 +75,7 @@ Checks the integrity of the file systems before they are mounted (with the exception of journal and network based file systems) - + checkfs @@ -90,7 +90,7 @@ /var/run/utmp and removes the possibly present /etc/nologin, /fastboot, and /forcefsck files - + cleanfs @@ -101,7 +101,7 @@ Loads the correct keymap table for the desired keyboard layout; it also sets the screen font - + console @@ -112,7 +112,7 @@ Contains common functions, such as error and status checking, that are used by several bootscripts - + functions @@ -122,7 +122,7 @@ halt Halts the system - + halt @@ -132,7 +132,7 @@ ifdown Stops a network device - + ifdown @@ -142,7 +142,7 @@ ifup Initializes a network device - + ifup @@ -152,7 +152,7 @@ localnet Sets up the system's hostname and local loopback device - + localnet @@ -164,7 +164,7 @@ Loads kernel modules listed in /etc/sysconfig/modules, using arguments that are also given there - + modules @@ -175,7 +175,7 @@ Mounts all file systems, except ones that are marked noauto or are network based - + mountfs @@ -186,7 +186,7 @@ Mounts virtual kernel file systems, such as proc - + mountvirtfs @@ -197,7 +197,7 @@ Sets up network interfaces, such as network cards, and sets up the default gateway (where applicable) - + network @@ -209,7 +209,7 @@ The master run-level control script; it is responsible for running all the other bootscripts one-by-one, in a sequence determined by the name of the symbolic links being processed - + rc @@ -219,7 +219,7 @@ reboot Reboots the system - + reboot @@ -230,7 +230,7 @@ Makes sure every process is terminated before the system reboots or halts - + sendsignals @@ -241,7 +241,7 @@ Resets the kernel clock to local time in case the hardware clock is not set to UTC time - + setclock @@ -252,7 +252,7 @@ Provides the functionality needed to assign a static Internet Protocol (IP) address to a network interface - + ipv4-static @@ -262,7 +262,7 @@ swap Enables and disables swap files and partitions - + swap @@ -274,7 +274,7 @@ Loads system configuration values from /etc/sysctl.conf, if that file exists, into the running kernel - + sysctl @@ -284,7 +284,7 @@ sysklogd Starts and stops the system and kernel log daemons - + sysklogd @@ -295,7 +295,7 @@ A template to create custom bootscripts for other daemons - + template @@ -306,7 +306,7 @@ Prepares the /dev directory and starts Udev - + udev @@ -318,7 +318,7 @@ Retries failed udev uevents, and copies generated rules files from /run/udev to /etc/udev/rules.d if required - + udev_retry diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml index a7c7d9fd2..b745594da 100644 --- a/chapter07/chapter07.xml +++ b/chapter07/chapter07.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + diff --git a/chapter07/clock.xml b/chapter07/clock.xml index 1c9542166..872ba677c 100644 --- a/chapter07/clock.xml +++ b/chapter07/clock.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Configuring the system clock - + clock configuring diff --git a/chapter07/consoled.xml b/chapter07/consoled.xml index baddc1277..bf1fdc8e0 100644 --- a/chapter07/consoled.xml +++ b/chapter07/consoled.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Configuring the Linux Console - + console configuring diff --git a/chapter07/inputrc.xml b/chapter07/inputrc.xml index 0e8a21564..00d36877f 100644 --- a/chapter07/inputrc.xml +++ b/chapter07/inputrc.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Creating the /etc/inputrc File - + /etc/inputrc diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index 9bc813170..cbc197a7b 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Introduction diff --git a/chapter07/introductiond.xml b/chapter07/introductiond.xml index dbd6705ce..fa2403edb 100644 --- a/chapter07/introductiond.xml +++ b/chapter07/introductiond.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Introduction @@ -16,13 +16,13 @@ - + - + - + @@ -31,10 +31,10 @@ - + - + @@ -42,10 +42,10 @@ - + - + @@ -55,10 +55,10 @@ - + - + @@ -66,7 +66,7 @@ - + diff --git a/chapter07/locale.xml b/chapter07/locale.xml index 24e7df89d..5f473ac72 100644 --- a/chapter07/locale.xml +++ b/chapter07/locale.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Configuring the System Locale - + /etc/locale.conf diff --git a/chapter07/network.xml b/chapter07/network.xml index e523ce35d..2a86df669 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + General Network Configuration - + network configuring Creating Network Interface Configuration Files @@ -138,10 +138,10 @@ EOF - + Configuring the system hostname - + hostname configuring @@ -161,19 +161,19 @@ EOF - + Customizing the /etc/hosts File - + /etc/hosts - + localnet /etc/hosts - + network /etc/hosts diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml index 206f35f7a..b95d9b390 100644 --- a/chapter07/networkd.xml +++ b/chapter07/networkd.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + General Network Configuration - + network configuring @@ -221,10 +221,10 @@ EOF - + Configuring the system hostname - + hostname configuring @@ -244,19 +244,19 @@ EOF - + Customizing the /etc/hosts File - + /etc/hosts - + localnet /etc/hosts - + network /etc/hosts diff --git a/chapter07/profile.xml b/chapter07/profile.xml index 104365f41..226dd9fac 100644 --- a/chapter07/profile.xml +++ b/chapter07/profile.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + The Bash Shell Startup Files - + /etc/profile diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml index 4da4c9068..951e6976d 100644 --- a/chapter07/symlinks.xml +++ b/chapter07/symlinks.xml @@ -5,7 +5,7 @@ %general-entities; ]> - + Managing Devices @@ -206,7 +206,7 @@ Dealing with duplicate devices - As explained in , the order in + As explained in , the order in which devices with the same function appear in /dev is essentially random. E.g., if you have a USB web camera and a TV tuner, sometimes @@ -216,7 +216,7 @@ For all classes of hardware except sound cards and network cards, this is fixable by creating Udev rules for custom persistent symlinks. The case of network cards is covered separately in - , and sound card configuration can + , and sound card configuration can be found in BLFS. For each of your devices that is likely to have this problem diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml index 0f05cca6d..45d57ce65 100644 --- a/chapter07/systemd-custom.xml +++ b/chapter07/systemd-custom.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Systemd Usage and Configuration - + Systemd Customization diff --git a/chapter07/udev.xml b/chapter07/udev.xml index 82c64f072..6060849be 100644 --- a/chapter07/udev.xml +++ b/chapter07/udev.xml @@ -5,12 +5,12 @@ %general-entities; ]> - + Overview of Device and Module Handling - + Udev usage @@ -303,8 +303,8 @@ names being stable. Instead, create your own rules that make symlinks with stable names based on some stable attributes of the device, such as a serial number or the output of various *_id utilities installed by Udev. - See and - for examples. + See and + for examples. diff --git a/chapter07/usage.xml b/chapter07/usage.xml index b160ff368..2d68f38fd 100644 --- a/chapter07/usage.xml +++ b/chapter07/usage.xml @@ -6,12 +6,12 @@ %general-entities; ]> - + System V Bootscript Usage and Configuration - + Bootscripts usage @@ -281,11 +281,11 @@ EOF --> - + Configuring the System Clock - - setclock + + setclock configuring The setclock script reads the time from the hardware @@ -341,12 +341,12 @@ EOF - + Configuring the Linux Console - + console configuring @@ -577,10 +577,10 @@ EOF - + Creating Files at Boot - + File creation at boot configuring @@ -593,10 +593,10 @@ EOF configuration file. - + Configuring the sysklogd Script - + sysklogd configuring @@ -616,10 +616,10 @@ EOF - + The rc.site File - + rc.site diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 334b1b45d..48de6442e 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -207,7 +207,7 @@ Kernel hacking ---> If using kernel modules, module configuration in /etc/modprobe.d may be required. Information pertaining to modules and kernel configuration is - located in and in the kernel + located in and in the kernel documentation in the linux-&linux-version;/Documentation directory. Also, modprobe.d(5) may be of interest.