source: chapter05/coreutils.xml@ 9c9d585

Last change on this file since 9c9d585 was 1375d26, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter05/*.xml) RELAX NG validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xi="http://www.w3.org/2003/XInclude"
8 xml:id="ch-tools-coreutils" role="wrap">
9<title>Coreutils-&coreutils-version;</title>
10<?dbhtml filename="coreutils.html"?>
11
12<indexterm zone="ch-tools-coreutils">
13<primary sortas="a-Coreutils">Coreutils</primary>
14<secondary>tools</secondary></indexterm>
15
16<section role="package"><title/>
17<xi:include href="../chapter06/coreutils.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.9 SBU</seg><seg>69 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include href="../chapter06/coreutils.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
26
27</section>
28
29<section role="installation">
30<title>Installation of Coreutils</title>
31
32<para>Prepare Coreutils for compilation:</para>
33
34<screen><userinput>DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/tools</userinput></screen>
35
36<para>This package has an issue when compiled against versions of Glibc
37later than 2.3.2. Some of the Coreutils utilities (such as
38<command>head</command>, <command>tail</command> and <command>sort</command>)
39will reject their traditional syntax, a syntax that has been in use for
40approximately 30 years. This old syntax is so pervasive that compatibility
41should be preserved until the many places where it is used can be
42updated. Backwards compatibility is achieved by setting the
43DEFAULT_POSIX2_VERSION environment variable to <quote>199209</quote> in the above
44command. If you don't want coreutils to be backwards compatible
45with the traditional syntax, then simply omit setting the DEFAULT_POSIX2_VERSION
46environment variable. Realise though, that doing so will mean you'll have
47to deal with the consequences yourself: patch the many packages that still use
48the old syntax. We therefore recommend using the instructions exactly as given
49above.</para>
50
51<para>Compile the package:</para>
52
53<screen><userinput>make</userinput></screen>
54
55<para>(If you want to test the results, then issue:
56<userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
57<parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the test suite to
58run several additional tests that are considered relatively expensive on some
59platforms but generally are not a problem on Linux.)</para>
60
61<para>And install the package:</para>
62
63<screen><userinput>make install</userinput></screen>
64
65</section>
66
67<section role="content"><title/>
68<para>The details on this package are found in <xref linkend="contents-coreutils"/>.</para>
69</section>
70
71</section>
Note: See TracBrowser for help on using the repository browser.