source: BOOK/final-system/common/perl.xml@ 9634f19

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9634f19 was e29fb58, checked in by Jim Gifford <clfs@…>, 18 years ago

r3912@server (orig r1760): chris | 2006-06-09 23:52:26 -0700
Updated lists of installed programs for several packages

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