hostreqs.po 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:11
  20. msgid "Host System Requirements"
  21. msgstr ""
  22. #. type: Content of: <sect1><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:13
  24. msgid ""
  25. "Your host system should have the following software with the minimum "
  26. "versions indicated. This should not be an issue for most modern Linux "
  27. "distributions. Also note that many distributions will place software headers "
  28. "into separate packages, often in the form of "
  29. "<quote>&lt;package-name&gt;-devel</quote> or "
  30. "<quote>&lt;package-name&gt;-dev</quote>. Be sure to install those if your "
  31. "distribution provides them."
  32. msgstr ""
  33. #. type: Content of: <sect1><para>
  34. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:21
  35. msgid ""
  36. "Earlier versions of the listed software packages may work, but have not been "
  37. "tested."
  38. msgstr ""
  39. #. type: Content of: <sect1><itemizedlist><listitem><para>
  40. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:27
  41. msgid ""
  42. "<emphasis role=\"strong\">Bash-3.2</emphasis> (/bin/sh should be a symbolic "
  43. "or hard link to bash)"
  44. msgstr ""
  45. #. type: Content of: <sect1><itemizedlist><listitem><para>
  46. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:32
  47. msgid ""
  48. "<emphasis role=\"strong\">Binutils-2.25</emphasis> (Versions greater than "
  49. "&binutils-version; are not recommended as they have not been tested)"
  50. msgstr ""
  51. #. type: Content of: <sect1><itemizedlist><listitem><para>
  52. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:38
  53. msgid ""
  54. "<emphasis role=\"strong\">Bison-2.7</emphasis> (/usr/bin/yacc should be a "
  55. "link to bison or small script that executes bison)"
  56. msgstr ""
  57. #. type: Content of: <sect1><itemizedlist><listitem><para>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:43
  59. msgid "<emphasis role=\"strong\">Bzip2-1.0.4</emphasis>"
  60. msgstr ""
  61. #. type: Content of: <sect1><itemizedlist><listitem><para>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:47
  63. msgid "<emphasis role=\"strong\">Coreutils-6.9</emphasis>"
  64. msgstr ""
  65. #. type: Content of: <sect1><itemizedlist><listitem><para>
  66. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:51
  67. msgid "<emphasis role=\"strong\">Diffutils-2.8.1</emphasis>"
  68. msgstr ""
  69. #. type: Content of: <sect1><itemizedlist><listitem><para>
  70. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:55
  71. msgid "<emphasis role=\"strong\">Findutils-4.2.31</emphasis>"
  72. msgstr ""
  73. #. type: Content of: <sect1><itemizedlist><listitem><para>
  74. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:59
  75. msgid ""
  76. "<emphasis role=\"strong\">Gawk-4.0.1</emphasis> (/usr/bin/awk should be a "
  77. "link to gawk)"
  78. msgstr ""
  79. #. type: Content of: <sect1><itemizedlist><listitem><para>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:65
  81. msgid ""
  82. "<emphasis role=\"strong\">GCC-6.2</emphasis> including the C++ compiler, "
  83. "<command>g++</command> (Versions greater than &gcc-version; are not "
  84. "recommended as they have not been tested)"
  85. msgstr ""
  86. #. type: Content of: <sect1><itemizedlist><listitem><para>
  87. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:71
  88. msgid ""
  89. "<emphasis role=\"strong\">Glibc-2.11</emphasis> (Versions greater than "
  90. "&glibc-version; are not recommended as they have not been tested)"
  91. msgstr ""
  92. #. type: Content of: <sect1><itemizedlist><listitem><para>
  93. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:77
  94. msgid "<emphasis role=\"strong\">Grep-2.5.1a</emphasis>"
  95. msgstr ""
  96. #. type: Content of: <sect1><itemizedlist><listitem><para>
  97. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:81
  98. msgid "<emphasis role=\"strong\">Gzip-1.3.12</emphasis>"
  99. msgstr ""
  100. #. type: Content of: <sect1><itemizedlist><listitem><para>
  101. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:85
  102. msgid "<emphasis role=\"strong\">Linux Kernel-&min-kernel;</emphasis>"
  103. msgstr ""
  104. #. type: Content of: <sect1><itemizedlist><listitem><para>
  105. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:87
  106. msgid ""
  107. "The reason for the kernel version requirement is that we specify that "
  108. "version when building <application>glibc</application> in Chapter&nbsp;6 at "
  109. "the recommendation of the developers. It is also required by udev."
  110. msgstr ""
  111. #. type: Content of: <sect1><itemizedlist><listitem><para>
  112. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:92
  113. msgid ""
  114. "If the host kernel is earlier than &min-kernel; you will need to replace the "
  115. "kernel with a more up to date version. There are two ways you can go about "
  116. "this. First, see if your Linux vendor provides a &min-kernel; or later "
  117. "kernel package. If so, you may wish to install it. If your vendor doesn't "
  118. "offer an acceptable kernel package, or you would prefer not to install it, "
  119. "you can compile a kernel yourself. Instructions for compiling the kernel and "
  120. "configuring the boot loader (assuming the host uses GRUB) are located in "
  121. "<xref linkend=\"chapter-bootable\"/>."
  122. msgstr ""
  123. #. type: Content of: <sect1><itemizedlist><listitem><para>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:104
  125. msgid "<emphasis role=\"strong\">M4-1.4.10</emphasis>"
  126. msgstr ""
  127. #. type: Content of: <sect1><itemizedlist><listitem><para>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:108
  129. msgid "<emphasis role=\"strong\">Make-4.0</emphasis>"
  130. msgstr ""
  131. #. type: Content of: <sect1><itemizedlist><listitem><para>
  132. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:112
  133. msgid "<emphasis role=\"strong\">Patch-2.5.4</emphasis>"
  134. msgstr ""
  135. #. type: Content of: <sect1><itemizedlist><listitem><para>
  136. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:116
  137. msgid "<emphasis role=\"strong\">Perl-5.8.8</emphasis>"
  138. msgstr ""
  139. #. type: Content of: <sect1><itemizedlist><listitem><para>
  140. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:120
  141. msgid "<emphasis role=\"strong\">Python-3.4</emphasis>"
  142. msgstr ""
  143. #. type: Content of: <sect1><itemizedlist><listitem><para>
  144. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:124
  145. msgid "<emphasis role=\"strong\">Sed-4.1.5</emphasis>"
  146. msgstr ""
  147. #. type: Content of: <sect1><itemizedlist><listitem><para>
  148. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:128
  149. msgid "<emphasis role=\"strong\">Tar-1.22</emphasis>"
  150. msgstr ""
  151. #. type: Content of: <sect1><itemizedlist><listitem><para>
  152. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:132
  153. msgid "<emphasis role=\"strong\">Texinfo-4.7</emphasis>"
  154. msgstr ""
  155. #. type: Content of: <sect1><itemizedlist><listitem><para>
  156. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:136
  157. msgid "<emphasis role=\"strong\">Xz-5.0.0</emphasis>"
  158. msgstr ""
  159. #. type: Content of: <sect1><important><para>
  160. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:142
  161. msgid ""
  162. "Note that the symlinks mentioned above are required to build an LFS system "
  163. "using the instructions contained within this book. Symlinks that point to "
  164. "other software (such as dash, mawk, etc.) may work, but are not tested or "
  165. "supported by the LFS development team, and may require either deviation from "
  166. "the instructions or additional patches to some packages."
  167. msgstr ""
  168. #. type: Content of: <sect1><para>
  169. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:157
  170. msgid ""
  171. "To see whether your host system has all the appropriate versions, and the "
  172. "ability to compile programs, run the following:"
  173. msgstr ""
  174. #. ANY additional lines in the script cause a pdf rendering problem
  175. #. type: Content of: <sect1><screen>
  176. #: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:161
  177. #, no-wrap
  178. msgid ""
  179. "<userinput>cat &gt; version-check.sh &lt;&lt; \"EOF\"\n"
  180. "<literal>#!/bin/bash\n"
  181. "# Simple script to list version numbers of critical development tools\n"
  182. "export LC_ALL=C\n"
  183. "bash --version | head -n1 | cut -d\" \" -f2-4\n"
  184. "MYSH=$(readlink -f /bin/sh)\n"
  185. "echo \"/bin/sh -&gt; $MYSH\"\n"
  186. "echo $MYSH | grep -q bash || echo \"ERROR: /bin/sh does not point to "
  187. "bash\"\n"
  188. "unset MYSH\n"
  189. "\n"
  190. "echo -n \"Binutils: \"; ld --version | head -n1 | cut -d\" \" -f3-\n"
  191. "bison --version | head -n1\n"
  192. "\n"
  193. "if [ -h /usr/bin/yacc ]; then\n"
  194. " echo \"/usr/bin/yacc -> `readlink -f /usr/bin/yacc`\";\n"
  195. "elif [ -x /usr/bin/yacc ]; then\n"
  196. " echo yacc is `/usr/bin/yacc --version | head -n1`\n"
  197. "else\n"
  198. " echo \"yacc not found\" \n"
  199. "fi\n"
  200. "\n"
  201. "bzip2 --version 2&gt;&amp;1 &lt; /dev/null | head -n1 | cut -d\" \" -f1,6-\n"
  202. "echo -n \"Coreutils: \"; chown --version | head -n1 | cut -d\")\" -f2\n"
  203. "diff --version | head -n1\n"
  204. "find --version | head -n1\n"
  205. "gawk --version | head -n1\n"
  206. "\n"
  207. "if [ -h /usr/bin/awk ]; then\n"
  208. " echo \"/usr/bin/awk -&gt; `readlink -f /usr/bin/awk`\";\n"
  209. "elif [ -x /usr/bin/awk ]; then\n"
  210. " echo awk is `/usr/bin/awk --version | head -n1`\n"
  211. "else \n"
  212. " echo \"awk not found\" \n"
  213. "fi\n"
  214. "\n"
  215. "gcc --version | head -n1\n"
  216. "g++ --version | head -n1\n"
  217. "ldd --version | head -n1 | cut -d\" \" -f2- # glibc version\n"
  218. "grep --version | head -n1\n"
  219. "gzip --version | head -n1\n"
  220. "cat /proc/version\n"
  221. "m4 --version | head -n1\n"
  222. "make --version | head -n1\n"
  223. "patch --version | head -n1\n"
  224. "echo Perl `perl -V:version`\n"
  225. "python3 --version\n"
  226. "sed --version | head -n1\n"
  227. "tar --version | head -n1\n"
  228. "makeinfo --version | head -n1 # texinfo version\n"
  229. "xz --version | head -n1\n"
  230. "<?hard-pagebreak?>\n"
  231. "echo 'int main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c\n"
  232. "if [ -x dummy ]\n"
  233. " then echo \"g++ compilation OK\";\n"
  234. " else echo \"g++ compilation failed\"; fi\n"
  235. "rm -f dummy.c dummy</literal>\n"
  236. "EOF\n"
  237. "\n"
  238. "bash version-check.sh</userinput>"
  239. msgstr ""