%general-entities; ]> Coreutils-&coreutils-version; Coreutils temporary system Installation of Coreutils Configure can not properly determine how to get free space when cross-compiling - as a result, the df program will not be built. Add the following entries to config.cache to correct this, and fix various cross-compiling issues: cat > config.cache << EOF fu_cv_sys_stat_statfs2_bsize=yes gl_cv_func_working_mkstemp=yes EOF Apply a patch to not generate manpages : patch -Np1 -i ../&coreutils-noman-patch; 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 testsuite. Apply a sed to allow completion of the build: cp -v Makefile{,.orig} sed -e 's/^#run_help2man\|^run_help2man/#&/' \ -e 's/^\##run_help2man/run_help2man/' Makefile.orig > Makefile Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-coreutils" role="."/></para> </sect2> </sect1>