source: chapter05/coreutils.xml@ 3be4d97

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3be4d97 was 3be4d97, checked in by Alex Gronenwoud <alex@…>, 20 years ago

Changing identifiers in preparation for moving sections.

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

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<sect1 id="ch-tools-coreutils">
2<title>Installing Coreutils-&coreutils-version;</title>
3<?dbhtml filename="coreutils.html" dir="chapter05"?>
4
5<screen>&buildtime; &coreutils-time-tools;
6&diskspace; &coreutils-compsize-tools;</screen>
7
8<literallayout>Official download location for Coreutils (&coreutils-version;):
9<ulink url="ftp://ftp.gnu.org/gnu/coreutils/"/>
10And for the Coreutils Posixver Patch:
11<ulink url="&patches-root;&coreutils-posixver-patch;"/></literallayout>
12
13&aa-coreutils-dep;
14
15<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
16
17<sect2>
18<title>Installation of Coreutils</title>
19
20<para>Coreutils has an issue when compiled against Glibc-&glibc-version;.
21Without the patch below, some of the Coreutils utilities (head, tail, sort etc)
22will reject their traditional syntax which has been in use for approximately 30
23years. The old syntax is so pervasive that compatibility must be preserved until
24the many places where it is used can be updated. More details are provided in
25the comments inside the patch itself. Use of this patch is by no means
26compulsory but opting not to use it means you'll have deal with the consequences
27yourself, i.e. patch the many software packages that use the old syntax. Apply
28the patch:</para>
29
30<screen><userinput>patch -Np1 -i ../&coreutils-posixver-patch;</userinput></screen>
31
32<para>Now prepare Coreutils for compilation:</para>
33
34<screen><userinput>./configure --prefix=/tools</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
40<para>As discussed earlier, we don't recommend running the test suites for the
41temporary tools here in this chapter. If you still want to run the Coreutils
42test suite anyway, the following command will do so:</para>
43
44<screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen>
45
46<para>The meaning of the make parameter:</para>
47
48<itemizedlist>
49<listitem><para><userinput>RUN_EXPENSIVE_TESTS=yes</userinput>: This tells the
50test suite to run several additional tests that are considered relatively
51expensive on some platforms. However, they are generally not a problem on
52Linux.</para></listitem>
53</itemizedlist>
54
55<para>And install the package:</para>
56
57<screen><userinput>make install</userinput></screen>
58
59</sect2>
60
61<sect2><title>&nbsp;</title><para>&nbsp;</para>
62<para>The details on this package are found in <xref linkend="contents-coreutils"/>.</para>
63<para>&nbsp;</para></sect2>
64
65</sect1>
66
Note: See TracBrowser for help on using the repository browser.