gawk.xml 1.8 KB

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