aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/coreutils.xml22
-rw-r--r--chapter05/perl.xml6
2 files changed, 16 insertions, 12 deletions
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml
index 8a35596a7..e763866ba 100644
--- a/chapter05/coreutils.xml
+++ b/chapter05/coreutils.xml
@@ -43,18 +43,22 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
- <para>The version of the function <quote>futimens</quote> used
- by Coreutils is incompatible with the version that current
- Glibc provides, so we'll rename the function:</para>
+ <para>Prepare Coreutils for compilation:</para>
-<screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
- cp -v $file{,.orig}
- sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
-done</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools --enable-install-program=hostname</userinput></screen>
- <para>Prepare Coreutils for compilation:</para>
+ <variablelist>
+ <title>The meaning of the configure options:</title>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+ <varlistentry>
+ <term><envar>--enable-install-program=hostname</envar></term>
+ <listitem>
+ <para>This enables the <command>hostname</command> binary to be built
+ and installed &ndash; it is disabled by default but is required by the
+ Perl test suite.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index ad27d07ce..7f60c5985 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -73,10 +73,10 @@ sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput><
</variablelist>
- <para>Only a few of the utilities contained in this package need to be
- built:</para>
+ <para>Only a few of the utilities contained in this package, and one of its
+ libraries need to be built:</para>
-<screen><userinput remap="make">make perl utilities</userinput></screen>
+<screen><userinput remap="make">make perl utilities ext/Errno/pm_to_blib</userinput></screen>
<para>Although Perl comes with a test suite, it is not recommended to
run it at this point. Only part of Perl was built and running