gawk-inst.xml 932 B

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