%general-entities; ]> Shadow-&shadow-version; Shadow boot Installation of Shadow Disable the installation of the groups program and its man pages, as Coreutils provides a better version: sed -i 's/groups$(EXEEXT) //' src/Makefile.in find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \; find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; The following cache entries set the values for tests that do not run while cross-compiling: echo "ac_cv_func_setpgrp_void=yes" > config.cache Prepare Shadow for compilation: ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc \ --cache-file=config.cache The meaning of the configure options: --sysconfdir=/etc Tells Shadow to install its configuration files into /etc, rather than /tools/etc. Compile the package: make This package does not come with a test suite. Install the package: make DESTDIR=${CLFS} install <para>Details on this package are located in <xref linkend="contents-shadow" role="."/></para> </sect2> </sect1>