gawk-inst.xml 999 B

1234567891011121314151617181920212223242526
  1. <sect2>
  2. <title>Installation of Gawk</title>
  3. <para>This package requires its patch to be applied before you can
  4. install it. Make sure it's unpacked before running the installation
  5. commands.</para>
  6. <para>Warning: do NOT run <userinput>make uninstall</userinput> on this
  7. package if you apply the patch to change the
  8. <filename class="directory">libexec</filename> directory definition. The
  9. <emphasis>uninstall</emphasis> rule in the <filename>Makefile</filename>
  10. file runs a command like <userinput>rm -rf
  11. &lt;libexecdir&gt;/*</userinput> Since we change the <filename
  12. class="directory">libexec</filename> directory to <filename
  13. class="directory">/usr/bin</filename> it'll run <userinput>rm -rf
  14. /usr/bin/*</userinput></para>
  15. <para>Install Gawk by running the following commands:</para>
  16. <para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch &amp;&amp;
  17. ./configure --prefix=/usr --libexecdir=/usr/bin &amp;&amp;
  18. make &amp;&amp;
  19. make install</userinput></screen></para>
  20. </sect2>