aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-11 17:41:17 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-11 17:41:17 +0000
commit4a880659d648349b37c82334c070260c9bf0ff00 (patch)
tree8f2c3a78e7d6799fd39f87df7d50fd54a697991a /chapter05
parenta1d3af694f549cb435f4095f06c5746ea0bbf08c (diff)
reworded for consistency
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2312 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/bash-inst.xml2
-rw-r--r--chapter05/binutils-inst.xml9
-rw-r--r--chapter05/bzip2-inst.xml14
-rw-r--r--chapter05/diffutils-inst.xml9
-rw-r--r--chapter05/fileutils-inst.xml14
-rw-r--r--chapter05/findutils-inst.xml14
-rw-r--r--chapter05/gawk-inst.xml16
-rw-r--r--chapter05/gawk.xml4
8 files changed, 57 insertions, 25 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml
index c455d1bac..612bc973f 100644
--- a/chapter05/bash-inst.xml
+++ b/chapter05/bash-inst.xml
@@ -54,7 +54,7 @@ That package requires ncurses, and termcap can't reliably be used
there.</para></listitem>
</itemizedlist>
-<para>Now we can continue compiling Bash:</para>
+<para>Now we can continue with compiling Bash:</para>
<para><screen><userinput>make</userinput></screen></para>
diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml
index 0a4954fce..329074627 100644
--- a/chapter05/binutils-inst.xml
+++ b/chapter05/binutils-inst.xml
@@ -29,10 +29,9 @@ static programs and nls often causes problems when you're linking
statically.</para></listitem>
</itemizedlist>
-<para>We'll finish off by compiling and installing the package:</para>
+<para>Continue with compiling the package:</para>
-<para><screen><userinput>make LDFLAGS="-all-static" &amp;&amp;
-make install</userinput></screen></para>
+<para><screen><userinput>make LDFLAGS="-all-static"</userinput></screen></para>
<para>The meaning of the make option is:</para>
@@ -46,5 +45,9 @@ are different ways of setting up the <emphasis>LDFLAGS</emphasis>
variable.</para></listitem>
</itemizedlist>
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
+
</sect2>
diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml
index f6f8183c2..bb50a64fb 100644
--- a/chapter05/bzip2-inst.xml
+++ b/chapter05/bzip2-inst.xml
@@ -8,19 +8,25 @@ for compilation. Instead we just run the <userinput>make</userinput>
program and start compiling, with a few variables changed to suit our
environment:</para>
-<para><screen><userinput>make CC="gcc -static -s"
-make PREFIX=$LFS/static install</userinput></screen></para>
+<para><screen><userinput>make CC="gcc -static -s"</userinput></screen></para>
-<para>The meaning of the make options are:</para>
+<para>The meaning of the make option is:</para>
<itemizedlist>
-
<listitem><para><userinput>CC="gcc -static -s":</userinput> The Bzip2 package
does not honour the <emphasis>LDFLAGS</emphasis> variable, so instead we set
the <emphasis>CC</emphasis> variable which defines which compiler to use.
The <emphasis>-static</emphasis> option tells the compiler to link all
programs statically.</para></listitem>
+</itemizedlist>
+
+<para>And finish off installing the package:</para>
+<para><screen><userinput>make PREFIX=$LFS/static install</userinput></screen></para>
+
+<para>The meaning of the make option is:</para>
+
+<itemizedlist>
<listitem><para><userinput>PREFIX=$LFS/static:</userinput> Instead of
passing a <emphasis>--prefix=$LFS/static</emphasis> to a configure script,
we set the <emphasis>PREFIX</emphasis> variable to accomplish the same goal
diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml
index e197fa674..9110d0918 100644
--- a/chapter05/diffutils-inst.xml
+++ b/chapter05/diffutils-inst.xml
@@ -29,10 +29,13 @@ linking statically on systems that run an older Glibc version and this
construction fixes that problem.</para></listitem>
</itemizedlist>
-<para>Finish off by compiling and installing the package:</para>
+<para>Continue with compiling the package:</para>
-<para><screen><userinput>make
-make install</userinput></screen></para>
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
</sect2>
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 7e6275aeb..42be9cda4 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -25,12 +25,18 @@ than likely result in all kinds of compile time problems.</para>
<para><screen><userinput>patch -Np1 -i ../fileutils-&fileutils-patch-version;.patch</userinput></screen></para>
-<para>Install Fileutils by running the following commands:</para>
+<para>Prepare the package to be compiled:</para>
<para><screen><userinput>LDFLAGS="-static" \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --disable-nls --prefix=$LFS/static
-make
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;./configure --disable-nls --prefix=$LFS/static</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finsh off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
<para>Once you have installed Fileutils, you can test whether the
segmentation fault problem has been avoided by running
diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml
index df3da659a..b05c8089f 100644
--- a/chapter05/findutils-inst.xml
+++ b/chapter05/findutils-inst.xml
@@ -10,11 +10,17 @@ with:</para>
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
-<para>Install Findutils by running the following:</para>
+<para>Prepare Findutils to be compiled:</para>
<para><screen><userinput>CPPFLAGS="-Dre_max_failures=re_max_failures2" \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static
-make
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
</sect2>
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml
index e4366b5b9..320ecdef8 100644
--- a/chapter05/gawk-inst.xml
+++ b/chapter05/gawk-inst.xml
@@ -1,12 +1,20 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Gawk</title>
-<para>Install Gawk by running the following commands:</para>
+<para>Prepare Gawk to be compiled:</para>
<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
</sect2>
diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml
index 97fc91345..76a1cba0e 100644
--- a/chapter05/gawk.xml
+++ b/chapter05/gawk.xml
@@ -5,9 +5,9 @@
<screen>Estimated build time: &gawk-time-static;
Estimated required disk space: &gawk-compsize-static;</screen>
-&c5-gawk-inst;
-&aa-gawk-desc;
+&aa-gawk-shortdesc;
&aa-gawk-dep;
+&c5-gawk-inst;
</sect1>