From f2243a550259c561406b5f6d5cec4c6cd6d55299 Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Wed, 15 Oct 2003 22:39:38 +0000 Subject: Mixed modifications. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2989 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/lfs-utils-inst.xml | 2 +- chapter06/nettools-inst.xml | 6 +++--- chapter06/patch-inst.xml | 3 +++ chapter06/procinfo-inst.xml | 9 ++++++--- 4 files changed, 13 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/lfs-utils-inst.xml b/chapter06/lfs-utils-inst.xml index 7ebc6744f..2961ec330 100644 --- a/chapter06/lfs-utils-inst.xml +++ b/chapter06/lfs-utils-inst.xml @@ -14,7 +14,7 @@ Now copy two supporting files included in the Lfs-Utils tarball to their destination: -cp -f etc/{services,protocols} /etc +cp etc/{services,protocols} /etc The /etc/services file is used to resolve service numbers to human-readable names, and the /etc/protocols diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml index 28b6f98b5..fee875247 100644 --- a/chapter06/nettools-inst.xml +++ b/chapter06/nettools-inst.xml @@ -13,12 +13,12 @@ to actually enable these protocols in the kernel -- what you do here is merely telling the package to include support for those protocols in its programs, but it's up to the kernel to make the protocols available. -The following patch will fix a small syntax problem with the source -for the mii-tool binary: +First fix a small syntax problem in the sources of the mii-tool +program: patch -Np1 -i ../&net-tools-mii-patch; -Prepare Net-tools for compilation with: +Now prepare Net-tools for compilation with: make config diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml index 00eb64506..ead7ec11c 100644 --- a/chapter06/patch-inst.xml +++ b/chapter06/patch-inst.xml @@ -7,6 +7,9 @@ CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr +Again, the preprocessor flag -D_GNU_SOURCE is only +needed on the PowerPC platform. On other architectures you can leave it out. + Compile the package: make diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml index 35f58509f..9ed40c34d 100644 --- a/chapter06/procinfo-inst.xml +++ b/chapter06/procinfo-inst.xml @@ -7,9 +7,12 @@ make LDLIBS=-lncurses -The -lncurses switch overwrites the -default switch, -ltermcap. This is done -because libtermcap is declared obsolete in favor of libncurses. +The meaning of the make parameter: + +LDLIBS=-lncurses: This tells Procinfo +to use the libncurses library instead of the +long-obsolete libtermcap. + And install the package: -- cgit v1.2.3-54-g00ecf