6.14. Coreutils-8.27

The Coreutils package contains utilities for showing and setting the basic system characteristics.

6.14.1. Installation of Coreutils

Prepare Coreutils for compilation:

./configure \
    --prefix=/tools \
    --build=${CLFS_HOST} \
    --host=${CLFS_TARGET} \
    --enable-install-program=hostname \
    --cache-file=config.cache

The meaning of the new configure option:

--enable-install-program=hostname

Tells Coreutils to install hostname, which is needed for the Perl test suite.

Adjust the Makefile so man pages aren't generated:

sed -i -e 's/^man1_MANS/#man1_MANS/' Makefile

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.60.2, “Contents of Coreutils.”