Changeset fd8b059


Ignore:
Timestamp:
04/21/2006 09:08:26 PM (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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
5e858e7
Parents:
dc931cb
Message:

Added commands to determine the version of the equired packages installed on the host.
Thanks to Bruce Dubbs for the commands list and Randy McMurchy for review the wording.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rdc931cb rfd8b059  
    4040      <para>April 21, 2006</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[manuel] - Added commands to determine the version of the
     44          required packages installed on the host. Thanks to Bruce Dubbs
     45          for the commands list and Randy McMurchy for review the wording.</para>
     46        </listitem>
    4247        <listitem>
    4348          <para>[manuel] - Alphabetized patches list. Thanks to Justin
  • prologue/hostreqs.xml

    rdc931cb rfd8b059  
    1111  <title>Host System Requirements</title>
    1212
    13     <para>Your host system should have the following software with the minimum
    14     versions indicated. This should not be an issue for most modern Linux
    15     distributions. Also note that many distributions will place software headers
    16     into separate packages, often in the form of <quote>[package-name]-devel</quote>
    17     or <quote>[package-name]-dev</quote>. Be sure to install those as well, if
    18     your distribution provides them.</para>
     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. For each package a command has been
     20    added to help you to determine what version is installed on your
     21    host.</para>
    1922
    2023  <itemizedlist spacing="compact">
     24
    2125    <listitem>
    22       <para>Bash-2.05a</para>
     26      <para><emphasis role="strong">Bash-2.05a</emphasis></para>
     27
     28<screen role="nodump"><userinput>bash --version</userinput></screen>
    2329    </listitem>
     30
    2431    <listitem>
    25       <para>Binutils-2.12 (Versions greater than &binutils-version; not
    26       recommended)</para>
     32      <para><emphasis role="strong">Binutils-2.12</emphasis> (Versions
     33      greater than &binutils-version; are not recommended as they have
     34      not been tested)</para>
     35
     36<screen role="nodump"><userinput>ld --version</userinput></screen>
    2737    </listitem>
     38
    2839    <listitem>
    29       <para>Bzip2-1.0.2</para>
     40      <para><emphasis role="strong">Bzip2-1.0.2</emphasis></para>
     41
     42<screen role="nodump"><userinput>bzip2 --version</userinput></screen>
    3043    </listitem>
     44
    3145    <listitem>
    32       <para>Coreutils-5.0 (or Sh-Utils-2.0, Textutils-2.0,
    33       and Fileutils-4.1)</para>
     46      <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
     47      Textutils-2.0, and Fileutils-4.1)</para>
     48
     49<screen role="nodump"><userinput>chonw --version</userinput></screen>
    3450    </listitem>
     51
    3552    <listitem>
    36       <para>Diffutils-2.8</para>
     53      <para><emphasis role="strong">Diffutils-2.8</emphasis></para>
     54
     55<screen role="nodump"><userinput>diff --version</userinput></screen>
    3756    </listitem>
     57
    3858    <listitem>
    39       <para>Findutils-4.1.20</para>
     59      <para><emphasis role="strong">Findutils-4.1.20</emphasis></para>
     60
     61<screen role="nodump"><userinput>find --version</userinput></screen>
    4062    </listitem>
     63
    4164    <listitem>
    42       <para>Gawk-3.0</para>
     65      <para><emphasis role="strong">Gawk-3.0</emphasis></para>
     66
     67<screen role="nodump"><userinput>gawk --version</userinput></screen>
    4368    </listitem>
     69
    4470    <listitem>
    45       <para>Gcc-2.95.3 (Versions greater than &gcc-version; not
    46       recommended)</para>
     71      <para><emphasis role="strong">Gcc-2.95.3</emphasis> (Versions
     72      greater than &gcc-version; are not recommended as they have not
     73      been tested)</para>
     74
     75<screen role="nodump"><userinput>gcc --version</userinput></screen>
    4776    </listitem>
     77
    4878    <listitem>
    49       <para>Glibc-2.2.5 (Versions greater than &glibc-version; not
    50       recommended)</para>
     79      <para><emphasis role="strong">Glibc-2.2.5</emphasis> (Versions
     80      greater than &glibc-version; are not recommended as they have
     81      not been tested)</para>
     82
     83<screen role="nodump"><userinput>/lib/libc.so.6</userinput></screen>
    5184    </listitem>
     85
    5286    <listitem>
    53       <para>Grep-2.5</para>
     87      <para><emphasis role="strong">Grep-2.5</emphasis></para>
     88
     89<screen role="nodump"><userinput>grep --version</userinput></screen>
    5490    </listitem>
     91
    5592    <listitem>
    56       <para>Gzip-1.2.4</para>
     93      <para><emphasis role="strong">Gzip-1.2.4</emphasis></para>
     94
     95<screen role="nodump"><userinput>gzip --version</userinput></screen>
    5796    </listitem>
     97
    5898    <listitem>
    59       <para>Linux Kernel-2.6.x (having been compiled with Gcc-3.0)</para>
     99      <para><emphasis role="strong">Linux Kernel-2.6.x</emphasis>
     100      (having been compiled with Gcc-3.0)</para>
     101
     102      <para>The reason for the kernel version requirement is that thread-local
     103      storage support in Binutils will not be built and the Native POSIX
     104      Threading Library (NPTL) test suite will segfault if the host's kernel
     105      isn't at least a 2.6.x version compiled with a 3.0 or later release of
     106      GCC.</para>
     107
     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
     122      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>
    60128    </listitem>
     129
    61130    <listitem>
    62       <para>Make-3.79.1</para>
     131      <para><emphasis role="strong">Make-3.79.1</emphasis></para>
     132
     133<screen role="nodump"><userinput>make --version</userinput></screen>
    63134    </listitem>
     135
    64136    <listitem>
    65       <para>Patch-2.5.4</para>
     137      <para><emphasis role="strong">Patch-2.5.4</emphasis></para>
     138
     139<screen role="nodump"><userinput>patch --version</userinput></screen>
    66140    </listitem>
     141
    67142    <listitem>
    68       <para>Sed-3.0.2</para>
     143      <para><emphasis role="strong">Sed-3.0.2</emphasis></para>
     144
     145<screen role="nodump"><userinput>sed --version</userinput></screen>
    69146    </listitem>
     147
    70148    <listitem>
    71       <para>Tar-1.14</para>
     149      <para><emphasis role="strong">Tar-1.14</emphasis></para>
     150
     151<screen role="nodump"><userinput>tar --version</userinput></screen>
    72152    </listitem>
    73153
    74154  </itemizedlist>
    75155
    76   <para>The reason for the kernel version requirement is that thread-local
    77   storage support in Binutils will not be built and the Native POSIX Threading
    78   Library (NPTL) test suite will segfault if the host's kernel isn't a 2.6
    79   kernel and has not been compiled with GCC-3.0 or a later version.</para>
    80 
    81   <para>In order to determine whether the host kernel meets the requirements
    82   outlined above, run the following command:</para>
    83 
    84 <screen role="nodump"><userinput>cat /proc/version</userinput></screen>
    85 
    86   <para>This will produce output similar to:</para>
    87 
    88 <screen><computeroutput>Linux version 2.6.2 (user@host) (gcc version 3.4.0) #1
    89     Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
    90 
    91   <para>If the results of the above command do not state that the host kernel
    92   is either 2.6.x, or that it was not compiled using a GCC-3.0 (or
    93   later) compiler, one will need to be installed. There are two methods you
    94   can take to solve this. First, see if your Linux vendor provides a 2.6
    95   kernel package. If so, you may wish to install it. If your vendor
    96   doesn't offer a 2.6 kernel package, or you would prefer not to
    97   install it, then you can compile a 2.6 kernel yourself. Instructions for
    98   compiling the kernel and configuring the boot loader (assuming the host
    99   uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
    100 
    101156</sect1>
  • stylesheets/lfs.css

    rdc931cb rfd8b059  
    269269}
    270270
     271ul[compact="compact"] {
     272  list-style: none;
     273}
     274
     275ul[compact="compact"] li {
     276  margin-bottom: 1em;
     277}
     278
    271279ul[compact="compact"] li p {
    272280  padding: 0.3em;
    273281  margin: 0em;
     282}
     283
     284ul[compact="compact"] .strong {
     285  font-size: 133%;
    274286}
    275287
Note: See TracChangeset for help on using the changeset viewer.