2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch05-introduction">
|
|
|
|
<title>Introduction</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>In the following chapters we will install all the software that belongs
|
|
|
|
to a basic Linux system. After you're done with this and the next chapter,
|
2001-04-14 02:29:56 +01:00
|
|
|
you'll have a fully working Linux system. The remaining chapters deal
|
|
|
|
with creating the boot scripts, making the LFS system bootable and
|
2001-07-22 20:45:10 +01:00
|
|
|
setting up basic networking.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The software in this chapter will be linked statically. These programs
|
2001-03-25 09:46:07 +01:00
|
|
|
will be reinstalled in the next chapter and linked dynamically. The
|
2001-01-24 00:31:17 +00:00
|
|
|
reason for the static version first is that there is a chance that our
|
2001-03-18 19:30:50 +00:00
|
|
|
normal Linux system and the LFS system aren't using the same C
|
2001-01-24 00:31:17 +00:00
|
|
|
Library versions. If the programs in the first part are linked against
|
|
|
|
an older C library version, those programs might not work well on the
|
2001-07-22 20:45:10 +01:00
|
|
|
LFS system.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The key to learn what makes Linux tick is to know exactly what packages
|
2001-03-18 19:30:50 +00:00
|
|
|
are used for and why a user or the system needs them. Descriptions
|
2001-01-24 00:31:17 +00:00
|
|
|
of the package content are provided after the Installation subsection of each
|
2001-07-22 20:45:10 +01:00
|
|
|
package and in Appendix A as well.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>During the installation of various packages, you will more than likely see
|
2001-04-14 02:29:56 +01:00
|
|
|
all kinds of compiler warnings scrolling by on the screen. These are
|
|
|
|
normal and can be safely ignored. They are just that, warnings (mostly
|
|
|
|
about improper use of the C or C++ syntax, but not illegal use. It's just
|
|
|
|
that, often, C standards changed and packages still use the old standard
|
2001-07-22 20:45:10 +01:00
|
|
|
which is not a problem).</para>
|
|
|
|
|
|
|
|
<para>Before we start, make sure the LFS environment variable is setup
|
|
|
|
properly if you decided to make use of it. Run the following:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>echo $LFS</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Check to make sure the output contains the correct directory to the LFS
|
|
|
|
partition's mount point (/mnt/lfs for example).</para>
|
2001-04-14 02:29:56 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|