source: final-system/common/perl.xml@ 77d061a

Last change on this file since 77d061a was e6423a01, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • Property mode set to 100644
File size: 13.3 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-perl" role="wrap">
9 <?dbhtml filename="perl.html"?>
10
11 <title>Perl-&perl-version;</title>
12
13 <indexterm zone="ch-system-perl">
14 <primary sortas="a-Perl">Perl</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Perl package contains the Practical Extraction and Report
21 Language.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils,
28 Gawk, GCC, Glibc, Grep, Make, and Sed</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Perl</title>
36
37 <para os="a">To have full control over the way Perl is set up, run the
38 interactive <command>Configure</command> script and hand-pick the way
39 this package is built. If the defaults it auto-detects are suitable,
40 prepare Perl for compilation with:</para>
41
42<screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
43
44 <variablelist os="c">
45 <title>The meaning of the configure option:</title>
46
47 <varlistentry os="c1">
48 <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
49 <listitem>
50 <para>This corrects an error in the way that <command>perldoc</command>
51 invokes the <command>less</command> program.</para>
52 </listitem>
53 </varlistentry>
54 </variablelist>
55
56 <para os="d">Compile the package:</para>
57
58<screen os="e"><userinput>make</userinput></screen>
59
60 <para os="f">To run the test suite, first create a basic
61 <filename>/etc/hosts</filename> file which is needed by a couple of
62 the tests to resolve the network name localhost:</para>
63
64<screen os="g"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
65
66 <para os="h">Now run the tests, if desired:</para>
67
68<screen os="i"><userinput>make test</userinput></screen>
69
70 <para os="j">Install the package:</para>
71
72<screen os="k"><userinput>make install</userinput></screen>
73
74 </sect2>
75
76 <sect2 id="contents-perl" role="content">
77 <title>Contents of Perl</title>
78
79 <segmentedlist>
80 <segtitle>Installed programs</segtitle>
81 <segtitle>Installed libraries</segtitle>
82
83 <seglistitem>
84 <seg>a2p, c2ph, dprofpp, enc2xs, find2perl, h2ph, h2xs, libnetcfg,
85 perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc,
86 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
87 pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
88 to c2ph), s2p, splain, and xsubpp</seg>
89 <seg>Several hundred which cannot all be listed here</seg>
90 </seglistitem>
91 </segmentedlist>
92
93 <variablelist>
94 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
95 <?dbfo list-presentation="list"?>
96 <?dbhtml list-presentation="table"?>
97
98 <varlistentry id="a2p">
99 <term><command>a2p</command></term>
100 <listitem>
101 <para>Translates awk to Perl</para>
102 <indexterm zone="ch-system-perl a2p">
103 <primary sortas="b-a2p">a2p</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="c2ph">
109 <term><command>c2ph</command></term>
110 <listitem>
111 <para>Dumps C structures as generated from
112 <command>cc -g -S</command></para>
113 <indexterm zone="ch-system-perl c2ph">
114 <primary sortas="b-c2ph">c2ph</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry id="dprofpp">
120 <term><command>dprofpp</command></term>
121 <listitem>
122 <para>Displays Perl profile data</para>
123 <indexterm zone="ch-system-perl dprofpp">
124 <primary sortas="b-dprofpp">dprofpp</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="en2cxs">
130 <term><command>en2cxs</command></term>
131 <listitem>
132 <para>Builds a Perl extension for the Encode module from either
133 Unicode Character Mappings or Tcl Encoding Files</para>
134 <indexterm zone="ch-system-perl en2cxs">
135 <primary sortas="b-en2cxs">en2cxs</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="find2perl">
141 <term><command>find2perl</command></term>
142 <listitem>
143 <para>Translates <command>find</command> commands to Perl</para>
144 <indexterm zone="ch-system-perl find2perl">
145 <primary sortas="b-find2perl">find2perl</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="h2ph">
151 <term><command>h2ph</command></term>
152 <listitem>
153 <para>Converts <filename class="extension">.h</filename> C header
154 files to <filename class="extension">.ph</filename> Perl header
155 files</para>
156 <indexterm zone="ch-system-perl h2ph">
157 <primary sortas="b-h2ph">h2ph</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="h2xs">
163 <term><command>h2xs</command></term>
164 <listitem>
165 <para>Converts <filename class="extension">.h</filename> C header
166 files to Perl extensions</para>
167 <indexterm zone="ch-system-perl h2xs">
168 <primary sortas="b-h2xs">h2xs</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="libnetcfg">
174 <term><command>libnetcfg</command></term>
175 <listitem>
176 <para>Can be used to configure the
177 <filename class="libraryfile">libnet</filename></para>
178 <indexterm zone="ch-system-perl libnetcfg">
179 <primary sortas="b-libnetcfg">libnetcfg</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="perl">
185 <term><command>perl</command></term>
186 <listitem>
187 <para>Combines some of the best features of C, <command>sed</command>,
188 <command>awk</command> and <command>sh</command> into a single
189 swiss-army language</para>
190 <indexterm zone="ch-system-perl perl">
191 <primary sortas="b-perl">perl</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="perl-version">
197 <term><command>perl&perl-version;</command></term>
198 <listitem>
199 <para>A hard link to <command>perl</command></para>
200 <indexterm zone="ch-system-perl perl-version">
201 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="perlbug">
207 <term><command>perlbug</command></term>
208 <listitem>
209 <para>Used to generate bug reports about Perl, or the modules that come
210 with it, and mail them</para>
211 <indexterm zone="ch-system-perl perlbug">
212 <primary sortas="b-perlbug">perlbug</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="perlcc">
218 <term><command>perlcc</command></term>
219 <listitem>
220 <para>Generates executables from Perl programs</para>
221 <indexterm zone="ch-system-perl perlcc">
222 <primary sortas="b-perlcc">perlcc</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="perldoc">
228 <term><command>perldoc</command></term>
229 <listitem>
230 <para>Displays a piece of documentation in pod format that is embedded
231 in the Perl installation tree or in a Perl script</para>
232 <indexterm zone="ch-system-perl perldoc">
233 <primary sortas="b-perldoc">perldoc</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="perlivp">
239 <term><command>perlivp</command></term>
240 <listitem>
241 <para>The Perl Installation Verification Procedure; it can be used to
242 verify that Perl and its libraries have been installed
243 correctly</para>
244 <indexterm zone="ch-system-perl perlivp">
245 <primary sortas="b-perlivp">perlivp</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="piconv">
251 <term><command>piconv</command></term>
252 <listitem>
253 <para>A Perl version of the character encoding converter
254 <command>iconv</command></para>
255 <indexterm zone="ch-system-perl piconv">
256 <primary sortas="b-piconv">piconv</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="pl2pm">
262 <term><command>pl2pm</command></term>
263 <listitem>
264 <para>A rough tool for converting Perl4
265 <filename class="extension">.pl</filename> files to Perl5
266 <filename class="extension">.pm</filename> modules</para>
267 <indexterm zone="ch-system-perl pl2pm">
268 <primary sortas="b-pl2pm">pl2pm</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="pod2html">
274 <term><command>pod2html</command></term>
275 <listitem>
276 <para>Converts files from pod format to HTML format</para>
277 <indexterm zone="ch-system-perl pod2html">
278 <primary sortas="b-pod2html">pod2html</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="pod2latex">
284 <term><command>pod2latex</command></term>
285 <listitem>
286 <para>Converts files from pod format to LaTeX format</para>
287 <indexterm zone="ch-system-perl pod2latex">
288 <primary sortas="b-pod2latex">pod2latex</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="pod2man">
294 <term><command>pod2man</command></term>
295 <listitem>
296 <para>Converts pod data to formatted *roff input</para>
297 <indexterm zone="ch-system-perl pod2man">
298 <primary sortas="b-pod2man">pod2man</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="pod2text">
304 <term><command>pod2text</command></term>
305 <listitem>
306 <para>Converts pod data to formatted ASCII text</para>
307 <indexterm zone="ch-system-perl pod2text">
308 <primary sortas="b-pod2text">pod2text</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="pod2usage">
314 <term><command>pod2usage</command></term>
315 <listitem>
316 <para>Prints usage messages from embedded pod docs in files</para>
317 <indexterm zone="ch-system-perl pod2usage">
318 <primary sortas="b-pod2usage">pod2usage</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="podchecker">
324 <term><command>podchecker</command></term>
325 <listitem>
326 <para>Checks the syntax of pod format documentation files</para>
327 <indexterm zone="ch-system-perl podchecker">
328 <primary sortas="b-podchecker">podchecker</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="podselect">
334 <term><command>podselect</command></term>
335 <listitem>
336 <para>Displays selected sections of pod documentation</para>
337 <indexterm zone="ch-system-perl podselect">
338 <primary sortas="b-podselect">podselect</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="psed">
344 <term><command>psed</command></term>
345 <listitem>
346 <para>A Perl version of the stream editor <command>sed</command></para>
347 <indexterm zone="ch-system-perl psed">
348 <primary sortas="b-psed">psed</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="pstruct">
354 <term><command>pstruct</command></term>
355 <listitem>
356 <para>Dumps C structures as generated from <command>cc -g -S</command>
357 stabs</para>
358 <indexterm zone="ch-system-perl pstruct">
359 <primary sortas="b-pstruct">pstruct</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="s2p">
365 <term><command>s2p</command></term>
366 <listitem>
367 <para>Translates <command>sed</command> to Perl</para>
368 <indexterm zone="ch-system-perl s2p">
369 <primary sortas="b-s2p">s2p</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="splain">
375 <term><command>splain</command></term>
376 <listitem>
377 <para>Is used to force verbose warning diagnostics in Perl</para>
378 <indexterm zone="ch-system-perl splain">
379 <primary sortas="b-splain">splain</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="xsubpp">
385 <term><command>xsubpp</command></term>
386 <listitem>
387 <para>Converts Perl XS code into C code</para>
388 <indexterm zone="ch-system-perl xsubpp">
389 <primary sortas="b-xsubpp">xsubpp</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 </variablelist>
395
396 </sect2>
397
398</sect1>
Note: See TracBrowser for help on using the repository browser.