|
@@ -23,7 +23,7 @@
|
|
<sect2 role="package">
|
|
<sect2 role="package">
|
|
<title/>
|
|
<title/>
|
|
|
|
|
|
- <para>The Make package contains a program for compiling packages.</para>
|
|
|
|
|
|
+ <para>Make 软件包包含用于编译软件包的程序。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
<segmentedlist>
|
|
<segtitle>&buildtime;</segtitle>
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -38,9 +38,9 @@
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
- <title>安装Make</title>
|
|
|
|
|
|
+ <title>安装 Make</title>
|
|
|
|
|
|
- <para>Again, work around an error caused by glibc-2.27:</para>
|
|
|
|
|
|
+ <para>再一次地,绕过 glibc-2.27 引入的一个问题:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
|
|
<screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
|
|
<para>准备安装 Make:</para>
|
|
<para>准备安装 Make:</para>
|
|
@@ -51,9 +51,8 @@
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
- <para>The test suite needs to know where supporting perl files are located.
|
|
|
|
- We use an envronment variable to accomplish this. To test the
|
|
|
|
- results, issue:</para>
|
|
|
|
|
|
+ <para>测试套件需要知道 perl 支持文件的位置。
|
|
|
|
+ 我们使用环境变量提供该位置,运行下列命令测试编译结果:</para>
|
|
|
|
|
|
<screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
|
|
<screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
|
|
|
|
|
|
@@ -83,8 +82,8 @@
|
|
<varlistentry id="make">
|
|
<varlistentry id="make">
|
|
<term><command>make</command></term>
|
|
<term><command>make</command></term>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>Automatically determines which pieces of a package need to
|
|
|
|
- be (re)compiled and then issues the relevant commands</para>
|
|
|
|
|
|
+ <para>自动确定软件包中需要(重新)构建的部分,并执行对应命令
|
|
|
|
+ </para>
|
|
<indexterm zone="ch-system-make make">
|
|
<indexterm zone="ch-system-make make">
|
|
<primary sortas="b-make">make</primary>
|
|
<primary sortas="b-make">make</primary>
|
|
</indexterm>
|
|
</indexterm>
|