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