Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/prologue/common/hostreqs.xml

    rb80b685 r5db4466  
    4040
    4141    <listitem>
    42       <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
    43       Textutils-2.0, and Fileutils-4.1)</para>
     42      <para><emphasis role="strong">Coreutils-5.0</emphasis></para>
    4443    </listitem>
    4544
     
    5352
    5453    <listitem>
    55       <para><emphasis role="strong">Gawk-3.0</emphasis></para>
     54      <para><emphasis role="strong">Gawk-3.1.5</emphasis></para>
    5655    </listitem>
    5756
    5857    <listitem>
    59       <para><emphasis role="strong">Gcc-2.95.3</emphasis> (Versions
    60       greater than &gcc-version; are not recommended as they have not
    61       been tested)</para>
     58      <para><emphasis role="strong">GCC-4.1.2</emphasis> and the C++ compiler,
     59      <command>g++</command> (Versions greater than &gcc-version; are not
     60      recommended as they have not been tested)</para>
    6261    </listitem>
    6362
     
    7776
    7877   <listitem>
    79      <para><emphasis role="strong">Linux 2.6.22</emphasis></para>
     78     <para><emphasis role="strong">Linux 2.6.32 (Built with GCC 4.1.2 or later)</emphasis></para>
    8079   </listitem>
    8180
    8281    <listitem>
    83       <para><emphasis role="strong">Make-3.79.1</emphasis></para>
     82      <para><emphasis role="strong">Make-3.80</emphasis></para>
    8483    </listitem>
    8584
     
    9796
    9897    <listitem>
    99       <para><emphasis role="strong">Tar-1.14</emphasis></para>
     98      <para><emphasis role="strong">Tar-1.22</emphasis></para>
    10099    </listitem>
    101100
     
    104103    </listitem>
    105104
     105    <listitem>
     106      <para><emphasis role="strong">XZ-Utils-4.999.8beta</emphasis></para>
     107    </listitem>
     108
    106109  </itemizedlist>
    107110
    108   <para>To see whether your host system has all the appropriate versions, run the following:</para>
     111  <para>To see whether your host system has all the appropriate versions,
     112  create and run the following script. Read the output carefully for any
     113  errors, and make sure to install any packages that are reported as not found.</para>
    109114
    110115<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
     
    122127gawk --version | head -n1
    123128gcc --version | head -n1
    124 /lib/libc.so.6 | head -n1 | cut -d" " -f1-7
     129g++ --version | head -n1
     130ldd $(which ${SHELL}) | grep libc.so | cut -d ' ' -f 3 | ${SHELL} | head -n 1 | cut -d ' ' -f 1-7
    125131grep --version | head -n1
    126132gzip --version | head -n1
     
    131137sed --version | head -n1
    132138tar --version | head -n1
    133 makeinfo --version | head -n1</literal>
    134 
     139makeinfo --version | head -n1
     140xz --version | head -n1
     141echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&amp;1
     142if ! grep -q ' error' dummy.log; then
     143  echo "Compilation successful" &amp;&amp; rm dummy.log
     144else
     145  echo 1>&amp;2  "Compilation FAILED - more development packages may need to be \
     146installed. If you like, you can also view dummy.log for more details."
     147fi</literal>
    135148EOF
    136149
    137 bash version-check.sh</userinput></screen>
     150bash version-check.sh 2>errors.log &amp;&amp;
     151[ -s errors.log ] &amp;&amp; echo -e "\nThe following packages could not be found:\n$(cat errors.log)"</userinput></screen>
    138152
    139153</sect1>
Note: See TracChangeset for help on using the changeset viewer.