From 673b0d84ba9591e07c0bdf0ee49d92eba10f502c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 3 May 2004 10:59:46 +0000 Subject: * Merged newxml into HEAD git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/coreutils.xml | 58 +++++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 26 deletions(-) (limited to 'chapter05/coreutils.xml') diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml index 945a129bb..78833341f 100644 --- a/chapter05/coreutils.xml +++ b/chapter05/coreutils.xml @@ -1,38 +1,45 @@ + + + %general-entities; +]> -Installing Coreutils-&coreutils-version; - +Coreutils-&coreutils-version; + -&buildtime; &coreutils-time-tools; -&diskspace; &coreutils-compsize-tools; + +Coreutils +tools -Official download location for Coreutils (&coreutils-version;): - -And for the patch: - + -&aa-coreutils-dep; +&buildtime; 0.9 SBU +&diskspace; 69 MB + + -   Installation of Coreutils -This package has an issue when compiled against Glibc-&glibc-version;. -Without the patch below, some of the Coreutils utilities (such as +Prepare Coreutils for compilation: + +DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/tools + +This package has an issue when compiled against versions of glibc +later than 2.3.2. Some of the Coreutils utilities (such as (head, tail and sort) will reject their traditional syntax, a syntax that has been in use for approximately 30 years. This old syntax is so pervasive that compatibility -should be preserved until the many places where it is used can be updated. More -details on this are provided in the comments inside the patch itself. Use of -this patch is by no means compulsory, but not using it means you'll have to -deal with the consequences yourself: patch the many packages that still use the -old syntax. Therefore, better apply the patch: - -patch -Np1 -i ../&coreutils-posixver-patch; - -Now prepare Coreutils for compilation: - -./configure --prefix=/tools +should be preserved until the many places where it is used can be +updated. Backwards compatibility is achieved by setting the +DEFAULT_POSIX2_VERSION environment variable to "199209" in the above +command. If you don't want coreutils to be backwards compatible +with the traditional syntax, then simply omit setting the DEFAULT_POSIX2_VERSION +environment variable. Realise though, that doing so will mean you'll have +to deal with the consequences yourself: patch the many packages that still use +the old syntax. We therefore recommend using the instructions exactly as given +above. Compile the package: @@ -50,9 +57,8 @@ platforms but generally are not a problem on Linux.) -   + The details on this package are found in . -  + - -- cgit v1.2.3-54-g00ecf