source: chapter06/perl.xml@ f19e766

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since f19e766 was f19e766, checked in by Ken Moffat <ken@…>, 17 years ago

Add missing colons wherever we expect the builder to key in the userinput.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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