- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/prologue/common/hostreqs.xml
rb80b685 r5db4466 40 40 41 41 <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> 44 43 </listitem> 45 44 … … 53 52 54 53 <listitem> 55 <para><emphasis role="strong">Gawk-3. 0</emphasis></para>54 <para><emphasis role="strong">Gawk-3.1.5</emphasis></para> 56 55 </listitem> 57 56 58 57 <listitem> 59 <para><emphasis role="strong">G cc-2.95.3</emphasis> (Versions60 greater than &gcc-version; are not recommended as they have not61 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> 62 61 </listitem> 63 62 … … 77 76 78 77 <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> 80 79 </listitem> 81 80 82 81 <listitem> 83 <para><emphasis role="strong">Make-3. 79.1</emphasis></para>82 <para><emphasis role="strong">Make-3.80</emphasis></para> 84 83 </listitem> 85 84 … … 97 96 98 97 <listitem> 99 <para><emphasis role="strong">Tar-1. 14</emphasis></para>98 <para><emphasis role="strong">Tar-1.22</emphasis></para> 100 99 </listitem> 101 100 … … 104 103 </listitem> 105 104 105 <listitem> 106 <para><emphasis role="strong">XZ-Utils-4.999.8beta</emphasis></para> 107 </listitem> 108 106 109 </itemizedlist> 107 110 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> 109 114 110 115 <screen role="nodump"><userinput>cat > version-check.sh << "EOF" … … 122 127 gawk --version | head -n1 123 128 gcc --version | head -n1 124 /lib/libc.so.6 | head -n1 | cut -d" " -f1-7 129 g++ --version | head -n1 130 ldd $(which ${SHELL}) | grep libc.so | cut -d ' ' -f 3 | ${SHELL} | head -n 1 | cut -d ' ' -f 1-7 125 131 grep --version | head -n1 126 132 gzip --version | head -n1 … … 131 137 sed --version | head -n1 132 138 tar --version | head -n1 133 makeinfo --version | head -n1</literal> 134 139 makeinfo --version | head -n1 140 xz --version | head -n1 141 echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&1 142 if ! grep -q ' error' dummy.log; then 143 echo "Compilation successful" && rm dummy.log 144 else 145 echo 1>&2 "Compilation FAILED - more development packages may need to be \ 146 installed. If you like, you can also view dummy.log for more details." 147 fi</literal> 135 148 EOF 136 149 137 bash version-check.sh</userinput></screen> 150 bash version-check.sh 2>errors.log && 151 [ -s errors.log ] && echo -e "\nThe following packages could not be found:\n$(cat errors.log)"</userinput></screen> 138 152 139 153 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.