generalinstructions.po 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-08-08 19:28+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><title>
  14. msgid "General Compilation Instructions"
  15. msgstr "编译过程的一般说明"
  16. #. type: Content of: <sect1><para>
  17. msgid ""
  18. "When building packages there are several assumptions made within the "
  19. "instructions:"
  20. msgstr "在构建软件包时,本书提供的命令基于下列假设:"
  21. #. type: Content of: <sect1><itemizedlist><listitem><para>
  22. msgid ""
  23. "Several of the packages are patched before compilation, but only when the "
  24. "patch is needed to circumvent a problem. A patch is often needed in both "
  25. "this and the following chapters, but sometimes in only one location. "
  26. "Therefore, do not be concerned if instructions for a downloaded patch seem "
  27. "to be missing. Warning messages about <emphasis>offset</emphasis> or "
  28. "<emphasis>fuzz</emphasis> may also be encountered when applying a patch. Do "
  29. "not worry about these warnings, as the patch was still successfully applied."
  30. msgstr ""
  31. "某些软件包在编译前需要打补丁,然而补丁只在绕过特定问题时才需要。补丁常常在本"
  32. "章和下一章都要使用,然而有时只在其中一章使用。因此,如果发现本书给出的步骤中"
  33. "没有使用某个下载好的补丁,这是正常的,不必担心。在应用补丁时可能会出现关于 "
  34. "<emphasis>offset</emphasis> 或者 <emphasis>fuzz</emphasis> 的警告信息。不用担"
  35. "心这些警告,补丁还是会成功应用到源码上的。"
  36. #. type: Content of: <sect1><itemizedlist><listitem><para>
  37. msgid ""
  38. "During the compilation of most packages, there will be several warnings that "
  39. "scroll by on the screen. These are normal and can safely be ignored. These "
  40. "warnings are as they appear&mdash;warnings about deprecated, but not "
  41. "invalid, use of the C or C++ syntax. C standards change fairly often, and "
  42. "some packages still use the older standard. This is not a problem, but does "
  43. "prompt the warning."
  44. msgstr ""
  45. "在编译大多数软件包时,屏幕上都会出现一些警告。这是正常的,可以放心地忽略。这"
  46. "些警告就像它们描述的那样,是关于一些过时的,但并不是错误的 C 或 C++ 语法。C "
  47. "标准经常改变,一些软件包仍然在使用旧的标准。这并不是一个严重的问题,但确实会"
  48. "触发警告。"
  49. #. type: Content of: <sect1><itemizedlist><listitem><para>
  50. msgid ""
  51. "Check one last time that the <envar>LFS</envar> environment variable is set "
  52. "up properly:"
  53. msgstr "最后确认 <envar>LFS</envar> 环境变量是否配置正确:"
  54. #. type: Content of: <sect1><itemizedlist><listitem><screen>
  55. #, no-wrap
  56. msgid "<userinput>echo $LFS</userinput>"
  57. msgstr "<userinput>echo $LFS</userinput>"
  58. #. type: Content of: <sect1><itemizedlist><listitem><para>
  59. msgid ""
  60. "Make sure the output shows the path to the LFS partition's mount point, "
  61. "which is <filename class=\"directory\">/mnt/lfs</filename>, using our "
  62. "example."
  63. msgstr ""
  64. "确认上述命令输出 LFS 分区挂载点的路径,如果使用了本书的例子,就是 <filename "
  65. "class=\"directory\">/mnt/lfs</filename>。"
  66. #. type: Content of: <sect1><itemizedlist><listitem><para>
  67. msgid "Finally, two important items must be emphasized:"
  68. msgstr "最后强调两个重要事项:"
  69. #. type: Content of: <sect1><itemizedlist><listitem><important><para>
  70. msgid ""
  71. "The build instructions assume that the <xref linkend='ch-partitioning-"
  72. "hostreqs'/>, including symbolic links, have been set properly:"
  73. msgstr ""
  74. "本书中的命令假设<xref linkend='ch-partitioning-hostreqs'/>中的所有内容,包括"
  75. "符号链接,都被正确设置:"
  76. #. type: Content of: <sect1><itemizedlist><listitem><important><itemizedlist><listitem><para>
  77. msgid "<command>bash</command> is the shell in use."
  78. msgstr "<command>bash</command> 是正在使用的 shell。"
  79. #. type: Content of: <sect1><itemizedlist><listitem><important><itemizedlist><listitem><para>
  80. msgid "<command>sh</command> is a symbolic link to <command>bash</command>."
  81. msgstr "<command>sh</command> 是指向 <command>bash</command>的符号链接。"
  82. #. type: Content of: <sect1><itemizedlist><listitem><important><itemizedlist><listitem><para>
  83. msgid ""
  84. "<command>/usr/bin/awk</command> is a symbolic link to <command>gawk</"
  85. "command>."
  86. msgstr ""
  87. "<command>/usr/bin/awk</command> 是指向 <command>gawk</command> 的符号链接。"
  88. #. type: Content of: <sect1><itemizedlist><listitem><important><itemizedlist><listitem><para>
  89. msgid ""
  90. "<command>/usr/bin/yacc</command> is a symbolic link to <command>bison</"
  91. "command> or a small script that executes bison."
  92. msgstr ""
  93. "<command>/usr/bin/yacc</command> 是指向 <command>bison</command> 的符号链接,"
  94. "或者一个执行 bison 的小脚本。"
  95. #. type: Content of: <sect1><itemizedlist><listitem><important><para>
  96. msgid "To re-emphasize the build process:"
  97. msgstr "再次强调构建过程:"
  98. #. Do
  99. #. <emphasis>
  100. #. not</emphasis> put sources in
  101. #. <filename class="directory">/mnt/lfs/tools/</filename>.
  102. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><para>
  103. msgid ""
  104. "Place all the sources and patches in a directory that will be accessible "
  105. "from the chroot environment such as <filename class=\"directory\">/mnt/lfs/"
  106. "sources/</filename>."
  107. msgstr ""
  108. "把所有的源码包和补丁放在一个能够从 chroot 环境访问的目录,例如 <filename "
  109. "class=\"directory\">/mnt/lfs/sources/</filename>。"
  110. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><para>
  111. msgid "Change to the sources directory."
  112. msgstr "切换到放着源码包的目录。"
  113. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><para>
  114. msgid "For each package:"
  115. msgstr "对于每个软件包:"
  116. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><orderedlist><listitem><para>
  117. msgid ""
  118. "Using the <command>tar</command> program, extract the package to be built. "
  119. "In <xref linkend=\"chapter-cross-tools\"/> and <xref linkend=\"chapter-"
  120. "temporary-tools\"/>, ensure you are the <emphasis>lfs</emphasis> user when "
  121. "extracting the package."
  122. msgstr ""
  123. "使用 <command>tar</command> 程序,解压需要构建的软件包。在<xref linkend="
  124. "\"chapter-cross-tools\"/>和<xref linkend=\"chapter-temporary-tools\"/>中解压"
  125. "软件包时,确认您以用户 <emphasis>lfs</emphasis> 的身份登录。"
  126. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><orderedlist><listitem><para>
  127. msgid "Change to the directory created when the package was extracted."
  128. msgstr "切换到解压源码包时产生的目录。"
  129. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><orderedlist><listitem><para>
  130. msgid "Follow the book's instructions for building the package."
  131. msgstr "根据书中的指示构建软件包。"
  132. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><orderedlist><listitem><para>
  133. msgid "Change back to the sources directory."
  134. msgstr "切换回包含所有源码包的目录。"
  135. #. type: Content of: <sect1><itemizedlist><listitem><important><orderedlist><listitem><orderedlist><listitem><para>
  136. msgid "Delete the extracted source directory unless instructed otherwise."
  137. msgstr "除非另有说明,删除解压出来的目录。"