mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
a78a9b4e02
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2354 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
29 lines
922 B
XML
29 lines
922 B
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Gawk</title>
|
|
|
|
<para>This package requires its patch to be applied before you can
|
|
install it. Issue the following command to apply the patch:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para>
|
|
|
|
<para>This patch alters the code that determines the location of the
|
|
libexec directory. The patch will allow us to override it by passing
|
|
<emphasis>--libexecdir</emphasis> to the configure script.</para>
|
|
|
|
<para>Prepare Gawk to be compiled:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
<para>Finish installing the package:</para>
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|