aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-15 22:39:38 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-15 22:39:38 +0000
commitf2243a550259c561406b5f6d5cec4c6cd6d55299 (patch)
tree1756ef84b148b302bf8a3fe0b9ce6c983b445935 /chapter06
parent8f752242daade0f5a6ef94e7bcf7b7f082f2837e (diff)
Mixed modifications.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2989 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/lfs-utils-inst.xml2
-rw-r--r--chapter06/nettools-inst.xml6
-rw-r--r--chapter06/patch-inst.xml3
-rw-r--r--chapter06/procinfo-inst.xml9
4 files changed, 13 insertions, 7 deletions
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 @@
<para>Now copy two supporting files included in the Lfs-Utils tarball to
their destination:</para>
-<screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen>
+<screen><userinput>cp etc/{services,protocols} /etc</userinput></screen>
<para>The <filename>/etc/services</filename> file is used to resolve service
numbers to human-readable names, and the <filename>/etc/protocols</filename>
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.</para>
-<para>The following patch will fix a small syntax problem with the source
-for the mii-tool binary:</para>
+<para>First fix a small syntax problem in the sources of the mii-tool
+program:</para>
<screen><userinput>patch -Np1 -i ../&net-tools-mii-patch;</userinput></screen>
-<para>Prepare Net-tools for compilation with:</para>
+<para>Now prepare Net-tools for compilation with:</para>
<screen><userinput>make config</userinput></screen>
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 @@
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
+<para>Again, the preprocessor flag <userinput>-D_GNU_SOURCE</userinput> is only
+needed on the PowerPC platform. On other architectures you can leave it out.</para>
+
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
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 @@
<screen><userinput>make LDLIBS=-lncurses</userinput></screen>
-<para>The <emphasis>-lncurses</emphasis> switch overwrites the
-default switch, <emphasis>-ltermcap</emphasis>. This is done
-because libtermcap is declared obsolete in favor of libncurses.</para>
+<para>The meaning of the make parameter:</para>
+<itemizedlist>
+<listitem><para><userinput>LDLIBS=-lncurses</userinput>: This tells Procinfo
+to use the <filename>libncurses</filename> library instead of the
+long-obsolete <filename>libtermcap</filename>.</para></listitem>
+</itemizedlist>
<para>And install the package:</para>