[d1ebcc8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b330f4a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d1ebcc8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[b330f4a] | 7 |
|
---|
[d1ebcc8] | 8 | <sect1 id="pre-hostreqs">
|
---|
[b330f4a] | 9 | <?dbhtml filename="hostreqs.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Host System Requirements</title>
|
---|
| 12 |
|
---|
[d12ae76] | 13 | <para>Your host system should have the following software with the minimum
|
---|
| 14 | versions indicated. This should not be an issue for most modern Linux
|
---|
| 15 | distributions. Also note that many distributions will place software headers
|
---|
| 16 | into separate packages, often in the form of <quote>[package-name]-devel</quote>
|
---|
| 17 | or <quote>[package-name]-dev</quote>. Be sure to install those as well, if
|
---|
| 18 | your distribution provides them.</para>
|
---|
| 19 |
|
---|
| 20 | <itemizedlist>
|
---|
| 21 | <listitem>
|
---|
| 22 | <para>Bash-2.05a</para>
|
---|
| 23 | </listitem>
|
---|
| 24 | <listitem>
|
---|
| 25 | <para>Binutils-2.12 (Versions greater than &binutils-version; not recommended.)</para>
|
---|
| 26 | </listitem>
|
---|
| 27 | <listitem>
|
---|
| 28 | <para>Bzip2-1.0.2</para>
|
---|
| 29 | </listitem>
|
---|
| 30 | <listitem>
|
---|
| 31 | <para>Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0
|
---|
| 32 | and Fileutils-4.1)</para>
|
---|
| 33 | </listitem>
|
---|
| 34 | <listitem>
|
---|
| 35 | <para>Diffutils-2.8</para>
|
---|
| 36 | </listitem>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Findutils-4.1.20</para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Gawk-3.0</para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Gcc-2.95.3 (Versions greater than &gcc-version; not recommended.)</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Glibc-2.2.5 (Versions greater than &glibc-version; not recommended.)</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Grep-2.5</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Gzip-1.2.4</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Linux Kernel-2.6.2 (having been compiled with Gcc-3.0)</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Make-3.79.1</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Patch-2.5.4</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Sed-3.0.2</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Tar-1.14</para>
|
---|
| 69 | </listitem>
|
---|
| 70 |
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <para>There are two main reasons for the kernel version requirement. First,
|
---|
| 74 | the Native POSIX Threading Library (NPTL) test suite will segfault if the
|
---|
| 75 | host's kernel has not been compiled with GCC-3.0 or a later version. Second,
|
---|
| 76 | the 2.6.2 or later version of the kernel is required for the use of Udev.
|
---|
| 77 | Udev creates devices dynamically by reading from the <systemitem
|
---|
[b330f4a] | 78 | class="filesystem">sysfs</systemitem> file system. However, support for this
|
---|
| 79 | filesystem has only recently been implemented in most of the kernel drivers.
|
---|
| 80 | We must be sure that all critical system devices get created properly.</para>
|
---|
| 81 |
|
---|
| 82 | <para>In order to determine whether the host kernel meets the requirements
|
---|
| 83 | outlined above, run the following command:</para>
|
---|
[d1ebcc8] | 84 |
|
---|
[fe88627d] | 85 | <screen role="nodump"><userinput>cat /proc/version</userinput></screen>
|
---|
[d1ebcc8] | 86 |
|
---|
[b330f4a] | 87 | <para>This will produce output similar to:</para>
|
---|
[d1ebcc8] | 88 |
|
---|
| 89 | <screen><computeroutput>Linux version 2.6.2 (user@host) (gcc version 3.4.0) #1
|
---|
| 90 | Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
|
---|
| 91 |
|
---|
[b330f4a] | 92 | <para>If the results of the above command do not state that the host kernel
|
---|
| 93 | is either 2.6.2 (or later), or that it was not compiled using a GCC-3.0 (or
|
---|
| 94 | later) compiler, one will need to be installed. There are two methods you
|
---|
| 95 | can take to solve this. First, see if your Linux vendor provides a 2.6.2 (or
|
---|
| 96 | later) kernel package. If so, you may wish to install it. If your vendor
|
---|
| 97 | doesn't offer a 2.6.2 (or later) kernel package, or you would prefer not to
|
---|
| 98 | install it, then you can compile a 2.6 kernel yourself. Instructions for
|
---|
| 99 | compiling the kernel and configuring the boot loader (assuming the host
|
---|
[d12ae76] | 100 | uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
|
---|
[d1ebcc8] | 101 |
|
---|
| 102 | </sect1>
|
---|