[d1ebcc8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d1ebcc8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[b330f4a] | 7 |
|
---|
[dc931cb] | 8 | <sect1 id="pre-hostreqs">
|
---|
[b330f4a] | 9 | <?dbhtml filename="hostreqs.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Host System Requirements</title>
|
---|
| 12 |
|
---|
[fd8b059] | 13 | <para>Your host system should have the following software with the
|
---|
| 14 | minimum versions indicated. This should not be an issue for most
|
---|
| 15 | modern Linux distributions. Also note that many distributions will
|
---|
| 16 | place software headers into separate packages, often in the form of
|
---|
| 17 | <quote><package-name>-devel</quote> or
|
---|
| 18 | <quote><package-name>-dev</quote>. Be sure to install those if
|
---|
[5e858e7] | 19 | your distribution provides them.</para>
|
---|
[d12ae76] | 20 |
|
---|
[bf5724b] | 21 | <itemizedlist spacing="compact">
|
---|
[fd8b059] | 22 |
|
---|
[d12ae76] | 23 | <listitem>
|
---|
[fd8b059] | 24 | <para><emphasis role="strong">Bash-2.05a</emphasis></para>
|
---|
[d12ae76] | 25 | </listitem>
|
---|
[fd8b059] | 26 |
|
---|
[d12ae76] | 27 | <listitem>
|
---|
[fd8b059] | 28 | <para><emphasis role="strong">Binutils-2.12</emphasis> (Versions
|
---|
| 29 | greater than &binutils-version; are not recommended as they have
|
---|
| 30 | not been tested)</para>
|
---|
[d12ae76] | 31 | </listitem>
|
---|
[fd8b059] | 32 |
|
---|
[07dfccb] | 33 | <listitem>
|
---|
[27b8ff9] | 34 | <para><emphasis role="strong">Bison-1.875</emphasis></para>
|
---|
[07dfccb] | 35 | </listitem>
|
---|
| 36 |
|
---|
[d12ae76] | 37 | <listitem>
|
---|
[fd8b059] | 38 | <para><emphasis role="strong">Bzip2-1.0.2</emphasis></para>
|
---|
[d12ae76] | 39 | </listitem>
|
---|
[fd8b059] | 40 |
|
---|
[d12ae76] | 41 | <listitem>
|
---|
[fd8b059] | 42 | <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
|
---|
| 43 | Textutils-2.0, and Fileutils-4.1)</para>
|
---|
[d12ae76] | 44 | </listitem>
|
---|
[fd8b059] | 45 |
|
---|
[d12ae76] | 46 | <listitem>
|
---|
[fd8b059] | 47 | <para><emphasis role="strong">Diffutils-2.8</emphasis></para>
|
---|
[d12ae76] | 48 | </listitem>
|
---|
[fd8b059] | 49 |
|
---|
[d12ae76] | 50 | <listitem>
|
---|
[fd8b059] | 51 | <para><emphasis role="strong">Findutils-4.1.20</emphasis></para>
|
---|
[d12ae76] | 52 | </listitem>
|
---|
[fd8b059] | 53 |
|
---|
[d12ae76] | 54 | <listitem>
|
---|
[fd8b059] | 55 | <para><emphasis role="strong">Gawk-3.0</emphasis></para>
|
---|
[d12ae76] | 56 | </listitem>
|
---|
[fd8b059] | 57 |
|
---|
[d12ae76] | 58 | <listitem>
|
---|
[acec478] | 59 | <!-- Gcc-2.95.3 breaks feature tests when using CC="gcc -B/usr/bin/"
|
---|
| 60 | in the *-pass1 sections -->
|
---|
| 61 | <para><emphasis role="strong">Gcc-3.0.1</emphasis> (Versions
|
---|
[fd8b059] | 62 | greater than &gcc-version; are not recommended as they have not
|
---|
| 63 | been tested)</para>
|
---|
[d12ae76] | 64 | </listitem>
|
---|
[fd8b059] | 65 |
|
---|
[d12ae76] | 66 | <listitem>
|
---|
[fd8b059] | 67 | <para><emphasis role="strong">Glibc-2.2.5</emphasis> (Versions
|
---|
| 68 | greater than &glibc-version; are not recommended as they have
|
---|
| 69 | not been tested)</para>
|
---|
[d12ae76] | 70 | </listitem>
|
---|
[fd8b059] | 71 |
|
---|
[d12ae76] | 72 | <listitem>
|
---|
[fd8b059] | 73 | <para><emphasis role="strong">Grep-2.5</emphasis></para>
|
---|
[d12ae76] | 74 | </listitem>
|
---|
[fd8b059] | 75 |
|
---|
[d12ae76] | 76 | <listitem>
|
---|
[fd8b059] | 77 | <para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
|
---|
[d12ae76] | 78 | </listitem>
|
---|
[fd8b059] | 79 |
|
---|
[d12ae76] | 80 | <listitem>
|
---|
[fd8b059] | 81 | <para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
|
---|
[5e858e7] | 82 | (having been compiled with GCC-3.0 or greater)</para>
|
---|
[fd8b059] | 83 |
|
---|
| 84 | <para>The reason for the kernel version requirement is that thread-local
|
---|
| 85 | storage support in Binutils will not be built and the Native POSIX
|
---|
| 86 | Threading Library (NPTL) test suite will segfault if the host's kernel
|
---|
| 87 | isn't at least a 2.6.x version compiled with a 3.0 or later release of
|
---|
| 88 | GCC.</para>
|
---|
| 89 |
|
---|
[a12d507] | 90 | <para>If the host kernel is either earlier than 2.6.x, or it was not
|
---|
| 91 | compiled using a GCC-3.0 (or later) compiler, you will have to replace
|
---|
| 92 | the kernel with one adhering to the specifications. There are two methods
|
---|
| 93 | you can take to solve this. First, see if your Linux vendor provides a
|
---|
| 94 | 2.6 kernel package. If so, you may wish to install it. If your vendor
|
---|
| 95 | doesn't offer a 2.6 kernel package, or you would prefer not to install it,
|
---|
| 96 | then you can compile a 2.6 kernel yourself. Instructions for compiling the
|
---|
| 97 | kernel and configuring the boot loader (assuming the host uses GRUB) are
|
---|
| 98 | located in <xref linkend="chapter-bootable"/>.</para>
|
---|
[d12ae76] | 99 | </listitem>
|
---|
[fd8b059] | 100 |
|
---|
[d12ae76] | 101 | <listitem>
|
---|
[fd8b059] | 102 | <para><emphasis role="strong">Make-3.79.1</emphasis></para>
|
---|
[d12ae76] | 103 | </listitem>
|
---|
[fd8b059] | 104 |
|
---|
[d12ae76] | 105 | <listitem>
|
---|
[fd8b059] | 106 | <para><emphasis role="strong">Patch-2.5.4</emphasis></para>
|
---|
[d12ae76] | 107 | </listitem>
|
---|
[fd8b059] | 108 |
|
---|
[d12ae76] | 109 | <listitem>
|
---|
[fd8b059] | 110 | <para><emphasis role="strong">Sed-3.0.2</emphasis></para>
|
---|
[d12ae76] | 111 | </listitem>
|
---|
[fd8b059] | 112 |
|
---|
[d12ae76] | 113 | <listitem>
|
---|
[fd8b059] | 114 | <para><emphasis role="strong">Tar-1.14</emphasis></para>
|
---|
[d12ae76] | 115 | </listitem>
|
---|
| 116 |
|
---|
| 117 | </itemizedlist>
|
---|
| 118 |
|
---|
[2914ab8c] | 119 | <para>To see whether your host system has all the appropriate versions, run the following:</para>
|
---|
[5e858e7] | 120 |
|
---|
[b179883] | 121 | <screen role="nodump"><userinput>cat > version-check.sh << "EOF"
|
---|
[5e858e7] | 122 | <literal>#!/bin/bash
|
---|
| 123 |
|
---|
[2914ab8c] | 124 | # Simple script to list version numbers of critical development tools
|
---|
[5e858e7] | 125 |
|
---|
| 126 | bash --version | head -n1 | cut -d" " -f2-4
|
---|
| 127 | echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
|
---|
[172a92e] | 128 | bison --version | head -n1
|
---|
[5e858e7] | 129 | bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
---|
[baaa5c3] | 130 | echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
---|
[5e858e7] | 131 | diff --version | head -n1
|
---|
| 132 | find --version | head -n1
|
---|
| 133 | gawk --version | head -n1
|
---|
| 134 | gcc --version | head -n1
|
---|
| 135 | /lib/libc.so.6 | head -n1 | cut -d" " -f1-7
|
---|
| 136 | grep --version | head -n1
|
---|
| 137 | gzip --version | head -n1
|
---|
[a3b689f] | 138 | cat /proc/version
|
---|
[5e858e7] | 139 | make --version | head -n1
|
---|
| 140 | patch --version | head -n1
|
---|
| 141 | sed --version | head -n1
|
---|
| 142 | tar --version | head -n1</literal>
|
---|
| 143 |
|
---|
| 144 | EOF
|
---|
| 145 |
|
---|
| 146 | bash version-check.sh</userinput></screen>
|
---|
| 147 |
|
---|
[d1ebcc8] | 148 | </sect1>
|
---|