source: prologue/hostreqs.xml@ 364eec6

Last change on this file since 364eec6 was 364eec6, checked in by Jeremy Huntwork <jhuntwork@…>, 17 years ago

Merged parts of r8372 to jh branch from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8384 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="pre-hostreqs">
9 <?dbhtml filename="hostreqs.html"?>
10
11 <title>Host System Requirements</title>
12
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>&lt;package-name&gt;-devel</quote> or
18 <quote>&lt;package-name&gt;-dev</quote>. Be sure to install those if
19 your distribution provides them.</para>
20
21 <itemizedlist spacing="compact">
22
23 <listitem>
24 <para><emphasis role="strong">Bash-2.05a</emphasis></para>
25 </listitem>
26
27 <listitem>
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>
31 </listitem>
32
33 <listitem>
34 <para><emphasis role="strong">Bison-1.875</emphasis></para>
35 </listitem>
36
37 <listitem>
38 <para><emphasis role="strong">Bzip2-1.0.2</emphasis></para>
39 </listitem>
40
41 <listitem>
42 <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
43 Textutils-2.0, and Fileutils-4.1)</para>
44 </listitem>
45
46 <listitem>
47 <para><emphasis role="strong">Diffutils-2.8</emphasis></para>
48 </listitem>
49
50 <listitem>
51 <para><emphasis role="strong">Findutils-4.1.20</emphasis></para>
52 </listitem>
53
54 <listitem>
55 <para><emphasis role="strong">Gawk-3.0</emphasis></para>
56 </listitem>
57
58 <listitem>
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
62 greater than &gcc-version; are not recommended as they have not
63 been tested)</para>
64 </listitem>
65
66 <listitem>
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>
70 </listitem>
71
72 <listitem>
73 <para><emphasis role="strong">Grep-2.5</emphasis></para>
74 </listitem>
75
76 <listitem>
77 <para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
78 </listitem>
79
80 <listitem>
81 <para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
82 (having been compiled with GCC-3.0 or greater)</para>
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
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>
99 </listitem>
100
101 <listitem>
102 <para><emphasis role="strong">Make-3.79.1</emphasis></para>
103 </listitem>
104
105 <listitem>
106 <para><emphasis role="strong">Patch-2.5.4</emphasis></para>
107 </listitem>
108
109 <listitem>
110 <para><emphasis role="strong">Sed-3.0.2</emphasis></para>
111 </listitem>
112
113 <listitem>
114 <para><emphasis role="strong">Tar-1.14</emphasis></para>
115 </listitem>
116
117 <!-- Needed by the apparently broken Binutils-2.18 -->
118 <listitem>
119 <para><emphasis role="strong">Texinfo-4.8</emphasis></para>
120 </listitem>
121
122 </itemizedlist>
123
124 <para>To see whether your host system has all the appropriate versions, run the following:</para>
125
126<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
127<literal>#!/bin/bash
128
129# Simple script to list version numbers of critical development tools
130
131bash --version | head -n1 | cut -d" " -f2-4
132echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
133bison --version | head -n1
134bzip2 --version 2&gt;&amp;1 &lt; /dev/null | head -n1 | cut -d" " -f1,6-
135echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
136diff --version | head -n1
137find --version | head -n1
138gawk --version | head -n1
139gcc --version | head -n1
140/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
141grep --version | head -n1
142gzip --version | head -n1
143cat /proc/version
144make --version | head -n1
145patch --version | head -n1
146sed --version | head -n1
147tar --version | head -n1
148makeinfo --version | head -n1</literal>
149
150EOF
151
152bash version-check.sh</userinput></screen>
153
154</sect1>
Note: See TracBrowser for help on using the repository browser.