From 63eb55cb8f49a9a9bb15ed2312a64a52100c448d Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 15 Jan 2003 01:45:00 +0000 Subject: converted gzip, make and patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2319 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gzip-inst.xml | 16 ++++++++++++---- chapter05/gzip.xml | 4 ++-- chapter05/make-inst.xml | 24 ++++++++++++++++-------- chapter05/make.xml | 4 ++-- chapter05/patch-exp.xml | 10 ---------- chapter05/patch-inst.xml | 25 +++++++++++++++++++++---- chapter05/patch.xml | 5 ++--- 7 files changed, 55 insertions(+), 33 deletions(-) delete mode 100644 chapter05/patch-exp.xml (limited to 'chapter05') diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml index e7828b436..77737e234 100644 --- a/chapter05/gzip-inst.xml +++ b/chapter05/gzip-inst.xml @@ -1,11 +1,19 @@ +   + Installation of Gzip -Install Gzip by running the following commands: +Prepare Gzip to be compiled: + +./configure --prefix=$LFS/static + +Continue with compiling the package: + +make LDFLAGS="-static" + +And finish off installing the package: -./configure --prefix=$LFS/static && -make LDFLAGS="-static" && -make install +make install diff --git a/chapter05/gzip.xml b/chapter05/gzip.xml index 9ae7efa96..6d608ceb1 100644 --- a/chapter05/gzip.xml +++ b/chapter05/gzip.xml @@ -5,9 +5,9 @@ Estimated build time: &gzip-time-static; Estimated required disk space: &gzip-compsize-static; -&c5-gzip-inst; -&aa-gzip-desc; +&aa-gzip-shortdesc; &aa-gzip-dep; +&c5-gzip-inst; diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml index 8f91baa6a..5efe572a3 100644 --- a/chapter05/make-inst.xml +++ b/chapter05/make-inst.xml @@ -1,11 +1,19 @@ +   + Installation of Make -Install Make by running the following commands: +Prepare Make to be compiled: + +LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls + +Continue with compiling the package: + +make + +And finish off installing the package: -LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls && -make && -make install +make install During the make install phase you will see this warning: @@ -14,10 +22,10 @@ make install otherwise the `-l' option will probably not work. You may need special privileges to complete the installation of /mnt/lfs/static/bin/make. -You can safely ignore this warning. The make program doesn't actually need to be owned by -group kmem and setgid for the -l option to work. (This option -tells make not to start any new jobs when a certain load on -the system has been reached.) +You can safely ignore this warning. The make program doesn't actually +need to be owned by group kmem and setgid for the -l +option to work. (This option tells make not to start any new jobs when a +certain load on the system has been reached.) diff --git a/chapter05/make.xml b/chapter05/make.xml index 4e4f2ca34..ebb9331bb 100644 --- a/chapter05/make.xml +++ b/chapter05/make.xml @@ -5,9 +5,9 @@ Estimated build time: &make-time-static; Estimated required disk space: &make-compsize-static; -&c5-make-inst; -&aa-make-desc; +&aa-make-shortdesc; &aa-make-dep; +&c5-make-inst; diff --git a/chapter05/patch-exp.xml b/chapter05/patch-exp.xml deleted file mode 100644 index ed90304af..000000000 --- a/chapter05/patch-exp.xml +++ /dev/null @@ -1,10 +0,0 @@ - -Command explanations - -CPPFLAGS=-D_GNU_SOURCE: -This flag fixes installation problems of this package on PPC and m68k -platforms (that we know of). It doesn't hurt compilation on other -platforms, such as x86, so we do it by default. - - - diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml index 9142a23bf..9f9467b2b 100644 --- a/chapter05/patch-inst.xml +++ b/chapter05/patch-inst.xml @@ -1,12 +1,29 @@ +   + Installation of Patch -Install Patch by running the following commands: +Prepare Patch to be compiled: CPPFLAGS=-D_GNU_SOURCE \ -    LDFLAGS="-static" ./configure --prefix=$LFS/static && -make && -make install +    LDFLAGS="-static" ./configure --prefix=$LFS/static + +The meaning of the configure option is: + + +CPPFLAGS=-D_GNU_SOURCE: This flag +fixes installation problems of this package on PPC and m68k platforms (that +we know of). It doesn't hurt compilation on other platforms, such as x86, +so we do it by default. + + +Continue with compiling the package: + +make + +And finish off installing the package: + +make install diff --git a/chapter05/patch.xml b/chapter05/patch.xml index f0a5007fe..c8d6b8d65 100644 --- a/chapter05/patch.xml +++ b/chapter05/patch.xml @@ -5,10 +5,9 @@ Estimated build time: &patch-time-static; Estimated required disk space: &patch-compsize-static; -&c5-patch-inst; -&c5-patch-exp; -&aa-patch-desc; +&aa-patch-shortdesc; &aa-patch-dep; +&c5-patch-inst; -- cgit v1.2.3-54-g00ecf