|
@@ -1,4 +1,4 @@
|
|
|
-<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
@@ -41,41 +41,49 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>Installation of Coreutils</title>
|
|
|
+ <title>安装 Coreutils</title>
|
|
|
|
|
|
- <para>Prepare Coreutils for compilation:</para>
|
|
|
+ <para>准备编译 Coreutils:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/tools --enable-install-program=hostname</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
- <title>The meaning of the configure options:</title>
|
|
|
+ <title>配置选项的含义:</title>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><envar>--enable-install-program=hostname</envar></term>
|
|
|
<listitem>
|
|
|
- <para>This enables the <command>hostname</command> binary to be built
|
|
|
+ <!--para>This enables the <command>hostname</command> binary to be built
|
|
|
and installed – it is disabled by default but is required by the
|
|
|
- Perl test suite.</para>
|
|
|
+ Perl test suite.</para-->
|
|
|
+ <para>该选项表示构建 <command>hostname</command> 程序并安装它 ——
|
|
|
+ 默认情况下它被禁用,但 Perl 测试套件需要它。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
</variablelist>
|
|
|
|
|
|
- <para>Compile the package:</para>
|
|
|
+ <para>编译该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
- <para>Compilation is now complete. As discussed earlier, running the test
|
|
|
+ <!--para>Compilation is now complete. As discussed earlier, running the test
|
|
|
suite is not mandatory for the temporary tools here in this chapter. To run
|
|
|
- the Coreutils test suite anyway, issue the following command:</para>
|
|
|
+ the Coreutils test suite anyway, issue the following command:</para-->
|
|
|
+ <para>现在编译已经完成,正如前文所述,
|
|
|
+ 没有必要在本章中运行临时工具的测试套件。如果一定要运行 Coreutils
|
|
|
+ 测试套件,执行下列命令:</para>
|
|
|
|
|
|
<screen><userinput remap="test">make RUN_EXPENSIVE_TESTS=yes check</userinput></screen>
|
|
|
|
|
|
- <para>The <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
|
|
|
+ <!--para>The <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
|
|
|
test suite to run several additional tests that are considered
|
|
|
relatively expensive (in terms of CPU power and memory usage) on some
|
|
|
- platforms, but generally are not a problem on Linux.</para>
|
|
|
+ platforms, but generally are not a problem on Linux.</para-->
|
|
|
+ <para>参数 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter>
|
|
|
+ 告诉测试套件运行一些附加测试,在某些平台上它们被认为比较耗费
|
|
|
+ CPU 和内存资源,但在 Linux 上一般不成问题。</para>
|
|
|
|
|
|
- <para>Install the package:</para>
|
|
|
+ <para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
<!--
|
|
@@ -91,8 +99,8 @@
|
|
|
<sect2 role="content">
|
|
|
<title/>
|
|
|
|
|
|
- <para>Details on this package are located in
|
|
|
- <xref linkend="contents-coreutils" role="."/></para>
|
|
|
+ <para>该软件包的详细信息可以在
|
|
|
+ <xref linkend="contents-coreutils"/> 中找到。</para>
|
|
|
|
|
|
</sect2>
|
|
|
|