From 73aedd1d35747ff2fad4ddf514dca810721a612a Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 1 Nov 2003 22:31:50 +0000 Subject: Merging caption and installation sections for all packages in chapters 5 and 6. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/utillinux.xml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'chapter05/utillinux.xml') diff --git a/chapter05/utillinux.xml b/chapter05/utillinux.xml index 0e0d7ff05..33c79ff99 100644 --- a/chapter05/utillinux.xml +++ b/chapter05/utillinux.xml @@ -7,6 +7,37 @@ Estimated required disk space: &util-linux-compsize-tools; &aa-utillinux-shortdesc; &aa-utillinux-dep; -&c5-utillinux-inst; + +   + + +Installation of Util-linux + +Util-linux doesn't use the freshly installed headers and libraries from +the /tools directory. This is fixed by altering the configure script: + +cp configure configure.backup +sed "s@/usr/include@/tools/include@g" configure.backup > configure + +Prepare Util-linux for compilation: + +./configure + +Compile some support routines: + +make -C lib + +And, since you'll need only a couple of the utilities contained in this +package, build just those: + +make -C mount mount umount +make -C text-utils more + +Now copy these programs to the temporary tools directory: + +cp mount/{,u}mount text-utils/more /tools/bin + + + -- cgit v1.2.3-54-g00ecf