[166fd8d3] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[166fd8d3] | 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>You should be able to build a CLFS system from just about any
|
---|
| 14 | Unix-type operating system. Your host system should have the following
|
---|
| 15 | software with the minimum versions indicated. Also note that many
|
---|
| 16 | distributions will place software headers into separate packages, often in
|
---|
| 17 | the form of <quote>[package-name]-devel</quote> or
|
---|
| 18 | <quote>[package-name]-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 |
|
---|
[0417e7d] | 33 | <listitem>
|
---|
| 34 | <para><emphasis role="strong">Bison-1.875</emphasis></para>
|
---|
| 35 | </listitem>
|
---|
| 36 |
|
---|
[166fd8d3] | 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>
|
---|
[c89c360] | 55 | <para><emphasis role="strong">Gawk-3.1.5</emphasis></para>
|
---|
[166fd8d3] | 56 | </listitem>
|
---|
| 57 |
|
---|
| 58 | <listitem>
|
---|
[c89c360] | 59 | <para><emphasis role="strong">GCC 4.1</emphasis> (Versions
|
---|
[166fd8d3] | 60 | greater than &gcc-version; are not recommended as they have not
|
---|
| 61 | been tested)</para>
|
---|
| 62 | </listitem>
|
---|
| 63 |
|
---|
| 64 | <listitem>
|
---|
| 65 | <para><emphasis role="strong">Glibc-2.2.5</emphasis> (Versions
|
---|
[093b0e8] | 66 | greater than &eglibc-version; are not recommended as they have
|
---|
[166fd8d3] | 67 | not been tested)</para>
|
---|
| 68 | </listitem>
|
---|
| 69 |
|
---|
| 70 | <listitem>
|
---|
| 71 | <para><emphasis role="strong">Grep-2.5</emphasis></para>
|
---|
| 72 | </listitem>
|
---|
| 73 |
|
---|
| 74 | <listitem>
|
---|
| 75 | <para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
|
---|
| 76 | </listitem>
|
---|
| 77 |
|
---|
[0081237] | 78 | <listitem>
|
---|
| 79 | <para><emphasis role="strong">Linux 2.6.22</emphasis></para>
|
---|
[4ea666a] | 80 | </listitem>
|
---|
[0081237] | 81 |
|
---|
[166fd8d3] | 82 | <listitem>
|
---|
[c89c360] | 83 | <para><emphasis role="strong">Make-3.80</emphasis></para>
|
---|
[166fd8d3] | 84 | </listitem>
|
---|
| 85 |
|
---|
[0417e7d] | 86 | <listitem>
|
---|
| 87 | <para><emphasis role="strong">Ncurses-5.3</emphasis></para>
|
---|
| 88 | </listitem>
|
---|
| 89 |
|
---|
[166fd8d3] | 90 | <listitem>
|
---|
| 91 | <para><emphasis role="strong">Patch-2.5.4</emphasis></para>
|
---|
| 92 | </listitem>
|
---|
| 93 |
|
---|
| 94 | <listitem>
|
---|
| 95 | <para><emphasis role="strong">Sed-3.0.2</emphasis></para>
|
---|
| 96 | </listitem>
|
---|
| 97 |
|
---|
| 98 | <listitem>
|
---|
| 99 | <para><emphasis role="strong">Tar-1.14</emphasis></para>
|
---|
| 100 | </listitem>
|
---|
| 101 |
|
---|
[fca040b] | 102 | <listitem>
|
---|
[b80b685] | 103 | <para><emphasis role="strong">Texinfo-4.7</emphasis></para>
|
---|
[fca040b] | 104 | </listitem>
|
---|
| 105 |
|
---|
[1752595] | 106 | <listitem>
|
---|
| 107 | <para><emphasis role="strong">XZ-Utils-4.999.8beta</emphasis></para>
|
---|
| 108 | </listitem>
|
---|
| 109 |
|
---|
[166fd8d3] | 110 | </itemizedlist>
|
---|
| 111 |
|
---|
| 112 | <para>To see whether your host system has all the appropriate versions, run the following:</para>
|
---|
| 113 |
|
---|
| 114 | <screen role="nodump"><userinput>cat > version-check.sh << "EOF"
|
---|
| 115 | <literal>#!/bin/bash
|
---|
| 116 |
|
---|
| 117 | # Simple script to list version numbers of critical development tools
|
---|
| 118 |
|
---|
| 119 | bash --version | head -n1 | cut -d" " -f2-4
|
---|
[0417e7d] | 120 | echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
---|
| 121 | bison --version | head -n1
|
---|
[166fd8d3] | 122 | bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
---|
| 123 | echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
---|
| 124 | diff --version | head -n1
|
---|
| 125 | find --version | head -n1
|
---|
| 126 | gawk --version | head -n1
|
---|
| 127 | gcc --version | head -n1
|
---|
[0aee8d3] | 128 | $(find /lib{,64} -name libc.so.6) | head -n1 | cut -d" " -f1-7
|
---|
[166fd8d3] | 129 | grep --version | head -n1
|
---|
| 130 | gzip --version | head -n1
|
---|
[7be26ca] | 131 | uname -s -r
|
---|
[166fd8d3] | 132 | make --version | head -n1
|
---|
[0417e7d] | 133 | tic -V
|
---|
[166fd8d3] | 134 | patch --version | head -n1
|
---|
| 135 | sed --version | head -n1
|
---|
[fca040b] | 136 | tar --version | head -n1
|
---|
[1752595] | 137 | makeinfo --version | head -n1
|
---|
| 138 | xz --version | head -n1</literal>
|
---|
[166fd8d3] | 139 |
|
---|
| 140 | EOF
|
---|
| 141 |
|
---|
| 142 | bash version-check.sh</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | </sect1>
|
---|