Ignore:
Timestamp:
04/22/2006 10:21:08 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8137d6f
Parents:
fd8b059
Message:

Revised again the Host System Requirements page wording and look.
Thanks to Bruce Dubbs for the patch.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prologue/hostreqs.xml

    rfd8b059 r5e858e7  
    1717    <quote>&lt;package-name&gt;-devel</quote> or
    1818    <quote>&lt;package-name&gt;-dev</quote>. Be sure to install those if
    19     your distribution provides them. For each package a command has been
    20     added to help you to determine what version is installed on your
    21     host.</para>
     19    your distribution provides them.</para>
    2220
    2321  <itemizedlist spacing="compact">
     
    2523    <listitem>
    2624      <para><emphasis role="strong">Bash-2.05a</emphasis></para>
    27 
    28 <screen role="nodump"><userinput>bash --version</userinput></screen>
    2925    </listitem>
    3026
     
    3329      greater than &binutils-version; are not recommended as they have
    3430      not been tested)</para>
    35 
    36 <screen role="nodump"><userinput>ld --version</userinput></screen>
    3731    </listitem>
    3832
    3933    <listitem>
    4034      <para><emphasis role="strong">Bzip2-1.0.2</emphasis></para>
    41 
    42 <screen role="nodump"><userinput>bzip2 --version</userinput></screen>
    4335    </listitem>
    4436
     
    4638      <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
    4739      Textutils-2.0, and Fileutils-4.1)</para>
    48 
    49 <screen role="nodump"><userinput>chonw --version</userinput></screen>
    5040    </listitem>
    5141
    5242    <listitem>
    5343      <para><emphasis role="strong">Diffutils-2.8</emphasis></para>
    54 
    55 <screen role="nodump"><userinput>diff --version</userinput></screen>
    5644    </listitem>
    5745
    5846    <listitem>
    5947      <para><emphasis role="strong">Findutils-4.1.20</emphasis></para>
    60 
    61 <screen role="nodump"><userinput>find --version</userinput></screen>
    6248    </listitem>
    6349
    6450    <listitem>
    6551      <para><emphasis role="strong">Gawk-3.0</emphasis></para>
    66 
    67 <screen role="nodump"><userinput>gawk --version</userinput></screen>
    6852    </listitem>
    6953
     
    7256      greater than &gcc-version; are not recommended as they have not
    7357      been tested)</para>
    74 
    75 <screen role="nodump"><userinput>gcc --version</userinput></screen>
    7658    </listitem>
    7759
     
    8062      greater than &glibc-version; are not recommended as they have
    8163      not been tested)</para>
    82 
    83 <screen role="nodump"><userinput>/lib/libc.so.6</userinput></screen>
    8464    </listitem>
    8565
    8666    <listitem>
    8767      <para><emphasis role="strong">Grep-2.5</emphasis></para>
    88 
    89 <screen role="nodump"><userinput>grep --version</userinput></screen>
    9068    </listitem>
    9169
    9270    <listitem>
    9371      <para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
    94 
    95 <screen role="nodump"><userinput>gzip --version</userinput></screen>
    9672    </listitem>
    9773
    9874    <listitem>
    9975      <para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
    100       (having been compiled with Gcc-3.0)</para>
     76      (having been compiled with GCC-3.0 or greater)</para>
    10177
    10278      <para>The reason for the kernel version requirement is that thread-local
     
    10682      GCC.</para>
    10783
    108       <para>In order to determine whether the host kernel meets the requirements
    109       outlined above, run the following command:</para>
    110 
    111 <screen role="nodump"><userinput>cat /proc/version</userinput></screen>
    112 
    113       <para>This will produce output similar to:</para>
    114 
    115 <screen><computeroutput>Linux version 2.6.2 (user@host) (gcc version 3.4.0) #1
    116     Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
    117 
    118       <para>If the results of the above command do not state that the host
    119       kernel is either 2.6.x, or that it was not compiled using a GCC-3.0
    120       (or later) compiler, you will have to replace the kernel with one
    121       adhering to the specifications. There are two methods you can take
     84      <para>If the host kernel is either 2.6.x, or it was not compiled using
     85      a GCC-3.0 (or later) compiler, you will have to replace the kernel with
     86      one adhering to the specifications. There are two methods you can take
    12287      to solve this. First, see if your Linux vendor provides a 2.6 kernel
    123       package. If so, you may wish to install it. If your vendor doesn't
    124       offer a 2.6 kernel package, or you would prefer not to install it,
    125       then you can compile a 2.6 kernel yourself. Instructions for compiling
    126       the kernel and configuring the boot loader (assuming the host uses GRUB)
    127       are located in <xref linkend="chapter-bootable"/>.</para>
     88      package. If so, you may wish to install it. If your vendor doesn't offer
     89      a 2.6 kernel package, or you would prefer not to install it, then you
     90      can compile a 2.6 kernel yourself. Instructions for compiling the kernel
     91      and configuring the boot loader (assuming the host uses GRUB) are located
     92      in <xref linkend="chapter-bootable"/>.</para>
    12893    </listitem>
    12994
    13095    <listitem>
    13196      <para><emphasis role="strong">Make-3.79.1</emphasis></para>
    132 
    133 <screen role="nodump"><userinput>make --version</userinput></screen>
    13497    </listitem>
    13598
    13699    <listitem>
    137100      <para><emphasis role="strong">Patch-2.5.4</emphasis></para>
    138 
    139 <screen role="nodump"><userinput>patch --version</userinput></screen>
    140101    </listitem>
    141102
    142103    <listitem>
    143104      <para><emphasis role="strong">Sed-3.0.2</emphasis></para>
    144 
    145 <screen role="nodump"><userinput>sed --version</userinput></screen>
    146105    </listitem>
    147106
    148107    <listitem>
    149108      <para><emphasis role="strong">Tar-1.14</emphasis></para>
    150 
    151 <screen role="nodump"><userinput>tar --version</userinput></screen>
    152109    </listitem>
    153110
    154111  </itemizedlist>
    155112
     113  <para>To see all the appropriate versions, copy the following script
     114  to your system and run it.</para>
     115
     116<screen><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
     117<literal>#!/bin/bash
     118
     119# Simple script to list version numbers of critical developmet tools
     120
     121bash --version | head -n1 | cut -d" " -f2-4
     122echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
     123bzip2 --version 2&gt;&amp;1 &lt; /dev/null | head -n1 | cut -d" " -f1,6-
     124echo -n "Coreutils: "; chown --version | head -n1 | cut -d" " -f4
     125diff --version | head -n1
     126find --version | head -n1
     127gawk --version | head -n1
     128gcc --version | head -n1
     129/lib/libc.so.6 | head -n1 | cut -d" " -f1-7
     130grep --version | head -n1
     131gzip --version | head -n1
     132cat /proc/version | head -n1 | cut -d" " -f1-3,5-7
     133make --version | head -n1
     134patch --version | head -n1
     135sed --version | head -n1
     136tar --version | head -n1</literal>
     137
     138EOF
     139
     140bash version-check.sh</userinput></screen>
     141
    156142</sect1>
Note: See TracChangeset for help on using the changeset viewer.