source: chapter05/coreutils.xml@ c91dd5b

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 c91dd5b was c91dd5b, checked in by Alex Gronenwoud <alex@…>, 20 years ago

Making the test suites in chapter 5 more clearly optional.

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

  • Property mode set to 100644
File size: 2.2 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 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
22(<command>head</command>, <command>tail</command>, <command>sort</command>,
23and others) will reject their traditional syntax which has been in use for
24approximately 30 years. This old syntax is so pervasive that compatibility
25should be preserved until the many places where it is used can be updated.
26More details on this are provided in the comments inside the patch itself. Use
27of this patch is by no means compulsory, but not using it means you'll have to
28deal with the consequences yourself: patch the many packages that use the old
29syntax. Therefore, better apply the patch:</para>
30
31<screen><userinput>patch -Np1 -i ../&coreutils-posixver-patch;</userinput></screen>
32
33<para>Now prepare Coreutils for compilation:</para>
34
35<screen><userinput>./configure --prefix=/tools</userinput></screen>
36
37<para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
41<para>(If you insist on testing the results, then issue:
42<userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The
43<emphasis>RUN_EXPENSIVE_TESTS=yes</emphasis> parameter tells the test suite to
44run several additional tests that are considered relatively expensive on some
45platforms but generally are not a problem on Linux.)</para>
46
47<para>And install the package:</para>
48
49<screen><userinput>make install</userinput></screen>
50
51</sect2>
52
53<sect2><title>&nbsp;</title><para>&nbsp;</para>
54<para>The details on this package are found in <xref linkend="contents-coreutils"/>.</para>
55<para>&nbsp;</para></sect2>
56
57</sect1>
58
Note: See TracBrowser for help on using the repository browser.