aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2008-02-07 19:47:39 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2008-02-07 19:47:39 +0000
commit615a56582820d63d362a15e3f9130a68c1766df2 (patch)
treee0ccbae0e7aa2b5573a05c2240e8577b1eeeca5b /chapter05
parentf0fecc7e8a0eb9fa5aa440ec6b9e12977af88f7a (diff)
Upgrade to Coreutils-6.10. Fixes #2133.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8470 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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