123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- msgid ""
- msgstr ""
- "Project-Id-Version: PACKAGE VERSION\n"
- "POT-Creation-Date: 2020-06-23 15:47+0800\n"
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
- "Language-Team: LANGUAGE <LL@li.org>\n"
- "Language: zh_CN\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
- "X-Generator: Translate Toolkit 2.2.5\n"
- #. type: Content of the tdbc-ver entity
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:6
- msgid "1.1.1"
- msgstr "1.1.1"
- #. type: Content of the itcl-ver entity
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:7
- msgid "4.2.0"
- msgstr "4.2.0"
- #. type: Content of: <sect1><sect1info><address>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:16
- #, no-wrap
- msgid "&tcl-url;"
- msgstr "&tcl-url;"
- #. type: Content of: <sect1><sect1info>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:14
- msgid ""
- "<productname>tcl</productname> <productnumber>&tcl-version;</productnumber> "
- "<placeholder type=\"address\" id=\"0\"/>"
- msgstr ""
- "<productname>tcl</productname> <productnumber>&tcl-version;</productnumber> "
- "<placeholder type=\"address\" id=\"0\"/>"
- #. type: Content of: <sect1><title>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:19
- msgid "Tcl-&tcl-version;"
- msgstr "Tcl-&tcl-version;"
- #. type: Content of: <sect1><indexterm><primary>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:22
- msgid "Tcl"
- msgstr "Tcl"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:28
- msgid ""
- "The <application>Tcl</application> package contains the Tool Command "
- "Language, a robust general-purpose scripting language. The "
- "<application>Expect</application> package is written in the "
- "<application>Tcl</application> language."
- msgstr ""
- "<application>Tcl</application> 软件包包含工具命令语言,它是一个可靠的通用脚本"
- "语言。<application>Except</application> 软件包是用 <application>Tcl</"
- "application> 语言编写的."
- #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:33
- msgid "&buildtime;"
- msgstr "&buildtime;"
- #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:34
- msgid "&diskspace;"
- msgstr "&diskspace;"
- #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:37
- msgid "&tcl-tmp-sbu;"
- msgstr "&tcl-tmp-sbu;"
- #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:38
- msgid "&tcl-tmp-du;"
- msgstr "&tcl-tmp-du;"
- #. type: Content of: <sect1><sect2><title>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:45
- msgid "Installation of Tcl"
- msgstr "安装 Tcl"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:47
- msgid ""
- "This package and the next two (Expect and DejaGNU) are installed to support "
- "running the test suites for GCC and binutils and other packages. Installing "
- "three packages for testing purposes may seem excessive, but it is very "
- "reassuring, if not essential, to know that the most important tools are "
- "working properly. These packages are required to run the test suites in this "
- "chapter."
- msgstr ""
- "为了支持 GCC 和 Binutils 等软件包测试套件的运行,需要安装这个软件包和接下来的"
- "两个 (Expect 与 DejaGNU)。为了测试目的安装三个软件包看似浪费,但是只有运行了"
- "测试,才能放心地确定多数重要工具可以正常工作,即使测试不是必要的。我们必须安"
- "装这些软件包,才能执行本章中的测试套"
- "件。"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:58
- msgid "First, unpack the documentation by issuing the following command:"
- msgstr "首先,运行以下命令解压文档:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:60
- #, no-wrap
- msgid "<userinput remap=\"pre\">tar -xf ../tcl8.6.10-html.tar.gz --strip-components=1</userinput>"
- msgstr "<userinput remap=\"pre\">tar -xf ../tcl8.6.10-html.tar.gz --strip-components=1</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:62
- msgid "Prepare Tcl for compilation:"
- msgstr "准备编译 Tcl:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:64
- #, no-wrap
- msgid ""
- "<userinput remap=\"configure\">SRCDIR=$(pwd)\n"
- "cd unix\n"
- "./configure --prefix=/usr \\\n"
- " --mandir=/usr/share/man \\\n"
- " $([ \"$(uname -m)\" = x86_64 ] && echo --enable-64bit)</userinput>"
- msgstr ""
- "<userinput remap=\"configure\">SRCDIR=$(pwd)\n"
- "cd unix\n"
- "./configure --prefix=/usr \\\n"
- " --mandir=/usr/share/man \\\n"
- " $([ \"$(uname -m)\" = x86_64 ] && echo --enable-64bit)</userinput>"
- #. type: Content of: <sect1><sect2><variablelist><title>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:71
- msgid "The meaning of the configure options:"
- msgstr "配置选项的含义:"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:74
- msgid ""
- "<parameter>$([ \"$(uname -m)\" = x86_64 ] && echo --enable-64bit)</"
- "parameter>"
- msgstr ""
- "<parameter>$([ \"$(uname -m)\" = x86_64 ] && echo --enable-64bit)</"
- "parameter>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:76
- msgid ""
- "The construct <parameter>$(<shell command>)</parameter> is replaced by "
- "the output of the shell command. Here this output is empty if running on a "
- "32 bit machine, and is <parameter>--enable-64bit</parameter> if running on a "
- "64 bit machine."
- msgstr ""
- "<parameter>$(<shell 命令>)</parameter> 会被 shell 替换为 shell 命令的输"
- "出。这里,如果在 32 位机器上,输出是空的,而如果在 64 位机器上,输出是 "
- "<parameter>--enable-64bit</parameter>。"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:86
- msgid "Build the package:"
- msgstr "构建该软件包:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:88
- #, no-wrap
- msgid ""
- "<userinput remap=\"make\">make\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix|/usr/lib|\" \\\n"
- " -e \"s|$SRCDIR|/usr/include|\" \\\n"
- " -i tclConfig.sh\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix/pkgs/tdbc&tdbc-ver;|/usr/lib/tdbc&tdbc-ver;|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/generic|/usr/include|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/library|/usr/lib/tcl8.6|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;|/usr/include|\" \\\n"
- " -i pkgs/tdbc&tdbc-ver;/tdbcConfig.sh\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix/pkgs/itcl&itcl-ver;|/usr/lib/itcl&itcl-ver;|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;/generic|/usr/include|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;|/usr/include|\" \\\n"
- " -i pkgs/itcl&itcl-ver;/itclConfig.sh\n"
- "\n"
- "unset SRCDIR</userinput>"
- msgstr ""
- "<userinput remap=\"make\">make\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix|/usr/lib|\" \\\n"
- " -e \"s|$SRCDIR|/usr/include|\" \\\n"
- " -i tclConfig.sh\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix/pkgs/tdbc&tdbc-ver;|/usr/lib/tdbc&tdbc-ver;|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/generic|/usr/include|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/library|/usr/lib/tcl8.6|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;|/usr/include|\" \\\n"
- " -i pkgs/tdbc&tdbc-ver;/tdbcConfig.sh\n"
- "\n"
- "sed -e \"s|$SRCDIR/unix/pkgs/itcl&itcl-ver;|/usr/lib/itcl&itcl-ver;|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;/generic|/usr/include|\" \\\n"
- " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;|/usr/include|\" \\\n"
- " -i pkgs/itcl&itcl-ver;/itclConfig.sh\n"
- "\n"
- "unset SRCDIR</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:107
- msgid ""
- "The various <quote>sed</quote> instructions after the <quote>make</quote> "
- "command removes references to the build directory from the configuration "
- "files and replaces them with the install directory. This is not mandatory "
- "for the remainder of LFS, but may be needed in case a package built later "
- "uses Tcl."
- msgstr ""
- "<quote>make</quote>命令之后的若干<quote>sed</quote>命令从配置文件中删除构建目"
- "录,并用安装目录替换它们。构建 LFS 的后续过程不对此严格要求,但如果之后构建使"
- "用 Tcl 的软件包,则可能需要这样的操作。"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:113
- msgid "To test the results, issue:"
- msgstr "运行以下命令,以测试编译结果:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:115
- #, no-wrap
- msgid "<userinput remap=\"test\">make test</userinput>"
- msgstr "<userinput remap=\"test\">make test</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:117
- msgid "Install the package:"
- msgstr "安装该软件包:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:119
- #, no-wrap
- msgid "<userinput remap=\"install\">make install</userinput>"
- msgstr "<userinput remap=\"install\">make install</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:121
- msgid ""
- "Make the installed library writable so debugging symbols can be removed "
- "later:"
- msgstr "将安装好的库加上写入权限,以便将来移除调试符号:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:124
- #, no-wrap
- msgid "<userinput remap=\"install\">chmod -v u+w /usr/lib/libtcl&tcl-major-version;.so</userinput>"
- msgstr "<userinput remap=\"install\">chmod -v u+w /usr/lib/libtcl&tcl-major-version;.so</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:126
- msgid "Install Tcl's headers. The next package, Expect, requires them."
- msgstr "安装 Tcl 的头文件。下一个软件包 Expect 需要它们才能构建。"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:128
- #, no-wrap
- msgid "<userinput remap=\"install\">make install-private-headers</userinput>"
- msgstr "<userinput remap=\"install\">make install-private-headers</userinput>"
- #. type: Content of: <sect1><sect2><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:130
- msgid "Now make a necessary symbolic link:"
- msgstr "创建一个必要的符号链接:"
- #. type: Content of: <sect1><sect2><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:132
- #, no-wrap
- msgid "<userinput remap=\"install\">ln -sfv tclsh&tcl-major-version; /usr/bin/tclsh</userinput>"
- msgstr "<userinput remap=\"install\">ln -sfv tclsh&tcl-major-version; /usr/bin/tclsh</userinput>"
- #. type: Content of: <sect1><sect2><title>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:137
- msgid "Contents of Tcl"
- msgstr "Tcl 的内容"
- #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:140
- msgid "Installed programs"
- msgstr "安装的程序"
- #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:141
- msgid "Installed library"
- msgstr "安装的库"
- #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:145
- msgid "tclsh (link to tclsh&tcl-major-version;) and tclsh&tcl-major-version;"
- msgstr "tclsh (到 tclsh&tcl-major-version; 的链接) 和 tclsh&tcl-major-version;"
- #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:149
- msgid "libtcl&tcl-major-version;.so and libtclstub&tcl-major-version;.a"
- msgstr "libtcl&tcl-major-version;.so 和 libtclstub&tcl-major-version;.a"
- #. type: Content of: <sect1><sect2><variablelist><bridgehead>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:156
- msgid "Short Descriptions"
- msgstr "简要描述"
- #. type: Content of: <sect1><sect2><variablelist>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:157
- msgid ""
- "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
- msgstr ""
- "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:161
- msgid "<command>tclsh&tcl-major-version;</command>"
- msgstr "<command>tclsh&tcl-major-version;</command>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:163
- msgid "The Tcl command shell"
- msgstr "Tcl 命令行 shell"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:165
- msgid "tclsh&tcl-major-version;"
- msgstr "tclsh&tcl-major-version;"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:171
- msgid "<command>tclsh</command>"
- msgstr "<command>tclsh</command>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:173
- msgid "A link to tclsh&tcl-major-version;"
- msgstr "一个指向 tclsh&tcl-major-version; 的链接"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:175
- msgid "tclsh"
- msgstr "tclsh"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:181
- msgid "<filename class=\"libraryfile\">libtcl&tcl-major-version;.so</filename>"
- msgstr ""
- "<filename class=\"libraryfile\">libtcl&tcl-major-version;.so</filename>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:183
- msgid "The Tcl library"
- msgstr "Tcl 运行库"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:185
- msgid "libtcl&tcl-major-version;.so"
- msgstr "libtcl&tcl-major-version;.so"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:191
- msgid ""
- "<filename class=\"libraryfile\">libtclstub&tcl-major-version;.a</filename>"
- msgstr ""
- "<filename class=\"libraryfile\">libtclstub&tcl-major-version;.a</filename>"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:193
- msgid "The Tcl Stub library"
- msgstr "Tcl 端桩库"
- #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:195
- msgid "libtclstub&tcl-major-version;.a"
- msgstr "libtclstub&tcl-major-version;.a"
- #~ msgid ""
- #~ "Note that the Tcl package used here is a minimal version needed to run "
- #~ "the LFS tests. For the full package, see the <ulink url='&blfs-book;"
- #~ "general/tcl.html'>BLFS Tcl procedures</ulink>."
- #~ msgstr ""
- #~ "注意,这里使用的 Tcl 软件包是一个最小版本,仅用于运行 LFS 的测试。如果需要"
- #~ "完整的软件包,阅读 <ulink url='&blfs-book;general/tcl.html'>BLFS Tcl 安装"
- #~ "过程</ulink>。"
|