source: chapter06/perl.xml@ 1d4f21f

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 1d4f21f was 1d4f21f, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Typo fix

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7465 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>To test the results, issue:
78 <userinput>make test</userinput>.</para>
79
80 <para>Install the package:</para>
81
82<screen><userinput>make install</userinput></screen>
83
84 </sect2>
85
86 <sect2 id="contents-perl" role="content">
87 <title>Contents of Perl</title>
88
89 <segmentedlist>
90 <segtitle>Installed programs</segtitle>
91 <segtitle>Installed libraries</segtitle>
92
93 <seglistitem>
94 <seg>a2p, c2ph, dprofpp, enc2xs, find2perl, h2ph, h2xs, libnetcfg, perl,
95 perl&perl-version; (link to perl), perlbug, perlcc, perldoc, perlivp,
96 piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text, pod2usage,
97 podchecker, podselect, psed (link to s2p), pstruct (link to c2ph), s2p,
98 splain, and xsubpp</seg>
99 <seg>Several hundred which cannot all be listed here</seg>
100 </seglistitem>
101 </segmentedlist>
102
103 <variablelist>
104 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
105 <?dbfo list-presentation="list"?>
106 <?dbhtml list-presentation="table"?>
107
108 <varlistentry id="a2p">
109 <term><command>a2p</command></term>
110 <listitem>
111 <para>Translates awk to Perl</para>
112 <indexterm zone="ch-system-perl a2p">
113 <primary sortas="b-a2p">a2p</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="c2ph">
119 <term><command>c2ph</command></term>
120 <listitem>
121 <para>Dumps C structures as generated from
122 <command>cc -g -S</command></para>
123 <indexterm zone="ch-system-perl c2ph">
124 <primary sortas="b-c2ph">c2ph</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="dprofpp">
130 <term><command>dprofpp</command></term>
131 <listitem>
132 <para>Displays Perl profile data</para>
133 <indexterm zone="ch-system-perl dprofpp">
134 <primary sortas="b-dprofpp">dprofpp</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="en2cxs">
140 <term><command>en2cxs</command></term>
141 <listitem>
142 <para>Builds a Perl extension for the Encode module from either
143 Unicode Character Mappings or Tcl Encoding Files</para>
144 <indexterm zone="ch-system-perl en2cxs">
145 <primary sortas="b-en2cxs">en2cxs</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="find2perl">
151 <term><command>find2perl</command></term>
152 <listitem>
153 <para>Translates <command>find</command> commands to Perl</para>
154 <indexterm zone="ch-system-perl find2perl">
155 <primary sortas="b-find2perl">find2perl</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="h2ph">
161 <term><command>h2ph</command></term>
162 <listitem>
163 <para>Converts <filename class="extension">.h</filename> C header
164 files to <filename class="extension">.ph</filename> Perl header
165 files</para>
166 <indexterm zone="ch-system-perl h2ph">
167 <primary sortas="b-h2ph">h2ph</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="h2xs">
173 <term><command>h2xs</command></term>
174 <listitem>
175 <para>Converts <filename class="extension">.h</filename> C header
176 files to Perl extensions</para>
177 <indexterm zone="ch-system-perl h2xs">
178 <primary sortas="b-h2xs">h2xs</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libnetcfg">
184 <term><command>libnetcfg</command></term>
185 <listitem>
186 <para>Can be used to configure the
187 <filename class="libraryfile">libnet</filename></para>
188 <indexterm zone="ch-system-perl libnetcfg">
189 <primary sortas="b-libnetcfg">libnetcfg</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="perl">
195 <term><command>perl</command></term>
196 <listitem>
197 <para>Combines some of the best features of C, <command>sed</command>,
198 <command>awk</command> and <command>sh</command> into a single
199 swiss-army language</para>
200 <indexterm zone="ch-system-perl perl">
201 <primary sortas="b-perl">perl</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="perl-version">
207 <term><command>perl&perl-version;</command></term>
208 <listitem>
209 <para>A hard link to <command>perl</command></para>
210 <indexterm zone="ch-system-perl perl-version">
211 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="perlbug">
217 <term><command>perlbug</command></term>
218 <listitem>
219 <para>Used to generate bug reports about Perl, or the modules that come
220 with it, and mail them</para>
221 <indexterm zone="ch-system-perl perlbug">
222 <primary sortas="b-perlbug">perlbug</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="perlcc">
228 <term><command>perlcc</command></term>
229 <listitem>
230 <para>Generates executables from Perl programs</para>
231 <indexterm zone="ch-system-perl perlcc">
232 <primary sortas="b-perlcc">perlcc</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="perldoc">
238 <term><command>perldoc</command></term>
239 <listitem>
240 <para>Displays a piece of documentation in pod format that is embedded
241 in the Perl installation tree or in a Perl script</para>
242 <indexterm zone="ch-system-perl perldoc">
243 <primary sortas="b-perldoc">perldoc</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="perlivp">
249 <term><command>perlivp</command></term>
250 <listitem>
251 <para>The Perl Installation Verification Procedure; it can be used to
252 verify that Perl and its libraries have been installed
253 correctly</para>
254 <indexterm zone="ch-system-perl perlivp">
255 <primary sortas="b-perlivp">perlivp</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="piconv">
261 <term><command>piconv</command></term>
262 <listitem>
263 <para>A Perl version of the character encoding converter
264 <command>iconv</command></para>
265 <indexterm zone="ch-system-perl piconv">
266 <primary sortas="b-piconv">piconv</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="pl2pm">
272 <term><command>pl2pm</command></term>
273 <listitem>
274 <para>A rough tool for converting Perl4
275 <filename class="extension">.pl</filename> files to Perl5
276 <filename class="extension">.pm</filename> modules</para>
277 <indexterm zone="ch-system-perl pl2pm">
278 <primary sortas="b-pl2pm">pl2pm</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="pod2html">
284 <term><command>pod2html</command></term>
285 <listitem>
286 <para>Converts files from pod format to HTML format</para>
287 <indexterm zone="ch-system-perl pod2html">
288 <primary sortas="b-pod2html">pod2html</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="pod2latex">
294 <term><command>pod2latex</command></term>
295 <listitem>
296 <para>Converts files from pod format to LaTeX format</para>
297 <indexterm zone="ch-system-perl pod2latex">
298 <primary sortas="b-pod2latex">pod2latex</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="pod2man">
304 <term><command>pod2man</command></term>
305 <listitem>
306 <para>Converts pod data to formatted *roff input</para>
307 <indexterm zone="ch-system-perl pod2man">
308 <primary sortas="b-pod2man">pod2man</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="pod2text">
314 <term><command>pod2text</command></term>
315 <listitem>
316 <para>Converts pod data to formatted ASCII text</para>
317 <indexterm zone="ch-system-perl pod2text">
318 <primary sortas="b-pod2text">pod2text</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="pod2usage">
324 <term><command>pod2usage</command></term>
325 <listitem>
326 <para>Prints usage messages from embedded pod docs in files</para>
327 <indexterm zone="ch-system-perl pod2usage">
328 <primary sortas="b-pod2usage">pod2usage</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="podchecker">
334 <term><command>podchecker</command></term>
335 <listitem>
336 <para>Checks the syntax of pod format documentation files</para>
337 <indexterm zone="ch-system-perl podchecker">
338 <primary sortas="b-podchecker">podchecker</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="podselect">
344 <term><command>podselect</command></term>
345 <listitem>
346 <para>Displays selected sections of pod documentation</para>
347 <indexterm zone="ch-system-perl podselect">
348 <primary sortas="b-podselect">podselect</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="psed">
354 <term><command>psed</command></term>
355 <listitem>
356 <para>A Perl version of the stream editor <command>sed</command></para>
357 <indexterm zone="ch-system-perl psed">
358 <primary sortas="b-psed">psed</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="pstruct">
364 <term><command>pstruct</command></term>
365 <listitem>
366 <para>Dumps C structures as generated from <command>cc -g -S</command>
367 stabs</para>
368 <indexterm zone="ch-system-perl pstruct">
369 <primary sortas="b-pstruct">pstruct</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="s2p">
375 <term><command>s2p</command></term>
376 <listitem>
377 <para>Translates <command>sed</command> scripts to Perl</para>
378 <indexterm zone="ch-system-perl s2p">
379 <primary sortas="b-s2p">s2p</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="splain">
385 <term><command>splain</command></term>
386 <listitem>
387 <para>Is used to force verbose warning diagnostics in Perl</para>
388 <indexterm zone="ch-system-perl splain">
389 <primary sortas="b-splain">splain</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="xsubpp">
395 <term><command>xsubpp</command></term>
396 <listitem>
397 <para>Converts Perl XS code into C code</para>
398 <indexterm zone="ch-system-perl xsubpp">
399 <primary sortas="b-xsubpp">xsubpp</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 </variablelist>
405
406 </sect2>
407
408</sect1>
Note: See TracBrowser for help on using the repository browser.