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