From 123880fa3b906bacae2ebda392a0ed99eda4edc3 Mon Sep 17 00:00:00 2001 From: Thomas Balu Walter Date: Fri, 30 Mar 2001 23:43:09 +0000 Subject: easier procps-installation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/procps-exp.xml | 11 +++++------ chapter06/procps-inst.xml | 5 ++--- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'chapter06') diff --git a/chapter06/procps-exp.xml b/chapter06/procps-exp.xml index f08fe8383..0b5a00c2c 100644 --- a/chapter06/procps-exp.xml +++ b/chapter06/procps-exp.xml @@ -2,12 +2,11 @@ Command explanations -sed "s/XConsole/#XConsole/" Makefile | make -f -: -This will comment out the XConsole variable in the Makefile and pipe the -output of sed (the modified Makefile) directly to the make program. This -is an alternate and more efficient way to direct the output to a file -and tell make to use that alternate file. The XConsole build is disabled -because it can't be build yet because we don't have X installed yet. +make XSCPT='' install: +This will set the Makefile variable XSCPT to an empty value so that +the XConsole installation is disabled. Otherwise "Make install" tries to +copy the file XConsole to /usr/X11R6/bin. +And that directory does not exist, because X is not installed yet. diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml index 917def8c5..f89712ad0 100644 --- a/chapter06/procps-inst.xml +++ b/chapter06/procps-inst.xml @@ -7,9 +7,8 @@ Install Procps by running the following commands:
- sed "s/XConsole/#XConsole/" Makefile | make -f - - && - sed "s/XConsole/#XConsole/" Makefile | make -f - install + make && + make XSCPT='' install && mv /usr/bin/kill /bin -- cgit v1.2.3-54-g00ecf