source: final-system/common/perl.xml@ 8416e87

Last change on this file since 8416e87 was 97475d9, checked in by Jim Gifford <clfs@…>, 18 years ago

r3761@server (orig r1701): chris | 2006-05-30 14:38:46 -0700
More updates to the list of programs installed

  • Property mode set to 100644
File size: 13.2 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, dprofpp, find2perl, h2ph, h2xs, libnetcfg,
87 perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc,
88 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
89 pod2usage, podchecker, podselect, 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="dprofpp">
122 <term><command>dprofpp</command></term>
123 <listitem>
124 <para>Displays Perl profile data</para>
125 <indexterm zone="ch-system-perl dprofpp">
126 <primary sortas="b-dprofpp">dprofpp</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="find2perl">
132 <term><command>find2perl</command></term>
133 <listitem>
134 <para>Translates <command>find</command> commands to Perl</para>
135 <indexterm zone="ch-system-perl find2perl">
136 <primary sortas="b-find2perl">find2perl</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="h2ph">
142 <term><command>h2ph</command></term>
143 <listitem>
144 <para>Converts <filename class="extension">.h</filename> C header
145 files to <filename class="extension">.ph</filename> Perl header
146 files</para>
147 <indexterm zone="ch-system-perl h2ph">
148 <primary sortas="b-h2ph">h2ph</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="h2xs">
154 <term><command>h2xs</command></term>
155 <listitem>
156 <para>Converts <filename class="extension">.h</filename> C header
157 files to Perl extensions</para>
158 <indexterm zone="ch-system-perl h2xs">
159 <primary sortas="b-h2xs">h2xs</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="libnetcfg">
165 <term><command>libnetcfg</command></term>
166 <listitem>
167 <para>Can be used to configure the
168 <filename class="libraryfile">libnet</filename></para>
169 <indexterm zone="ch-system-perl libnetcfg">
170 <primary sortas="b-libnetcfg">libnetcfg</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="perl">
176 <term><command>perl</command></term>
177 <listitem>
178 <para>Combines some of the best features of C, <command>sed</command>,
179 <command>awk</command> and <command>sh</command> into a single
180 swiss-army-knife language</para>
181 <indexterm zone="ch-system-perl perl">
182 <primary sortas="b-perl">perl</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="perl-version">
188 <term><command>perl&perl-version;</command></term>
189 <listitem>
190 <para>A hard link to <command>perl</command></para>
191 <indexterm zone="ch-system-perl perl-version">
192 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="perlbug">
198 <term><command>perlbug</command></term>
199 <listitem>
200 <para>Used to generate bug reports about Perl, or the modules that come
201 with it, and mail them</para>
202 <indexterm zone="ch-system-perl perlbug">
203 <primary sortas="b-perlbug">perlbug</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="perlcc">
209 <term><command>perlcc</command></term>
210 <listitem>
211 <para>Generates executables from Perl programs</para>
212 <indexterm zone="ch-system-perl perlcc">
213 <primary sortas="b-perlcc">perlcc</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="perldoc">
219 <term><command>perldoc</command></term>
220 <listitem>
221 <para>Displays a piece of documentation in pod format that is embedded
222 in the Perl installation tree or in a Perl script</para>
223 <indexterm zone="ch-system-perl perldoc">
224 <primary sortas="b-perldoc">perldoc</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="perlivp">
230 <term><command>perlivp</command></term>
231 <listitem>
232 <para>The Perl Installation Verification Procedure; it can be used to
233 verify that Perl and its libraries have been installed
234 correctly</para>
235 <indexterm zone="ch-system-perl perlivp">
236 <primary sortas="b-perlivp">perlivp</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="piconv">
242 <term><command>piconv</command></term>
243 <listitem>
244 <para>A Perl version of the character encoding converter
245 <command>iconv</command></para>
246 <indexterm zone="ch-system-perl piconv">
247 <primary sortas="b-piconv">piconv</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="pl2pm">
253 <term><command>pl2pm</command></term>
254 <listitem>
255 <para>A rough tool for converting Perl4
256 <filename class="extension">.pl</filename> files to Perl5
257 <filename class="extension">.pm</filename> modules</para>
258 <indexterm zone="ch-system-perl pl2pm">
259 <primary sortas="b-pl2pm">pl2pm</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="pod2html">
265 <term><command>pod2html</command></term>
266 <listitem>
267 <para>Converts files from pod format to HTML format</para>
268 <indexterm zone="ch-system-perl pod2html">
269 <primary sortas="b-pod2html">pod2html</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="pod2latex">
275 <term><command>pod2latex</command></term>
276 <listitem>
277 <para>Converts files from pod format to LaTeX format</para>
278 <indexterm zone="ch-system-perl pod2latex">
279 <primary sortas="b-pod2latex">pod2latex</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="pod2man">
285 <term><command>pod2man</command></term>
286 <listitem>
287 <para>Converts pod data to formatted *roff input</para>
288 <indexterm zone="ch-system-perl pod2man">
289 <primary sortas="b-pod2man">pod2man</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="pod2text">
295 <term><command>pod2text</command></term>
296 <listitem>
297 <para>Converts pod data to formatted ASCII text</para>
298 <indexterm zone="ch-system-perl pod2text">
299 <primary sortas="b-pod2text">pod2text</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="pod2usage">
305 <term><command>pod2usage</command></term>
306 <listitem>
307 <para>Prints usage messages from embedded pod docs in files</para>
308 <indexterm zone="ch-system-perl pod2usage">
309 <primary sortas="b-pod2usage">pod2usage</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="podchecker">
315 <term><command>podchecker</command></term>
316 <listitem>
317 <para>Checks the syntax of pod format documentation files</para>
318 <indexterm zone="ch-system-perl podchecker">
319 <primary sortas="b-podchecker">podchecker</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="podselect">
325 <term><command>podselect</command></term>
326 <listitem>
327 <para>Displays selected sections of pod documentation</para>
328 <indexterm zone="ch-system-perl podselect">
329 <primary sortas="b-podselect">podselect</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="psed">
335 <term><command>psed</command></term>
336 <listitem>
337 <para>A Perl version of the stream editor <command>sed</command></para>
338 <indexterm zone="ch-system-perl psed">
339 <primary sortas="b-psed">psed</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="pstruct">
345 <term><command>pstruct</command></term>
346 <listitem>
347 <para>Dumps C structures as generated from <command>cc -g -S</command>
348 stabs</para>
349 <indexterm zone="ch-system-perl pstruct">
350 <primary sortas="b-pstruct">pstruct</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="s2p">
356 <term><command>s2p</command></term>
357 <listitem>
358 <para>Translates <command>sed</command> to Perl</para>
359 <indexterm zone="ch-system-perl s2p">
360 <primary sortas="b-s2p">s2p</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="splain">
366 <term><command>splain</command></term>
367 <listitem>
368 <para>Is used to force verbose warning diagnostics in Perl</para>
369 <indexterm zone="ch-system-perl splain">
370 <primary sortas="b-splain">splain</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="xsubpp">
376 <term><command>xsubpp</command></term>
377 <listitem>
378 <para>Converts Perl XS code into C code</para>
379 <indexterm zone="ch-system-perl xsubpp">
380 <primary sortas="b-xsubpp">xsubpp</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 </variablelist>
386
387 </sect2>
388
389</sect1>
Note: See TracBrowser for help on using the repository browser.