[6370fa6] | 1 | <sect1 id="ch05-introduction">
|
---|
| 2 | <title>Introduction</title>
|
---|
| 3 |
|
---|
| 4 | <para>
|
---|
| 5 | In the following chapters we will install all the software that belongs to
|
---|
[607c7370] | 6 | a basic Linux system. After you're done with this and the next chapter,
|
---|
| 7 | you'll have a fully working Linux system. The remaining chapters deal
|
---|
| 8 | with creating the boot scripts, making the LFS system bootable and
|
---|
| 9 | setting up basic networking.
|
---|
[6370fa6] | 10 | </para>
|
---|
| 11 |
|
---|
| 12 | <para>
|
---|
| 13 | The software in this chapter will be linked statically. These programs
|
---|
[13dd793] | 14 | will be reinstalled in the next chapter and linked dynamically. The
|
---|
[6370fa6] | 15 | reason for the static version first is that there is a chance that our
|
---|
[72033583] | 16 | normal Linux system and the LFS system aren't using the same C
|
---|
[6370fa6] | 17 | Library versions. If the programs in the first part are linked against
|
---|
| 18 | an older C library version, those programs might not work well on the
|
---|
| 19 | LFS system.
|
---|
| 20 | </para>
|
---|
| 21 |
|
---|
| 22 | <para>
|
---|
| 23 | The key to learn what makes Linux tick is to know exactly what packages
|
---|
[72033583] | 24 | are used for and why a user or the system needs them. Descriptions
|
---|
[6370fa6] | 25 | of the package content are provided after the Installation subsection of each
|
---|
| 26 | package and in Appendix A as well.
|
---|
| 27 | </para>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
[607c7370] | 30 | During the installation of various packages, you will more than likely see
|
---|
| 31 | all kinds of compiler warnings scrolling by on the screen. These are
|
---|
| 32 | normal and can be safely ignored. They are just that, warnings (mostly
|
---|
| 33 | about improper use of the C or C++ syntax, but not illegal use. It's just
|
---|
| 34 | that, often, C standards changed and packages still use the old standard
|
---|
| 35 | which is not a problem).
|
---|
[6370fa6] | 36 | </para>
|
---|
| 37 |
|
---|
| 38 | <para>
|
---|
[607c7370] | 39 | Before we start, make sure the LFS environment variable is setup
|
---|
| 40 | properly if you decided to make use of it. Run the following:
|
---|
[6370fa6] | 41 | </para>
|
---|
| 42 |
|
---|
| 43 | <blockquote><literallayout>
|
---|
| 44 | <userinput>echo $LFS</userinput>
|
---|
| 45 | </literallayout></blockquote>
|
---|
| 46 |
|
---|
[607c7370] | 47 | <para>
|
---|
| 48 | Check to make sure the output contains the correct directory to the LFS
|
---|
| 49 | partition's mount point (/mnt/lfs for example).
|
---|
| 50 | </para>
|
---|
| 51 |
|
---|
[6370fa6] | 52 | </sect1>
|
---|
| 53 |
|
---|