2003-01-15 01:45:00 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-05-10 01:08:03 +01:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Patch</title>
|
|
|
|
|
2003-01-15 01:45:00 +00:00
|
|
|
<para>Prepare Patch to be compiled:</para>
|
2001-05-10 01:08:03 +01:00
|
|
|
|
2002-05-01 20:10:46 +01:00
|
|
|
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
|
2003-01-15 01:45:00 +00:00
|
|
|
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>
|
2001-05-10 01:08:03 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|