Added a few comments here and there
[linux_from_scratch.git] / newxml / chapter06 / patch.xml
blob0e7327750296f03bdfbbea7bc3ad3b6422568c16
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3   <!ENTITY % patch-entities SYSTEM "../ent/patch.ent">
4   %patch-entities;
5 ]>
6 <sect1 id="ch06-patch">
7 <title>Installing Patch-&patch-version;</title>
8 <?dbhtml filename="patch.html"?>
10 <screen>Estimated build time:           0.1 SBU
11 Estimated required disk space:  1.9 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/patch-contents.xml"/>
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/patch-deps.xml"/>
21 <sect2>
22 <title>Installation of Patch</title>
24 <para>Prepare Patch for compilation:</para>
26 <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
28 <para>Again, the preprocessor flag <userinput>-D_GNU_SOURCE</userinput> is only
29 needed on the PowerPC platform. On other architectures you can leave it out.</para>
31 <para>Compile the package:</para>
33 <screen><userinput>make</userinput></screen>
35 <para>And install it:</para>
37 <screen><userinput>make install</userinput></screen>
39 </sect2>
41 </sect1>