source: BOOK/final-system/common/perl.xml@ 9247bdf

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9247bdf was 6bb2147, checked in by Jim Gifford <clfs@…>, 19 years ago

r1135@server (orig r1133): jim | 2006-02-02 10:37:59 -0800

r1178@server: jim | 2006-02-02 09:29:30 -0800
Updated to Perl 5.8.8


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