Changeset 663ecfc


Ignore:
Timestamp:
06/29/2005 04:24:16 PM (19 years ago)
Author:
Archaic <archaic@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ab1a271
Parents:
2ec0d20
Message:

Several minor wording changes (chapters 1 - 5).

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6232 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
24 edited

Legend:

Unmodified
Added
Removed
  • chapter01/administrativa.xml

    r2ec0d20 r663ecfc  
    3030</sect2>
    3131
     32<para>The mailing lists hosted at <uri>linuxfromscratch.org</uri> are
     33also accessible via the Network News Transfer Protocol (NNTP) server.
     34All messages posted to a mailing list are copied to the corresponding
     35newsgroup, and vice versa.</para>
     36
     37<para>The news server is located at
     38<uri>news.linuxfromscratch.org</uri>.</para>
     39</sect2>
     40
    3241<sect2 id="ch-scatter-irc">
    3342<title>IRC</title>
     
    4352<sect2 id="ch-scatter-newsserver">
    4453<title>News Server</title>
    45 
    46 <para>The mailing lists hosted at <uri>linuxfromscratch.org</uri> are
    47 also accessible via the Network News Transfer Protocol (NNTP) server.
    48 All messages posted to a mailing list are copied to the corresponding
    49 newsgroup, and vice versa.</para>
    50 
    51 <para>The news server is located at
    52 <uri>news.linuxfromscratch.org</uri>.</para>
    53 </sect2>
    5454
    5555<sect2 id="ch-scatter-wiki">
  • chapter01/askforhelp.xml

    r2ec0d20 r663ecfc  
    1616
    1717<para>We also have a wonderful LFS community that is willing to offer
    18 assistance through IRC and the mailing lists (see the <xref
     18assistance through the mailing lists and IRC (see the <xref
    1919linkend="ch-scatter-administrativa"/> section of this book). In order
    2020to assist with diagnosing and solving the problem, please include
  • chapter01/changelog.xml

    r2ec0d20 r663ecfc  
    1111
    1212<para>This is version &version; of the Linux From Scratch book, dated
    13 &releasedate;. If this book is more than two months old, a newer and better
    14 version is probably already available. To find out, please check one of the
    15 mirrors via <ulink url="&lfs-root;"/>.</para>
     13&releasedate;. If this book is more than four to six months old, a newer and
     14better version is probably already available. To find out, please check one of
     15the mirrors via <ulink url="&lfs-root;"/>.</para>
    1616
    1717<para>Below is a list of changes made since the previous release of the book.
  • chapter01/how.xml

    r2ec0d20 r663ecfc  
    3030patches need to be downloaded to build an LFS system and how to store
    3131them on the new file system. <xref linkend="chapter-final-preps"/>
    32 discusses the setup for an appropriate work environment. Please read
     32discusses the setup for an appropriate working environment. Please read
    3333<xref linkend="chapter-final-preps"/> carefully as it explains several
    3434important issues the developer should be aware of before beginning to
     
    5555</para>
    5656
    57 <para>While this may initially seem like a lot of work to get away
    58 from a host distribution, a full technical explanation is provided at
    59 the beginning of <xref linkend="chapter-temporary-tools"/>.</para>
     57<para>While this may initially seem like a lot of work to isolate the new system
     58from the host distribution, a full technical explanation is provided at the
     59beginning of <xref linkend="chapter-temporary-tools"/>.</para>
    6060
    6161<para>In <xref linkend="chapter-building-system"/>, the full LFS system is
    62 built. The chroot (change root) program is used to enter a virtual
     62built. The <command>chroot</command> (change root) program is used to enter a virtual
    6363environment and start a new shell whose root directory will be set to
    6464the LFS partition. This is very similar to rebooting and instructing
    6565the kernel to mount the LFS partition as the root partition. The
    66 system does not actually reboot, but instead chroots because creating a
     66system does not actually reboot, but instead <command>chroot</command>'s because creating a
    6767bootable system requires additional work which is not necessary just
    6868yet. The major advantage is that <quote>chrooting</quote> allows the
     
    8383step is discussed in the following chapters and package descriptions.
    8484Items that may seem complicated will be clarified, and everything will
    85 fall into place as the developer embarks on the LFS adventure.</para>
     85fall into place as the reader embarks on the LFS adventure.</para>
    8686
    8787</sect1>
  • chapter02/creatingpartition.xml

    r2ec0d20 r663ecfc  
    2323the packages. However, if the LFS system is intended to be the primary
    2424Linux system, additional software will probably be installed which
    25 will require additional space (2 or 3 GB). The LFS system itself will
     25will require additional space (2-3 GB). The LFS system itself will
    2626not take up this much room. A large portion of this requirement
    2727is to provide sufficient free temporary storage. Compiling
  • chapter03/introduction.xml

    r2ec0d20 r663ecfc  
    88<?dbhtml filename="introduction.html"?>
    99
    10 <para>This chapter includes a list of packages that need to be
    11 downloaded for building a basic Linux system. The listed version numbers
    12 correspond to versions of the software that are known to work, and
    13 this book is based on their use. We highly recommend not using newer
    14 versions because the build commands for one version may not work with
    15 a newer version. The newest package versions may also have problems
    16 that work-arounds have not been developed for yet.</para>
    17 
    18 <para>All the URLs, when possible, refer to the package's information
    19 page at <ulink url="http://www.freshmeat.net/"/>. The Freshmeat pages
    20 provide easy access to official download sites, as well as project
    21 websites, mailing lists, FAQ, changelogs, and more.</para>
     10<para>This chapter includes a list of packages that need to be downloaded for
     11building a basic Linux system. The listed version numbers correspond to versions
     12of the software that are known to work, and this book is based on their use. We
     13highly recommend not using newer versions because the build commands for one
     14version may not work with a newer version. The newest package versions may also
     15have problems that require work-arounds. These work-arounds will be developed
     16and stabilized in the SVN version of the book.</para>
    2217
    2318<para>Download locations may not always be accessible. If a download
    2419location has changed since this book was published, Google (<ulink
    25 url="http://www.google.com"/>) provides a useful search engine for
     20url="http://www.google.com/"/>) provides a useful search engine for
    2621most packages. If this search is unsuccessful, try one of the
    2722alternate means of downloading discussed at <ulink
  • chapter04/aboutsbus.xml

    r2ec0d20 r663ecfc  
    3030
    3131<para>In general, SBUs are not entirely accurate because they depend on many
    32 factors, not just the GCC version. Note that on Symmetric Multi-Processor
    33 (SMP)-based machines, SBUs are even less accurate.  They are provided here to
    34 give an estimate of how long it might take to install a package, but the numbers
    35 can vary by as much as dozens of minutes in some cases.</para>
     32factors, including the host system's version of GCC. Note that on Symmetric
     33Multi-Processor (SMP)-based machines, SBUs are even less accurate.  They are
     34provided here to give an estimate of how long it might take to install a
     35package, but the numbers can vary by as much as dozens of minutes in some
     36cases.</para>
    3637
    3738<para>To view actual timings for a number of specific machines, we recommend
  • chapter04/abouttestsuites.xml

    r2ec0d20 r663ecfc  
    4242linkend="chapter-temporary-tools"/>.</para>
    4343
    44 <para>Sometimes package test suites will give false failures. Consult the logs
    45 located at <ulink url="&test-results;"/> to verify whether or not these failures
    46 are expected. This site is valid for all tests throughout this book.</para>
     44<para>Sometimes package test suites will fail, but for reasons which the
     45developers are aware of and have deemed non-critical. Consult the logs located
     46at <ulink url="&test-results;"/> to verify whether or not these failures are
     47expected. This site is valid for all tests throughout this book.</para>
    4748
    4849</sect1>
  • chapter04/addinguser.xml

    r2ec0d20 r663ecfc  
    88<?dbhtml filename="addinguser.html"?>
    99
    10 <para>When logged in as user <emphasis>root</emphasis>, making a
    11 single mistake can damage or destroy a system. Therefore, we recommend
    12 building the packages in this chapter as an unprivileged user. You
    13 could use your own user name, but to make it easier to set up a clean
    14 work environment, create a new user called <emphasis>lfs</emphasis> as
    15 a member of a new group (also named <emphasis>lfs</emphasis>) and use
    16 this user during the installation process. As
     10<para>When logged in as user <emphasis>root</emphasis>, making a single mistake
     11can damage or destroy a system. Therefore, we recommend building the packages in
     12this chapter as an unprivileged user. You could use your own user name, but to
     13make it easier to set up a clean working environment, create a new user called
     14<emphasis>lfs</emphasis> as a member of a new group (also named
     15<emphasis>lfs</emphasis>) and use this user during the installation process. As
    1716<emphasis>root</emphasis>, issue the following commands to add the new
    1817user:</para>
     
    8483
    8584<para>The <quote><parameter>-</parameter></quote> instructs
    86 <command>su</command> to start a login shell as opposed to a non-login
    87 shell. The difference between these two types of shells can be found
    88 in detail in the Bash man and info pages.</para>
     85<command>su</command> to start a login shell as opposed to a non-login shell.
     86The difference between these two types of shells can be found in detail in the
     87<command>man</command> and <command>info</command> pages for Bash.</para>
    8988
    9089</sect1>
  • chapter04/creatingtoolsdir.xml

    r2ec0d20 r663ecfc  
    3131<screen><userinput>ln -s $LFS/tools /</userinput></screen>
    3232
    33 <note><para>The above command is correct. The <command>ln</command>
    34 command has a few syntactic variations, so be sure to check the info
    35 and man pages before reporting what you may think is an
     33<note><para>The above command is correct. The <command>ln</command> command has
     34a few syntactic variations, so be sure to check the <command>info</command> and
     35<command>man</command> pages before reporting what you may think is an
    3636error.</para></note>
    3737
  • chapter04/settingenviron.xml

    r2ec0d20 r663ecfc  
    7777everything will work as expected in the chroot environment.</para>
    7878
    79 <para>By putting <filename class="directory">/tools/bin</filename>
    80 ahead of the standard <envar>PATH</envar>, all the programs installed in <xref
    81 linkend="chapter-temporary-tools"/> are picked up by the shell
    82 immediately after their installation. This, combined with turning off
    83 hashing, limits the risk that old programs from
    84 the host are being used when they should not be used any
    85 longer.</para>
     79<para>By putting <filename class="directory">/tools/bin</filename> ahead of the
     80standard <envar>PATH</envar>, all the programs installed in <xref
     81linkend="chapter-temporary-tools"/> are picked up by the shell immediately after
     82their installation. This, combined with turning off hashing, limits the risk
     83that old programs are used from the host when the same programs are available in
     84the chapter 5 environment.</para>
    8685
    8786<para>Finally, to have the environment fully prepared for building the
  • chapter05/expect.xml

    r2ec0d20 r663ecfc  
    5656<listitem><para>This explicitly tells Expect where to find Tcl's source
    5757directory and internal headers. Using this option avoids conditions
    58 where <command>configure</command> fails because it hasn't automatically
    59 discovered the location of the Tcl source directory.</para></listitem>
     58where <command>configure</command> fails because it cannot automatically
     59discover the location of the Tcl source directory.</para></listitem>
    6060</varlistentry>
    6161
     
    6464<listitem><para>This tells the configure script not to search for Tk
    6565(the Tcl GUI component) or the X Window System libraries, both of
    66 which may reside on the host system.</para></listitem>
     66which may reside on the host system but will not exist in the temporary
     67environment.</para></listitem>
    6768</varlistentry>
    6869</variablelist>
  • chapter05/gawk.xml

    r2ec0d20 r663ecfc  
    3838<screen><userinput>make</userinput></screen>
    3939
    40 <para>To test the results (not necessary), issue: <userinput>make
     40<para>To test the results, issue: <userinput>make
    4141check</userinput>.</para>
    4242
  • chapter05/gettext.xml

    r2ec0d20 r663ecfc  
    4848<varlistentry>
    4949<term><parameter>--without-csharp</parameter></term>
    50 <listitem><para>This tells Gettext not to use a C# compiler, even if a
    51 C# compiler is installed on the host. This needs to be done because
    52 once we enter the chroot environment, C# will no longer be
    53 available.</para></listitem>
     50<listitem><para>This ensures that Gettext does not build support for the C#
     51compiler which may be present on the host but will not be available once we
     52enter the chroot environment.</para></listitem>
    5453</varlistentry>
    5554</variablelist>
  • chapter05/glibc.xml

    r2ec0d20 r663ecfc  
    105105</varlistentry>
    106106
    107 <!-- Edit Me -->
    108107<varlistentry>
    109108<term><parameter>--without-selinux</parameter></term>
    110 <listitem><para>When building from hosts using SELinux functionality
    111 (i.e. Fedora Core 3), Glibc will try to integrate this functionality into
    112 itself, but will fail, because we do not have this functionality in the LFS
    113 tools environment.  This option will disable this, allowing Glibc to build
    114 correctly, but will not otherwise affect the build.</para></listitem>
    115 </varlistentry>
    116 <!-- -->
     109<listitem><para>When building from hosts that include SELinux functionality
     110(e.g. Fedora Core 3), Glibc will build with support for SELinux. As the LFS
     111tools environment does not contain support for SELinux, a Glibc compiled with
     112such support will fail to operate correctly.</para></listitem>
     113</varlistentry>
    117114</variablelist>
    118115
  • chapter05/grep.xml

    r2ec0d20 r663ecfc  
    4040<varlistentry>
    4141<term><parameter>--disable-perl-regexp</parameter></term>
    42 <listitem><para>This makes sure that the <command>grep</command>
    43 program does not get linked against a Perl Compatible Regular
    44 Expression (PCRE) library that may be present on the host and would
    45 not be available once we enter the chroot
     42<listitem><para>This ensures that the <command>grep</command> program does not
     43get linked against a Perl Compatible Regular Expression (PCRE) library that may
     44be present on the host but will not be available once we enter the chroot
    4645environment.</para></listitem>
    4746</varlistentry>
  • chapter05/ncurses.xml

    r2ec0d20 r663ecfc  
    4040<varlistentry>
    4141<term><parameter>--without-ada</parameter></term>
    42 <listitem><para>This tells Ncurses not to build its Ada bindings, even
    43 if an Ada compiler is installed on the host. This needs to be done
    44 because once we enter the chroot environment, Ada will no longer be
    45 available.</para></listitem>
     42<listitem><para>This ensures that Ncurses does not build support for the ada
     43compiler which may be present on the host but will not be available once we
     44enter the chroot environment.</para></listitem>
    4645</varlistentry>
    4746
  • chapter05/perl.xml

    r2ec0d20 r663ecfc  
    5151</variablelist>
    5252
    53 <para>Compile only the required tools:</para>
     53<para>Only a few of the utilities contained in this package need to be
     54built:</para>
    5455
    5556<screen><userinput>make perl utilities</userinput></screen>
     
    6162be run in the next chapter if desired.</para>
    6263
    63 <para>Copy these tools and their libraries:</para>
     64<para>Install these tools and their libraries:</para>
    6465
    6566<screen><userinput>cp perl pod/pod2man /tools/bin
  • chapter05/tcl.xml

    r2ec0d20 r663ecfc  
    5858Greenwich Mean Time (GMT), but only for the duration of the test suite
    5959run. This ensures that the clock tests are exercised correctly.
    60 Details on the <envar>TZ</envar> environment variable is provided in
     60Details on the <envar>TZ</envar> environment variable are provided in
    6161<xref linkend="chapter-bootscripts"/>.</para>
    6262
  • chapter05/toolchaintechnotes.xml

    r2ec0d20 r663ecfc  
    1414section can be referred back to at any time during the process.</para>
    1515
    16 <para>The overall goal of <xref linkend="chapter-temporary-tools"/> is
    17 to provide a temporary environment that can be chrooted into and from
    18 which can be produced a clean, trouble-free build of the target LFS
    19 system in <xref linkend="chapter-building-system"/>. Along the way, we
    20 separate from the host system as much as possible, and in doing so,
    21 build a self-contained and self-hosted toolchain. It should be noted
    22 that the build process has been designed to minimize the risks for new
    23 readers and provide maximum educational value at the same time. In
    24 other words, more advanced techniques could be used to build the
    25 system.</para>
     16<para>The overall goal of <xref linkend="chapter-temporary-tools"/> is to
     17provide a temporary environment that can be chrooted into and from which can be
     18produced a clean, trouble-free build of the target LFS system in <xref
     19linkend="chapter-building-system"/>. Along the way, we separate the new system
     20from the host system as much as possible, and in doing so, build a
     21self-contained and self-hosted toolchain. It should be noted that the build
     22process has been designed to minimize the risks for new readers and provide
     23maximum educational value at the same time.</para>
    2624
    2725<important>
  • chapter05/util-linux.xml

    r2ec0d20 r663ecfc  
    3030<title>Installation of Util-linux</title>
    3131
    32 <para>Util-linux does not use the freshly installed headers and
    33 libraries from the <filename class="directory">/tools</filename>
    34 directory. This is fixed by altering the configure script:</para>
     32<para>Util-linux does not use the freshly installed headers and libraries from
     33the <filename class="directory">/tools</filename> directory by default. This is
     34fixed by altering the configure script:</para>
    3535
    3636<screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
     
    4444<screen><userinput>make -C lib</userinput></screen>
    4545
    46 <para>Since only a couple of the utilities contained in this package
    47 are needed, build only those:</para>
     46<para>Only a few of the utilities contained in this package need to be
     47built:</para>
    4848
    4949<screen><userinput>make -C mount mount umount
  • chapter06/gettext.xml

    r2ec0d20 r663ecfc  
    1414<sect2 role="package"><title/>
    1515<para>The Gettext package contains utilities for internationalization and
    16 localization. These allow programs to be compiled with NLS, enabling them
    17 to output messages in the user's native language.</para>
     16localization. These allow programs to be compiled with NLS (Native Language
     17Support), enabling them to output messages in the user's native language.</para>
    1818
    1919<segmentedlist>
  • prologue/audience.xml

    r2ec0d20 r663ecfc  
    99
    1010<para>There are many reasons why somebody would want to read this
    11 book. The principle reason is to install a Linux system straight
     11book. The principle reason is to install a Linux system
    1212from the source code. A question many people raise is, <quote>why go
    1313through all the hassle of manually building a Linux system from
     
    3333Linux system. When installing a regular distribution, one is often
    3434forced to include several programs which are probably never used.
    35 These programs waste precious disk space, or worse, CPU cycles. It is
     35These programs waste disk space, or worse, CPU cycles. It is
    3636not difficult to build an LFS system of less than 100 megabytes (MB),
    37 which is substantially smaller when compared to the majority of existing installations.  Does
     37which is substantially smaller than the majority of existing installations.  Does
    3838this still sound like a lot of space? A few of us have been working on
    3939creating a very small embedded LFS system. We successfully built a
  • prologue/foreword.xml

    r2ec0d20 r663ecfc  
    1212discovered issues I definitely would have liked to see improved upon.
    1313For example, I didn't like the arrangement of the bootscripts or the way
    14 programs were configured by default. I tried a number of alternate
     14programs were configured by default. I tried a number of alternative
    1515distributions to address these issues, yet each had its pros and cons.
    1616Finally, I realized that if I wanted full satisfaction from my Linux
     
    4848the benefits of using this system. Users can dictate all aspects of
    4949their system, including directory layout, script setup, and security.
    50 The resulting system will be compiled straight from the source code,
     50The resulting system will be compiled completely from the source code,
    5151and the user will be able to specify where, why, and how programs are
    5252installed. This book allows readers to fully customize Linux systems
Note: See TracChangeset for help on using the changeset viewer.