aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/patch-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-15 01:45:00 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-15 01:45:00 +0000
commit63eb55cb8f49a9a9bb15ed2312a64a52100c448d (patch)
tree71761a90ba591dfadf79c6b003b1f35464a02f55 /chapter05/patch-inst.xml
parent91b45adcd650bca92b7186aaf4230d8d34c85fff (diff)
converted gzip, make and patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2319 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/patch-inst.xml')
-rw-r--r--chapter05/patch-inst.xml25
1 files changed, 21 insertions, 4 deletions
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 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Patch</title>
-<para>Install Patch by running the following commands:</para>
+<para>Prepare Patch to be compiled:</para>
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
+
+<para>The meaning of the configure option is:</para>
+
+<itemizedlist>
+<listitem><para><userinput>CPPFLAGS=-D_GNU_SOURCE:</userinput> 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.</para></listitem>
+</itemizedlist>
+
+<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>