source: chapter06/perl.xml@ 72d7e28

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 72d7e28 was 72d7e28, checked in by Jeremy Huntwork <jhuntwork@…>, 18 years ago

Moved all dependency information to a new page, Appendix C.
Appendix C also contains information concerning the build order.
While there might need to be a few tweaks yet, this information is complete
enough at this point to close out the long-standing ticket #684.
Many thanks to Chris Staub, Dan Nicholson and Manuel Canales Esparcia for
helping get this finished.

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

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