Correcting several typos and some inconsistencies.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2819 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Alex Gronenwoud 2003-09-15 21:47:44 +00:00
parent 6ebafb4dbc
commit 1e16325464
11 changed files with 56 additions and 44 deletions

View File

@ -90,6 +90,13 @@
<listitem><para>September 14th, 2003 [greg]: Chapter 6 - Revised chroot <listitem><para>September 14th, 2003 [greg]: Chapter 6 - Revised chroot
command: Removed no longer needed set +h.</para></listitem> command: Removed no longer needed set +h.</para></listitem>
<listitem><para>September 15th, 2003 [alex]: Corrected several typos and
some inconsistencies.</para></listitem>
<listitem><para>September 14th, 2003 [alex]: Fixed some typos, and added some
markup. Dropped the removal of program files from the Stripping section in
Chapter 5.</para></listitem>
<listitem><para>September 14th, 2003 [greg]: Chapter 6 - Create essential <listitem><para>September 14th, 2003 [greg]: Chapter 6 - Create essential
symlinks: Add symlink /usr/lib/libgcc_s.so.1 to allow gcc abi_check to run. symlinks: Add symlink /usr/lib/libgcc_s.so.1 to allow gcc abi_check to run.
Future NPTL needs this as well.</para></listitem> Future NPTL needs this as well.</para></listitem>
@ -101,8 +108,8 @@ page in Chapter 6 for creating passwd and group: bug 596.</para></listitem>
going to be done" page to include more of the PLFS hint's going to be done" page to include more of the PLFS hint's
text.</para></listitem> text.</para></listitem>
<listitem><para>September 13th, 2003 [jwrober]: Merged whoread and whonotread <listitem><para>September 13th, 2003 [jwrober]: Preface - Merged whoread and
into a since audience page.</para></listitem> whonotread into a single audience page.</para></listitem>
<listitem><para>September 13th, 2003 [greg]: Chapter 2 - Added new section <listitem><para>September 13th, 2003 [greg]: Chapter 2 - Added new section
about the test suites.</para></listitem> about the test suites.</para></listitem>
@ -120,15 +127,16 @@ descriptions of configure switches courtesy of Anderson Lizardo</para></listitem
directory creation - it's created during Chapter 6 - Glibc where it's more directory creation - it's created during Chapter 6 - Glibc where it's more
relevant.</para></listitem> relevant.</para></listitem>
<listitem><para>September 11th, 2003 [jwrober]: Fixed Ch5 GCC Pass 2 specs <listitem><para>September 11th, 2003 [jwrober]: Chapter 5 - Fixed GCC Pass 2
patch text to be more vague, but in actuality more accurate - provided by specs patch text to be more vague, but in actuality more accurate - provided by
Anderson Lizardo.</para></listitem> Anderson Lizardo.</para></listitem>
<listitem><para>September 11th, 2003 [jwrober]: Grammar fix in Ch5 Tcl install <listitem><para>September 11th, 2003 [jwrober]: Chapter 5 - Grammar fix in
directions provided by Anderson Lizardo.</para></listitem> Tcl install directions provided by Anderson Lizardo.</para></listitem>
<listitem><para>September 11th, 2003 [jwrober]: Small textual change in the Ch5 <listitem><para>September 11th, 2003 [jwrober]: Chapter 5 - Small textual
lockin Glibc page for /lib/ld.so.1 provided by Anderson Lizardo.</para></listitem> change in the locking in Glibc page for /lib/ld.so.1 provided by Anderson
Lizardo.</para></listitem>
<listitem><para>September 11th, 2003 [jeremy]: Added bootloader setup to <listitem><para>September 11th, 2003 [jeremy]: Added bootloader setup to
Chapter 8, after the addition of Grub to the book.</para></listitem> Chapter 8, after the addition of Grub to the book.</para></listitem>
@ -137,7 +145,7 @@ Chapter 8, after the addition of Grub to the book.</para></listitem>
replaced it with Grub.</para></listitem> replaced it with Grub.</para></listitem>
<listitem><para>September 11th, 2003 [jeremy]: Dropped non-toolchain tests <listitem><para>September 11th, 2003 [jeremy]: Dropped non-toolchain tests
to optional actions. Added a note to use the wiki for failed tests.</para></listitem> to optional actions. Added a note to use the Wiki for failed tests.</para></listitem>
<listitem><para>September 11th, 2003 [jeremy]: Added Bison patch, backported <listitem><para>September 11th, 2003 [jeremy]: Added Bison patch, backported
from CVS, to fix pwlib compilation problems</para></listitem> from CVS, to fix pwlib compilation problems</para></listitem>
@ -147,13 +155,13 @@ suppress the installation of libiberty, and changed Binutils to allow its
libiberty to stay.</para></listitem> libiberty to stay.</para></listitem>
<listitem><para>September 11th, 2003 [jeremy]: Added caution tags around the <listitem><para>September 11th, 2003 [jeremy]: Added caution tags around the
reminder to not delete the binutils source and build directories in Chap 5. reminder to not delete the Binutils source and build directories in Chapter 5.
</para></listitem> </para></listitem>
<listitem><para>September 11th, 2003 [jeremy]: Added new perl-libc-3 patch <listitem><para>September 11th, 2003 [jeremy]: Added new perl-libc-3 patch
from Anderson Lizardo</para></listitem> from Anderson Lizardo</para></listitem>
<listitem><para>September 9th, 2003 [jwrober]: Fixed the findutils packge <listitem><para>September 9th, 2003 [jwrober]: Fixed the Findutils package
download link on the packages page closing bug 578.</para></listitem> download link on the packages page closing bug 578.</para></listitem>
<listitem><para>September 9th, 2003 [jeremy]: Chapter 6 - GCC 2.95.3: <listitem><para>September 9th, 2003 [jeremy]: Chapter 6 - GCC 2.95.3:
@ -222,7 +230,7 @@ utilising headers and libraries installed in /stage1.</para></listitem>
<listitem><para>September 3rd, 2003 [matt]: Removed "rm /bin/pwd" instruction <listitem><para>September 3rd, 2003 [matt]: Removed "rm /bin/pwd" instruction
from chapter06 kernel-headers installation as the link is still required by from chapter06 kernel-headers installation as the link is still required by
glibc's installation.</para></listitem> Glibc's installation.</para></listitem>
<listitem><para>September 2nd, 2003 [alex]: Adjusted all the SBUs from the <listitem><para>September 2nd, 2003 [alex]: Adjusted all the SBUs from the
values posted by Jeremy.</para></listitem> values posted by Jeremy.</para></listitem>
@ -250,9 +258,9 @@ newgrp patch from Greg Schafer</para></listitem>
Inetutils - added the --disable-whois and --disable-servers Inetutils - added the --disable-whois and --disable-servers
flags</para></listitem> flags</para></listitem>
<listitem><para>August 31, 2003 [jeremy] - Added in Greg's new <listitem><para>August 31, 2003 [jeremy] - Added in Greg's new instructions
instructions for GCC 3.3.1 wrt the fixincludes process. Also added for GCC 3.3.1 with respect to the fixincludes process. Also added extra
extra verbiage to the lockin and GCC pass 2 pages on the fixincludes verbiage to the locking-in and GCC pass 2 pages on the fixincludes
process.</para></listitem> process.</para></listitem>
<listitem><para>August 31, 2003 [jeremy] - Added user nobody to <listitem><para>August 31, 2003 [jeremy] - Added user nobody to
@ -351,8 +359,8 @@ put text in between commands.</para></listitem>
Findutils: several small textual adjustments. For the second passes not giving Findutils: several small textual adjustments. For the second passes not giving
the contents and dependencies.</para></listitem> the contents and dependencies.</para></listitem>
<listitem><para>August 11th, 2003 [alex]: Chapter 04 - Listing for GCC separate <listitem><para>August 11th, 2003 [alex]: Chapter 04 - Listed separate
core, g++, and testsuite tarballs.</para></listitem> core, g++, and test suite tarballs for GCC.</para></listitem>
<listitem><para>August 11th, 2003 [alex]: Chapter 04 - Suppressed the <listitem><para>August 11th, 2003 [alex]: Chapter 04 - Suppressed the
mention of a wget script.</para></listitem> mention of a wget script.</para></listitem>
@ -492,7 +500,7 @@ first place.</para></listitem>
gzip-1.3.5, and tar-1.13.25.</para></listitem> gzip-1.3.5, and tar-1.13.25.</para></listitem>
<listitem><para>May 12th, 2003 [winkie]: Chapter 05 - Installing Perl: <listitem><para>May 12th, 2003 [winkie]: Chapter 05 - Installing Perl:
Added extra commands to build certain modules into Perl. This is to accomodate Added extra commands to build certain modules into Perl. This is to accommodate
the Coreutils "make check". Partially fixes bug #528.</para></listitem> the Coreutils "make check". Partially fixes bug #528.</para></listitem>
<listitem><para>May 12th, 2003 [winkie]: Chapter 05 - Installing Gzip: <listitem><para>May 12th, 2003 [winkie]: Chapter 05 - Installing Gzip:
@ -511,7 +519,7 @@ installed is GCC, and that's only for gccbug.</para></listitem>
--enable-threads=posix as well to complete the C++ addition.</para></listitem> --enable-threads=posix as well to complete the C++ addition.</para></listitem>
<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added <listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
--enable-languages=c,c++ to fix that gcc's version bug with regards to --enable-languages=c,c++ to fix that GCC's version bug with regards to
-Wreturn-type. Fixes bug #525</para></listitem> -Wreturn-type. Fixes bug #525</para></listitem>
<listitem><para>May 11th, 2003 [gerard]: Chapter 05 - Bash: Removed the <listitem><para>May 11th, 2003 [gerard]: Chapter 05 - Bash: Removed the
@ -602,11 +610,11 @@ handles this for us.</para></listitem>
<listitem><para>May 10th, 2003 [gerard]: Removed all CFLAGS and LDFLAGS <listitem><para>May 10th, 2003 [gerard]: Removed all CFLAGS and LDFLAGS
variables where they are not essential (so, not including static binutils, variables where they are not essential (so, not including static binutils,
gcc and compiling zlib with -fPIC).</para></listitem> GCC and compiling Zlib with -fPIC).</para></listitem>
<listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Binutils (pass1, <listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Binutils (pass1,
pass2, locking glibc and adjusting toolchain): Change tooldir to /stage1 pass2), locking in Glibc and adjusting toolchain: Changed tooldir to /stage1
(likewise we use tooldir=/usr in chapter 6).</para></listitem> (likewise we use tooldir=/usr in Chapter 6).</para></listitem>
<listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Kernel headers: <listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Kernel headers:
Removed the usage of <userinput>cp -H</userinput> because there are Removed the usage of <userinput>cp -H</userinput> because there are

