diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2008-02-07 19:47:39 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2008-02-07 19:47:39 +0000 |
commit | 615a56582820d63d362a15e3f9130a68c1766df2 (patch) | |
tree | e0ccbae0e7aa2b5573a05c2240e8577b1eeeca5b /chapter05/coreutils.xml | |
parent | f0fecc7e8a0eb9fa5aa440ec6b9e12977af88f7a (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/coreutils.xml')
-rw-r--r-- | chapter05/coreutils.xml | 22 |
1 files changed, 13 insertions, 9 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_&/' $file.orig > $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 – it is disabled by default but is required by the + Perl test suite.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |