diff options
Diffstat (limited to 'chapter06/gawk-inst.xml')
-rw-r--r-- | chapter06/gawk-inst.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index 49555c5cf..f480e1ea4 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -1,8 +1,12 @@ <sect2> <title>Installation of Gawk</title> +<para>This package requires its patch to be applied before you can +install it. Make sure it's unpacked before running the installation +commands.</para> + <para>Warning: do NOT run <userinput>make uninstall</userinput> on this -package if you apply the <emphasis>sed</emphasis> fix to change the +package if you apply the patch to change the <filename class="directory">libexec</filename> directory definition. The <emphasis>uninstall</emphasis> rule in the <filename>Makefile</filename> file runs a command like <userinput>rm -rf @@ -13,10 +17,7 @@ class="directory">/usr/bin</filename> it'll run <userinput>rm -rf <para>Install Gawk by running the following commands:</para> -<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup && -sed -e '/^datadir/s/awk/gawk/' \ --e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \ - > awklib/Makefile.in && +<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-version;.patch && ./configure --prefix=/usr --libexecdir=/usr/bin && make && make install</userinput></screen></para> |