diff options
Diffstat (limited to 'chapter06/gawk-inst.xml')
-rw-r--r-- | chapter06/gawk-inst.xml | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index 7bb1ebe05..2fcdd6ad7 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -1,15 +1,28 @@ +<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.</para> +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 Texinfo 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>Install Gawk by running the following commands:</para> +<para>Finish installing the package:</para> -<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch && -./configure --prefix=/usr --libexecdir=/usr/bin && -make && -make install</userinput></screen></para> +<para><screen><userinput>make install</userinput></screen></para> </sect2> |