2005-06-29 06:27:02 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-12-18 12:25:25 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2005-06-29 06:27:02 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 12:25:25 +00:00
|
|
|
|
2006-04-21 21:24:52 +01:00
|
|
|
<sect1 id="pre-hostreqs">
|
2005-12-18 12:25:25 +00:00
|
|
|
<?dbhtml filename="hostreqs.html"?>
|
|
|
|
|
|
|
|
<title>Host System Requirements</title>
|
|
|
|
|
2006-04-21 22:08:26 +01:00
|
|
|
<para>Your host system should have the following software with the
|
|
|
|
minimum versions indicated. This should not be an issue for most
|
|
|
|
modern Linux distributions. Also note that many distributions will
|
|
|
|
place software headers into separate packages, often in the form of
|
|
|
|
<quote><package-name>-devel</quote> or
|
|
|
|
<quote><package-name>-dev</quote>. Be sure to install those if
|
2006-04-22 11:21:08 +01:00
|
|
|
your distribution provides them.</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
|
2006-04-20 23:16:58 +01:00
|
|
|
<itemizedlist spacing="compact">
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Bash-2.05a</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Binutils-2.12</emphasis> (Versions
|
|
|
|
greater than &binutils-version; are not recommended as they have
|
|
|
|
not been tested)</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-11-25 17:13:22 +00:00
|
|
|
<listitem>
|
|
|
|
<para><emphasis role="strong">Bison-1.26a</emphasis></para>
|
|
|
|
</listitem>
|
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Bzip2-1.0.2</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
|
|
|
|
Textutils-2.0, and Fileutils-4.1)</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Diffutils-2.8</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Findutils-4.1.20</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Gawk-3.0</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Gcc-2.95.3</emphasis> (Versions
|
|
|
|
greater than &gcc-version; are not recommended as they have not
|
|
|
|
been tested)</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Glibc-2.2.5</emphasis> (Versions
|
|
|
|
greater than &glibc-version; are not recommended as they have
|
|
|
|
not been tested)</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Grep-2.5</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
|
2006-04-22 11:21:08 +01:00
|
|
|
(having been compiled with GCC-3.0 or greater)</para>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
|
|
|
<para>The reason for the kernel version requirement is that thread-local
|
|
|
|
storage support in Binutils will not be built and the Native POSIX
|
|
|
|
Threading Library (NPTL) test suite will segfault if the host's kernel
|
|
|
|
isn't at least a 2.6.x version compiled with a 3.0 or later release of
|
|
|
|
GCC.</para>
|
|
|
|
|
2006-05-08 21:08:04 +01:00
|
|
|
<para>If the host kernel is either earlier than 2.6.x, or it was not
|
|
|
|
compiled using a GCC-3.0 (or later) compiler, you will have to replace
|
|
|
|
the kernel with one adhering to the specifications. There are two methods
|
|
|
|
you can take to solve this. First, see if your Linux vendor provides a
|
|
|
|
2.6 kernel package. If so, you may wish to install it. If your vendor
|
|
|
|
doesn't offer a 2.6 kernel package, or you would prefer not to install it,
|
|
|
|
then you can compile a 2.6 kernel yourself. Instructions for compiling the
|
|
|
|
kernel and configuring the boot loader (assuming the host uses GRUB) are
|
|
|
|
located in <xref linkend="chapter-bootable"/>.</para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Make-3.79.1</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Patch-2.5.4</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Sed-3.0.2</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
|
2006-04-19 20:04:21 +01:00
|
|
|
<listitem>
|
2006-04-21 22:08:26 +01:00
|
|
|
<para><emphasis role="strong">Tar-1.14</emphasis></para>
|
2006-04-19 20:04:21 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-05-03 22:10:44 +01:00
|
|
|
<para>To see whether your host system has all the appropriate versions, run the following:</para>
|
2006-04-22 11:21:08 +01:00
|
|
|
|
2006-04-23 11:18:35 +01:00
|
|
|
<screen role="nodump"><userinput>cat > version-check.sh << "EOF"
|
2006-04-22 11:21:08 +01:00
|
|
|
<literal>#!/bin/bash
|
|
|
|
|
2006-05-03 22:10:44 +01:00
|
|
|
# Simple script to list version numbers of critical development tools
|
2006-04-22 11:21:08 +01:00
|
|
|
|
|
|
|
bash --version | head -n1 | cut -d" " -f2-4
|
|
|
|
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
|
2007-01-30 05:40:43 +00:00
|
|
|
bison --version | head -n1
|
2006-04-22 11:21:08 +01:00
|
|
|
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
2006-04-22 12:08:44 +01:00
|
|
|
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
2006-04-22 11:21:08 +01:00
|
|
|
diff --version | head -n1
|
|
|
|
find --version | head -n1
|
|
|
|
gawk --version | head -n1
|
|
|
|
gcc --version | head -n1
|
|
|
|
/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
|
|
|
|
grep --version | head -n1
|
|
|
|
gzip --version | head -n1
|
2007-01-30 05:40:43 +00:00
|
|
|
cat /proc/version | head -n1
|
2006-04-22 11:21:08 +01:00
|
|
|
make --version | head -n1
|
|
|
|
patch --version | head -n1
|
|
|
|
sed --version | head -n1
|
|
|
|
tar --version | head -n1</literal>
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
bash version-check.sh</userinput></screen>
|
|
|
|
|
2005-06-29 06:27:02 +01:00
|
|
|
</sect1>
|