source: chapter06/perl.xml@ c4aba10

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 c4aba10 was c4aba10, checked in by Matthew Burgess <matthew@…>, 18 years ago

Upgrade to Perl 5.8.8

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

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