Changeset 72033583 for chapter05


Ignore:
Timestamp:
03/18/2001 07:30:50 PM (23 years ago)
Author:
Thomas Balu Walter <tw@…>
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.0, 6.1, 6.1.1, 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, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, 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:
137bd50
Parents:
ab8b352
Message:

You

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

Location:
chapter05
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash-exp.xml

    rab8b352 r72033583  
    1010<userinput>--prefix=$LFS/usr:</userinput> This configure option installs
    1111all of Bash's files under the $LFS/usr directory, which becomes the /usr
    12 directory after you chroot into $LFS or when you reboot the system into LFS.
     12directory after the user chrooted into $LFS or when he rebooted
     13the system into LFS.
    1314</para>
    1415
     
    1617<userinput>--bindir=$LFS/bin:</userinput> This installs the executable
    1718files in $LFS/bin. We do this because we want bash to be in /bin, not in
    18 /usr/bin. One reason being: your /usr partition might be on a seperate
     19/usr/bin. One reason being: the /usr partition might be on a seperate
    1920partition which has to be mounted at some point. Before that partition is
    20 mounted you need and will want to have bash available (it will be hard to
     21mounted a user needs and will want to have bash available (it will be hard to
    2122execute the boot scripts without a shell for instance).
    2223</para>
     
    4546The <userinput>&amp;&amp;</userinput>'s at the end of every line cause
    4647the next command only to be executed when the previous command exists
    47 with a return value of 0 indicating success. In case you copy&amp;paste
    48 all of these commands on the shell you want to be ensured that if
     48with a return value of 0 indicating success. In case all of these
     49commands are copy&amp;pasted
     50on the shell is is important to be ensured that if
    4951./configure fails, make isn't being executed and likewise if make fails
    5052that make install isn't being executed, and so forth.
  • chapter05/bash-inst.xml

    rab8b352 r72033583  
    1919
    2020<para>
    21 If you get errors when compiling bash that tell you about not being able to
    22 find <quote>-lcurses</quote> run these two commands to create the
     21If a user gets errors when compiling bash that tell about not being able to
     22find <quote>-lcurses</quote> these two commands should be run to create the
    2323missing symlink (so far we have not enountered one distribution that has
    2424this libncurses symlink setup properly, except for LFS systems where it
     
    3535<para>
    3636Note: Normally the libncurses.a file resides in the /usr/lib directory
    37 but it might reside in /lib (like it does on LFS systems). So check to
    38 make sure whether you should run the ln command in /usr/lib or in /lib
     37but it might reside in /lib (like it does on LFS systems). A user needs
     38to check to
     39make sure whether the ln command has to be run in /usr/lib or in /lib.
    3940</para>
    4041
  • chapter05/binutils-exp.xml

    rab8b352 r72033583  
    1919$(exec_prefix)/$(target_alias) which expands into, for example,
    2020/usr/i686-pc-linux-gnu. Since we only build for our own system we don't
    21 need this target specific directory in $LFS/usr. You would use that
    22 setup if you use your system to cross-compile (for example you would
    23 compile a package on your Intel machine that generates code that can be
     21need this target specific directory in $LFS/usr. That setup would be used
     22if the system is used to cross-compile (for example
     23compiling a package on the Intel machine that generates code that can be
    2424executed on Apple PowerPC machines).
    2525</para>
  • chapter05/bzip2-exp.xml

    rab8b352 r72033583  
    1313is the last parameter of the sed command which indicates the file to
    1414search and replace in. sed normally sends the modified file to stdout
    15 (standard output) which will be your console. With the construction we
     15(standard output) which will be the console. With the construction we
    1616use, sed's output will be piped to the make program. Normally when make
    1717is started it tries to find a number of files like Makefile. But we have
     
    2525<para>
    2626<userinput>LDFLAGS=-static:</userinput> This is the second way we use to
    27 link a package statically. This is also the most common way. As you'll
    28 notice, the -all-static value is only used with the binutils package and
     27link a package statically. This is also the most common way.
     28The -all-static value is only used with the binutils package and
    2929won't be used throughout the rest of this book.
    3030</para>
  • chapter05/gcc-exp.xml

    rab8b352 r72033583  
    55<userinput>--enable-languages=c,c++:</userinput> This only builds the C
    66and C++ compilers and not the other available compilers as they are, on
    7 the average, not often used. If you do need those other compilers don't
    8 use the --enable-languages parameter.
     7the average, not often used. If those other compilers are needed
     8the --enable-languages parameter can be omitted..
    99</para>
    1010
  • chapter05/gcc-inst.xml

    rab8b352 r72033583  
    33
    44<para>
    5 After you unpacked the gcc-2.95.2.1 archive don't enter the newly created
    6 gcc-2.95.2.1 directory but stay in the $LFS/usr/src directory. Install GCC by
     5After the gcc-2.95.2.1 archive was unpacked, the newly created
     6gcc-2.95.2.1 directory is not entered. The user should stay in the
     7$LFS/usr/src directory. GCC is installed by
    78running the following commands:
    89</para>
  • chapter05/gzip-inst.xml

    rab8b352 r72033583  
    33
    44<para>
    5 Before you install Gzip you have to unpack the gzip patch file.
     5Before Gzip is installed the the gzip patch file needs to be unpacked.
    66</para>
    77
  • chapter05/installasroot.xml

    rab8b352 r72033583  
    33
    44<para>
    5 It's best if you login as root or su to root when installing these
    6 files. That way you are assured that all files are owned by user root,
    7 group root (and not owned by the userid of your non-root user) and if a
     5It's best if the user logins as root or su's to root when installing these
     6files. That way he is assured that all files are owned by user root,
     7group root (and not owned by the userid of the non-root user) and if a
    88package wants to set special permissions it can do so without problems
    99due to non-root access.
     
    1111
    1212<para>
    13 If you read the documentation that comes with Glibc, Gcc and other
    14 packages they recommend not to compile the packages as user root. We
     13The documentation that comes with Glibc, Gcc and other
     14packages recommend not to compile the packages as user root. We
    1515feel it's safe to ignore that recommendation and compile as user root
    1616anyways. Hundreds of people using LFS have done so without any problems
    1717whatsoever and we haven't encountered any bugs in the compile processes
    1818that cause harm. So it's pretty safe (never can be 100% safe though, so
    19 it's up to you what you end up doing).
     19it's up to the user what he ends up doing).
    2020</para>
    2121
  • chapter05/introduction.xml

    rab8b352 r72033583  
    44<para>
    55In the following chapters we will install all the software that belongs to
    6 a basic Linux system. After you're done with this chapter you have a
     6a basic Linux system. After a user is done with this chapter he has a
    77fully working Linux system. The remaining chapters deal with setting up
    88networking, creating the boot scripts and adding an entry to lilo.conf so
    9 that you can boot your LFS system.
     9that the LFS system can be booted.
    1010</para>
    1111
     
    1414will be re-installed in the next chapter and linked dynamically. The
    1515reason for the static version first is that there is a chance that our
    16 normal Linux system and your LFS system aren't using the same C
     16normal Linux system and the LFS system aren't using the same C
    1717Library versions. If the programs in the first part are linked against
    1818an older C library version, those programs might not work well on the
     
    2222<para>
    2323The key to learn what makes Linux tick is to know exactly what packages
    24 are used for and why you or the system needs them. Descriptions
     24are used for and why a user or the system needs them. Descriptions
    2525of the package content are provided after the Installation subsection of each
    2626package and in Appendix A as well.
     
    3333
    3434<para>
    35 During the installation of various packages you will most likely see
    36 compiler warnings scrolling by on your screen. These are normal and can
     35During the installation of various packages the user will most likely see
     36compiler warnings scrolling by on the screen. These are normal and can
    3737be safely ignored. They are just that, warnings (mostly about improper
    3838use of the C or C++ syntax, but not illegal use. It's just that often C
     
    4242
    4343<para>
    44 Before we start, make sure you have the LFS environment variable setup
    45 if you plan on using it, by running the following command:
     44Before we start, it should be made sure the LFS environment variable was
     45setup
     46if it was planned to be used, by running the following command:
    4647</para>
    4748
Note: See TracChangeset for help on using the changeset viewer.