1
0

gawk.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-tools-gawk" role="wrap">
  8. <?dbhtml filename="gawk.html"?>
  9. <title>Gawk-&gawk-version;</title>
  10. <indexterm zone="ch-tools-gawk">
  11. <primary sortas="a-Gawk">Gawk</primary>
  12. <secondary>tools</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  17. href="../chapter06/gawk.xml"
  18. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  19. <segmentedlist>
  20. <segtitle>&buildtime;</segtitle>
  21. <segtitle>&diskspace;</segtitle>
  22. <seglistitem>
  23. <seg>&gawk-ch5-sbu;</seg>
  24. <seg>&gawk-ch5-du;</seg>
  25. </seglistitem>
  26. </segmentedlist>
  27. </sect2>
  28. <sect2 role="installation">
  29. <title>Installation of Gawk</title>
  30. <para>Prepare Gawk for compilation:</para>
  31. <screen><userinput>./configure --prefix=/tools</userinput></screen>
  32. <para>Due to a bug in the <command>configure</command> script, Gawk fails
  33. to detect certain aspects of locale support in Glibc. This bug leads to,
  34. e.g., Gettext testsuite failures. Work around this issue by appending the
  35. missing macro definitions to <filename>config.h</filename>:</para>
  36. <screen><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
  37. <literal>#define HAVE_LANGINFO_CODESET 1
  38. #define HAVE_LC_MESSAGES 1</literal>
  39. EOF</userinput></screen>
  40. <para>Compile the package:</para>
  41. <screen><userinput>make</userinput></screen>
  42. <para>To test the results, issue:
  43. <userinput>make check</userinput>.</para>
  44. <para>Install the package:</para>
  45. <screen><userinput>make install</userinput></screen>
  46. </sect2>
  47. <sect2 role="content">
  48. <title/>
  49. <para>Details on this package are located in
  50. <xref linkend="contents-gawk" role="."/></para>
  51. </sect2>
  52. </sect1>