gawk.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-gawk" role="wrap">
  7. <title>Gawk-&gawk-version;</title>
  8. <?dbhtml filename="gawk.html"?>
  9. <indexterm zone="ch-tools-gawk">
  10. <primary sortas="a-Gawk">Gawk</primary>
  11. <secondary>tools</secondary></indexterm>
  12. <sect2 role="package"><title/>
  13. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  14. <segmentedlist>
  15. <segtitle>&buildtime;</segtitle>
  16. <segtitle>&diskspace;</segtitle>
  17. <seglistitem><seg>0.2 SBU</seg><seg>16.4 MB</seg></seglistitem>
  18. </segmentedlist>
  19. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  20. </sect2>
  21. <sect2 role="installation">
  22. <title>Installation of Gawk</title>
  23. <para>Prepare Gawk for compilation:</para>
  24. <screen><userinput>./configure --prefix=/tools</userinput></screen>
  25. <para>The configure script doesn't detect some functionality correctly. The
  26. following commands correct this problem:</para>
  27. <screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
  28. echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen>
  29. <para>Compile the package:</para>
  30. <screen><userinput>make</userinput></screen>
  31. <para>To test the results, issue: <userinput>make check</userinput>.</para>
  32. <para>Install the package:</para>
  33. <screen><userinput>make install</userinput></screen>
  34. </sect2>
  35. <sect2 role="content"><title/>
  36. <para>Details on this package are located in <xref
  37. linkend="contents-gawk" role="."/></para>
  38. </sect2>
  39. </sect1>