source: BOOK/final-system/common/gawk.xml@ 5f6535b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5f6535b was e3a1e522, checked in by Jim Gifford <clfs@…>, 19 years ago

r981@server (orig r979): jim | 2005-12-30 10:11:32 -0800

r1226@server: cstaub | 2005-12-30 08:35:37 -0800
Updated package deps, removed explanation of cross-compiling from final-system binutils, and removed note about GRUB's testsuite failure


  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-gawk" role="wrap">
9 <?dbhtml filename="gawk.html"?>
10
11 <title>Gawk-&gawk-version;</title>
12
13 <indexterm zone="ch-system-gawk">
14 <primary sortas="a-Gawk">Gawk</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Gawk package contains programs for manipulating text
21 files.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
28 Glibc, Grep, Make, Patch, and Sed</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Gawk</title>
36
37 <para os="a">Patch Gawk to fix a bug which causes it to
38 segfault when invoked on a non-existent file:</para>
39
40<screen os="b"><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
41
42 <para os="c">Prepare Gawk for compilation:</para>
43
44<screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
45
46 <para os="h1">Now we will fix an issue that will cause the gettext testsuite's
47 to fail:</para>
48
49<screen os="h2"><userinput>echo '#define HAVE_LC_MESSAGES 1' >> config.h</userinput></screen>
50
51 <para os="e">Compile the package:</para>
52
53<screen os="f"><userinput>make</userinput></screen>
54
55 <para os="g">To test the results, issue:
56 <userinput>make check</userinput>.</para>
57
58 <para os="h">Install the package:</para>
59
60<screen os="i"><userinput>make install</userinput></screen>
61
62 </sect2>
63
64 <sect2 id="contents-gawk" role="content">
65 <title>Contents of Gawk</title>
66
67 <segmentedlist>
68 <segtitle>Installed programs</segtitle>
69
70 <seglistitem>
71 <seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk,
72 pgawk, pgawk-&gawk-version;, and pwcat</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="awk">
82 <term><command>awk</command></term>
83 <listitem>
84 <para>A link to <command>gawk</command></para>
85 <indexterm zone="ch-system-gawk awk">
86 <primary sortas="b-awk">awk</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry id="gawk">
92 <term><command>gawk</command></term>
93 <listitem>
94 <para>A program for manipulating text files; it is the GNU
95 implementation of <command>awk</command></para>
96 <indexterm zone="ch-system-gawk gawk">
97 <primary sortas="b-gawk">gawk</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="gawk-version">
103 <term><command>gawk-&gawk-version;</command></term>
104 <listitem>
105 <para>A hard link to <command>gawk</command></para>
106 <indexterm zone="ch-system-gawk gawk-version">
107 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="grcat">
113 <term><command>grcat</command></term>
114 <listitem>
115 <para>Dumps the group database <filename>/etc/group</filename></para>
116 <indexterm zone="ch-system-gawk grcat">
117 <primary sortas="b-grcat">grcat</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="igawk">
123 <term><command>igawk</command></term>
124 <listitem>
125 <para>Gives <command>gawk</command> the ability to include files</para>
126 <indexterm zone="ch-system-gawk igawk">
127 <primary sortas="b-igawk">igawk</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="pgawk">
133 <term><command>pgawk</command></term>
134 <listitem>
135 <para>The profiling version of <command>gawk</command></para>
136 <indexterm zone="ch-system-gawk pgawk">
137 <primary sortas="b-pgawk">pgawk</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="pgawk-version">
143 <term><command>pgawk-&gawk-version;</command></term>
144 <listitem>
145 <para>Hard link to <command>pgawk</command></para>
146 <indexterm zone="ch-system-gawk pgawk-version">
147 <primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="pwcat">
153 <term><command>pwcat</command></term>
154 <listitem>
155 <para>Dumps the password database <filename>/etc/passwd</filename></para>
156 <indexterm zone="ch-system-gawk pwcat">
157 <primary sortas="b-pwcat">pwcat</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.