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

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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