[a9e389d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a9e389d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[c024635] | 8 | <sect1 id="hostreqs">
|
---|
[a9e389d] | 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
|
---|
[5e492c0] | 14 | recent Linux distrubtion. Your host system should have the following
|
---|
[a9e389d] | 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>
|
---|
[08270e9] | 24 | <para><emphasis role="strong">Bash-4.0</emphasis></para>
|
---|
[a9e389d] | 25 | </listitem>
|
---|
| 26 |
|
---|
| 27 | <listitem>
|
---|
[5e492c0] | 28 | <para><emphasis role="strong">Binutils-2.20</emphasis></para>
|
---|
[a9e389d] | 29 | </listitem>
|
---|
| 30 |
|
---|
| 31 | <listitem>
|
---|
[5e492c0] | 32 | <para><emphasis role="strong">Bzip2-1.0.5</emphasis></para>
|
---|
[a9e389d] | 33 | </listitem>
|
---|
| 34 |
|
---|
| 35 | <listitem>
|
---|
[5e492c0] | 36 | <para><emphasis role="strong">Coreutils-8.1</emphasis></para>
|
---|
[a9e389d] | 37 | </listitem>
|
---|
| 38 |
|
---|
| 39 | <listitem>
|
---|
[5e492c0] | 40 | <para><emphasis role="strong">Diffutils-3.0</emphasis></para>
|
---|
[a9e389d] | 41 | </listitem>
|
---|
| 42 |
|
---|
| 43 | <listitem>
|
---|
[5e492c0] | 44 | <para><emphasis role="strong">Findutils-4.4.0</emphasis></para>
|
---|
[a9e389d] | 45 | </listitem>
|
---|
| 46 |
|
---|
| 47 | <listitem>
|
---|
[0f6a3ba] | 48 | <para><emphasis role="strong">Gawk-3.1</emphasis></para>
|
---|
[a9e389d] | 49 | </listitem>
|
---|
| 50 |
|
---|
| 51 | <listitem>
|
---|
[20457ea] | 52 | <para><emphasis role="strong">GCC-4.4</emphasis></para>
|
---|
[a9e389d] | 53 | </listitem>
|
---|
| 54 |
|
---|
| 55 | <listitem>
|
---|
[5e492c0] | 56 | <para><emphasis role="strong">Glibc-2.11</emphasis></para>
|
---|
[a9e389d] | 57 | </listitem>
|
---|
| 58 |
|
---|
| 59 | <listitem>
|
---|
[5e492c0] | 60 | <para><emphasis role="strong">Grep-2.6</emphasis></para>
|
---|
[a9e389d] | 61 | </listitem>
|
---|
| 62 |
|
---|
| 63 | <listitem>
|
---|
[5e492c0] | 64 | <para><emphasis role="strong">Gzip-1.3</emphasis></para>
|
---|
[a9e389d] | 65 | </listitem>
|
---|
| 66 |
|
---|
[861ae7f] | 67 | <listitem>
|
---|
| 68 | <para><emphasis role="strong">M4-1.4.16</emphasis></para>
|
---|
| 69 | </listitem>
|
---|
| 70 |
|
---|
[a9e389d] | 71 | <listitem>
|
---|
[5e492c0] | 72 | <para><emphasis role="strong">Make-3.81</emphasis></para>
|
---|
[a9e389d] | 73 | </listitem>
|
---|
| 74 |
|
---|
[f8ce9f5] | 75 | <listitem>
|
---|
| 76 | <para><emphasis role="strong">ncurses5</emphasis></para>
|
---|
| 77 | </listitem>
|
---|
| 78 |
|
---|
[a9e389d] | 79 | <listitem>
|
---|
[5e492c0] | 80 | <para><emphasis role="strong">Patch-2.6</emphasis></para>
|
---|
[a9e389d] | 81 | </listitem>
|
---|
| 82 |
|
---|
| 83 | <listitem>
|
---|
[5e492c0] | 84 | <para><emphasis role="strong">Sed-4.2.1</emphasis></para>
|
---|
[a9e389d] | 85 | </listitem>
|
---|
| 86 |
|
---|
[b355162] | 87 | <listitem>
|
---|
| 88 | <para><emphasis role="strong">Sudo-1.7.4p4</emphasis></para>
|
---|
| 89 | </listitem>
|
---|
| 90 |
|
---|
[a9e389d] | 91 | <listitem>
|
---|
[5e492c0] | 92 | <para><emphasis role="strong">Tar-1.23</emphasis></para>
|
---|
[a9e389d] | 93 | </listitem>
|
---|
| 94 |
|
---|
[501b458] | 95 | <listitem>
|
---|
| 96 | <para><emphasis role="strong">Texinfo-4.13</emphasis></para>
|
---|
| 97 | </listitem>
|
---|
| 98 |
|
---|
[a9e389d] | 99 | </itemizedlist>
|
---|
| 100 |
|
---|
| 101 | <para>To see whether your host system has all the appropriate versions, run the following:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="nodump"><userinput>cat > version-check.sh << "EOF"
|
---|
| 104 | <literal>#!/bin/bash
|
---|
| 105 |
|
---|
| 106 | # Simple script to list version numbers of critical development tools
|
---|
[f9f2236] | 107 | set -e
|
---|
[a9e389d] | 108 | bash --version | head -n1 | cut -d" " -f2-4
|
---|
[1e24bf0] | 109 | echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
---|
[a9e389d] | 110 | bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
---|
| 111 | echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
---|
| 112 | diff --version | head -n1
|
---|
| 113 | find --version | head -n1
|
---|
| 114 | gawk --version | head -n1
|
---|
| 115 | gcc --version | head -n1
|
---|
[833b9a5] | 116 | ldd $(which ${SHELL}) | grep libc.so | cut -d ' ' -f 3 | ${SHELL} | head -n 1 \
|
---|
| 117 | | cut -d ' ' -f 1-10
|
---|
[a9e389d] | 118 | grep --version | head -n1
|
---|
| 119 | gzip --version | head -n1
|
---|
[861ae7f] | 120 | m4 --version | head -n1
|
---|
[a9e389d] | 121 | make --version | head -n1
|
---|
[f8ce9f5] | 122 | echo "#include <ncurses.h>" | gcc -E - > /dev/null
|
---|
[a9e389d] | 123 | patch --version | head -n1
|
---|
| 124 | sed --version | head -n1
|
---|
[b355162] | 125 | sudo -V | head -n1
|
---|
[501b458] | 126 | tar --version | head -n1
|
---|
| 127 | makeinfo --version | head -n1</literal>
|
---|
[a9e389d] | 128 |
|
---|
| 129 | EOF
|
---|
| 130 |
|
---|
| 131 | bash version-check.sh</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | </sect1>
|
---|