Ignore:
Timestamp:
Nov 12, 2012, 6:22:54 PM (12 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
532a2c4
Parents:
db127375
Message:

Updated Host System Requirements and added compile check

File:
1 edited

Legend:

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

    rdb127375 rd6aaa67  
    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
     
    110109  </itemizedlist>
    111110
    112   <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>
    113114
    114115<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
     
    136137tar --version | head -n1
    137138makeinfo --version | head -n1
    138 xz --version | head -n1</literal>
    139 
     139xz --version | head -n1
     140echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&amp;1
     141if grep -q ' error' dummy.log; then
     142  echo "Compilation successful" &amp;&amp; rm dummy.log
     143else
     144  echo "Compilation FAILED - more development packages may need to be \
     145 installed. If you like, you can also view dummy.log for more details."
     146fi</literal>
    140147EOF
    141148
Note: See TracChangeset for help on using the changeset viewer.