View File

@ -28,8 +28,8 @@ what to type.</para></blockquote>
<para><ulink url="http://www.linuxfromscratch.org/"/></para> <para><ulink url="http://www.linuxfromscratch.org/"/></para>
<blockquote><para>This form of text is used for hyperlinks, both within the <blockquote><para>This form of text is used for hyperlinks, both within the
book and to external pages such as HowTo's, download locations, book and to external pages such as HOWTOs, download locations and
websites, etc.</para></blockquote> websites.</para></blockquote>
<para><screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput> <para><screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
root:x:0: root:x:0:

View File

@ -16,7 +16,7 @@ partition and filesystem is where your new LFS system will be compiled and
installed onto.</para> installed onto.</para>
<para>Chapter 5 will then discuss the installation of a number of packages that <para>Chapter 5 will then discuss the installation of a number of packages that
will form the basic development suite (or toolset) which is used to build the will form the basic development suite (or tool-set) which is used to build the
actual system in Chapter 6. Some of these packages are needed to resolve actual system in Chapter 6. Some of these packages are needed to resolve
circular dependencies. For example, to compile a compiler you need a circular dependencies. For example, to compile a compiler you need a
compiler.</para> compiler.</para>
@ -31,7 +31,7 @@ pass.</para>
<para>The third thing to do is build a second pass of the toolchain. This time <para>The third thing to do is build a second pass of the toolchain. This time
the toolchain will be dynamically linked against the newly built Glibc. The the toolchain will be dynamically linked against the newly built Glibc. The
remaining Chapter 5 packages are all built using this second pass toolchain and remaining Chapter 5 packages are all built using this second pass toolchain and
dynamically linked against the new host independant Glibc. When this is done, dynamically linked against the new host-independent Glibc. When this is done,
the LFS installation process will no longer depend on the host distribution, the LFS installation process will no longer depend on the host distribution,
with the exception of the running kernel. This is known as <quote>self with the exception of the running kernel. This is known as <quote>self
contained</quote> and <quote>self hosted</quote>. There is a discussion of the contained</quote> and <quote>self hosted</quote>. There is a discussion of the
@ -50,9 +50,10 @@ the road (they have been well documented). The host's Glibc is usually an
unknown quantity and can contain bugs or anything else we don't know about unknown quantity and can contain bugs or anything else we don't know about
until it is too late. A well known issue is that statically linked binaries until it is too late. A well known issue is that statically linked binaries
compiled on a Glibc-2.2.x based system that then contain calls to the compiled on a Glibc-2.2.x based system that then contain calls to the
getpwuid() function crash when run on a glibc-2.3.x based system. You are <emphasis>getpwuid()</emphasis> function crash when run on a Glibc-2.3.x based
system. You are
about to build a Glibc-2.3.x based system. You do not want to build something about to build a Glibc-2.3.x based system. You do not want to build something
that is going to crash do you? Finally, the Glibc Autoconf tests produce that is going to crash do you? Finally, the Glibc autoconf tests produce
different results depending on whether an existing Glibc is found on the host different results depending on whether an existing Glibc is found on the host
distribution. This can lead to inconsistencies and encourages hacks and distribution. This can lead to inconsistencies and encourages hacks and
workarounds. With all these things in mind, you can see that the extra effort workarounds. With all these things in mind, you can see that the extra effort

