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