View File

@ -34,10 +34,10 @@ mount /dev/yyy $LFS/usr</userinput></screen></para>
with the appropriate partition names.</para> with the appropriate partition names.</para>
<para>You should also ensure that this new partition is not mounted with <para>You should also ensure that this new partition is not mounted with
permissions that are too restrictive (such as the nosuid. nodev and noatime permissions that are too restrictive (such as the nosuid, nodev or noatime
options). You can run the <userinput>mount</userinput> command without any options). You can run the <userinput>mount</userinput> command without any
parameters to see with what options the LFS partition is mounted. If parameters to see with what options the LFS partition is mounted. If
you see nosuid, nodev and/or noatime, you will need to remount it.</para> you see nosuid, nodev or noatime, you will need to remount it.</para>
<para>Now that we've made ourselves a place to work in, we're ready to download <para>Now that we've made ourselves a place to work in, we're ready to download
the packages.</para> the packages.</para>

View File

@ -38,7 +38,7 @@ all in. Or you can edit the specs file by hand if you want to: just replace
"/tools/lib/ld.so.1".</para> "/tools/lib/ld.so.1".</para>
<para>Lastly, there is a possibility that some include files from the host <para>Lastly, there is a possibility that some include files from the host
system have found their way into gcc's private include dir. This can happen system have found their way into GCC's private include dir. This can happen
because of GCC's "fixincludes" process which runs as part of the GCC build. because of GCC's "fixincludes" process which runs as part of the GCC build.
We'll explain more about this further on in this chapter. For now, run the We'll explain more about this further on in this chapter. For now, run the
following commands to eliminate this possibility.</para> following commands to eliminate this possibility.</para>

View File

@ -4,7 +4,7 @@
<title>Installation of Bison</title> <title>Installation of Bison</title>
<para>First we use a patch to bison, backported from CVS, which fixes a minor <para>First we use a patch to bison, backported from CVS, which fixes a minor
compliation problem with some packages:</para> compilation problem with some packages:</para>
<para><screen><userinput>patch -Np1 -i ../bison-1.875-attribute.patch</userinput></screen></para> <para><screen><userinput>patch -Np1 -i ../bison-1.875-attribute.patch</userinput></screen></para>

View File

@ -3,10 +3,12 @@
<sect2> <sect2>
<title>Installation of Groff</title> <title>Installation of Groff</title>
<para>Groff expects an enviornment variable PAGE to contain the default paper size. <para>Groff expects the environment variable PAGE to contain the default paper
For those in the United States, the text below is appropriate. For those who's default size. For those in the United States, the command below is appropriate. If you
paper size is the larger "A4", you may safely change the value used when we configure live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
the Groff package:</para> <emphasis>PAGE=A4</emphasis>.</para>
<para>Prepare Groff for compilation:</para>
<para><screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen></para> <para><screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen></para>

View File

@ -3,10 +3,10 @@
<sect2> <sect2>
<title>Installation of Man</title> <title>Installation of Man</title>
<para>We'l make three adjustments to the sources of Man.</para> <para>We'll make three adjustments to the sources of Man.</para>
<para>The first patch comments out the "MANPATH /usr/man" line in the <para>The first patch comments out the "MANPATH /usr/man" line in the
<filename>man.conf</filename> file to prevent redundant results when using <filename>man.conf</filename> file to prevent redundant results when using
programs such as <userinput>whatis</userinput>:</para> programs such as <userinput>whatis</userinput>:</para>
<para><screen><userinput>patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch</userinput></screen></para> <para><screen><userinput>patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch</userinput></screen></para>

View File

@ -45,7 +45,7 @@ with a GID of 1, be present. All other group names and GIDs can be chosen
freely by the user, as well-written packages don't depend on GID numbers but freely by the user, as well-written packages don't depend on GID numbers but
use the group's name.</para> use the group's name.</para>
<para>Lastly, we re-login to the chroot envrionment. User name and group name <para>Lastly, we re-login to the chroot environment. User name and group name
resolution will start working immediately after the resolution will start working immediately after the
<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files are <filename>/etc/passwd</filename> and <filename>/etc/group</filename> files are
created, because we installed a full glibc in Chapter 5. This will get rid of created, because we installed a full glibc in Chapter 5. This will get rid of

View File

@ -2,15 +2,16 @@
<title>Making the LFS system bootable</title> <title>Making the LFS system bootable</title>
<?dbhtml filename="grub.html" dir="chapter08"?> <?dbhtml filename="grub.html" dir="chapter08"?>
<para>Now that we have our shiny new LinuxFromScratch system completed, <para>Now that we have our shiny new Linux-From-Scratch system completed,
we need to ensure we can boot it. To do this, we will run the grub program.</para> we need to ensure we can boot it. To do this, we will run the
<userinput>grub</userinput> program.</para>
<para><screen><userinput>grub</userinput></screen></para> <para><screen><userinput>grub</userinput></screen></para>
<para>Grub uses its own naming structure for drives, in the form of (hdn,m), <para>Grub uses its own naming structure for drives, in the form of (hdn,m),
where n is the hard drive number, and m is the partition number, both of which where n is the hard drive number, and m is the partition number, both of which
start from zero. So, partition hda1 would be (hd0,0) to Grub, and hdb2 would start from zero. So, partition hda1 would be (hd0,0) to Grub, and hdb2 would
be (hd1,1). Also, Grub doesn't pay attention to CDROM drives at all, so if, be (hd1,1). Also, Grub doesn't pay attention to CD-ROM drives at all, so if,
for example, you have a CD on hdb, and a second hard drive on hdc, partitions for example, you have a CD on hdb, and a second hard drive on hdc, partitions
on that second hard drive would still be (hd1,m).</para> on that second hard drive would still be (hd1,m).</para>

View File

@ -23,7 +23,7 @@
<!ENTITY bash-patch-size "7.6 KB"> <!ENTITY bash-patch-size "7.6 KB">
<!ENTITY bash-compsize-static "24 MB"> <!ENTITY bash-compsize-static "24 MB">
<!ENTITY bash-time-static "0.8 BU"> <!ENTITY bash-time-static "0.8 SBU">
<!ENTITY bash-compsize "14 MB"> <!ENTITY bash-compsize "14 MB">
<!ENTITY bash-time "0.8 SBU"> <!ENTITY bash-time "0.8 SBU">