source: clfs-sysroot/BOOK/final-system/arm/perl.xml@ 591ec78

Last change on this file since 591ec78 was c439b8a, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated CLFS-Sysroot book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 14.2 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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Perl</title>
27
28 <warning os="w1">
29 <para>Building with <envar>CFLAGS</envar> or <envar>CXXFLAGS</envar> set
30 can cause the build to hang or fail.</para>
31 </warning>
32
33 <para os="p1">The following patch causes makedepend.sh to also remove
34 <literal>&lt;command-line&gt;</literal> as well as
35 <literal>&lt;command line&gt;</literal>:</para>
36
37<screen os="p2"><userinput>patch -Np1 -i ../&perl-gcc42_fix-patch;</userinput></screen>
38
39 <para os="p3">The following patch fixes issues with Perl and
40 cross-compiling:</para>
41
42<screen os="p4"><userinput>patch -Np1 -i ../&perl-cross_compile-patch;</userinput></screen>
43
44 <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
45 to be built with -fPIC so it can be linked into a shared library
46 later:</para>
47
48<screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
49 -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH</userinput></screen>
50
51 <para os="a">The Cross directory contains a Makefile for cross-compiling:</para>
52
53<screen os="b"><userinput>cd Cross</userinput></screen>
54
55 <para os="c">Compile the package:</para>
56
57<screen os="d"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
58
59 <para os="e">Install the package:</para>
60
61<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
62
63 </sect2>
64
65 <sect2 id="contents-perl" role="content">
66 <title>Contents of Perl</title>
67
68 <segmentedlist>
69 <segtitle>Installed programs</segtitle>
70 <segtitle>Installed libraries</segtitle>
71
72 <seglistitem>
73 <seg>a2p, c2ph, cpan, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh, libnetcfg,
74 perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc,
75 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
76 pod2usage, podchecker, podselect, prove, psed (link to s2p), pstruct (link
77 to c2ph), s2p, splain, and xsubpp</seg>
78 <seg>Several hundred which cannot all be listed here</seg>
79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="a2p">
88 <term><command>a2p</command></term>
89 <listitem>
90 <para>Translates awk to Perl</para>
91 <indexterm zone="ch-system-perl a2p">
92 <primary sortas="b-a2p">a2p</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="c2ph">
98 <term><command>c2ph</command></term>
99 <listitem>
100 <para>Dumps C structures as generated from
101 <command>cc -g -S</command></para>
102 <indexterm zone="ch-system-perl c2ph">
103 <primary sortas="b-c2ph">c2ph</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="cpan">
109 <term><command>cpan</command></term>
110 <listitem>
111 <para>Shell script that provides a command interface to CPAN.pm</para>
112 <indexterm zone="ch-system-perl cpan">
113 <primary sortas="b-cpan">cpan</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="dprofpp">
119 <term><command>dprofpp</command></term>
120 <listitem>
121 <para>Displays Perl profile data</para>
122 <indexterm zone="ch-system-perl dprofpp">
123 <primary sortas="b-dprofpp">dprofpp</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry id="enc2xs">
129 <term><command>enc2xs</command></term>
130 <listitem>
131 <para>Builds a Perl extension for the Encode module from either
132 Unicode Character Mappings or Tcl Encoding Files</para>
133 <indexterm zone="ch-system-perl enc2xs">
134 <primary sortas="b-enc2xs">enc2xs</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="find2perl">
140 <term><command>find2perl</command></term>
141 <listitem>
142 <para>Translates <command>find</command> commands to Perl</para>
143 <indexterm zone="ch-system-perl find2perl">
144 <primary sortas="b-find2perl">find2perl</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="h2ph">
150 <term><command>h2ph</command></term>
151 <listitem>
152 <para>Converts <filename class="extension">.h</filename> C header
153 files to <filename class="extension">.ph</filename> Perl header
154 files</para>
155 <indexterm zone="ch-system-perl h2ph">
156 <primary sortas="b-h2ph">h2ph</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="h2xs">
162 <term><command>h2xs</command></term>
163 <listitem>
164 <para>Converts <filename class="extension">.h</filename> C header
165 files to Perl extensions</para>
166 <indexterm zone="ch-system-perl h2xs">
167 <primary sortas="b-h2xs">h2xs</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libnetcfg">
173 <term><command>libnetcfg</command></term>
174 <listitem>
175 <para>Can be used to configure the
176 <filename class="libraryfile">libnet</filename></para>
177 <indexterm zone="ch-system-perl libnetcfg">
178 <primary sortas="b-libnetcfg">libnetcfg</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="instmodsh">
184 <term><command>instmodsh</command></term>
185 <listitem>
186 <para>A shell script for examining installed Perl modules,
187 and can even create a tarball from an installed module</para>
188 <indexterm zone="ch-system-perl instmodsh">
189 <primary sortas="b-instmodsh">instmodsh</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-knife 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="prove">
354 <term><command>prove</command></term>
355 <listitem>
356 <para>A command-line tool for running tests against Test::Harness</para>
357 <indexterm zone="ch-system-perl prove">
358 <primary sortas="b-prove">prove</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="psed">
364 <term><command>psed</command></term>
365 <listitem>
366 <para>A Perl version of the stream editor <command>sed</command></para>
367 <indexterm zone="ch-system-perl psed">
368 <primary sortas="b-psed">psed</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="pstruct">
374 <term><command>pstruct</command></term>
375 <listitem>
376 <para>Dumps C structures as generated from <command>cc -g -S</command>
377 stabs</para>
378 <indexterm zone="ch-system-perl pstruct">
379 <primary sortas="b-pstruct">pstruct</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="s2p">
385 <term><command>s2p</command></term>
386 <listitem>
387 <para>Translates <command>sed</command> to Perl</para>
388 <indexterm zone="ch-system-perl s2p">
389 <primary sortas="b-s2p">s2p</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="splain">
395 <term><command>splain</command></term>
396 <listitem>
397 <para>Is used to force verbose warning diagnostics in Perl</para>
398 <indexterm zone="ch-system-perl splain">
399 <primary sortas="b-splain">splain</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="xsubpp">
405 <term><command>xsubpp</command></term>
406 <listitem>
407 <para>Converts Perl XS code into C code</para>
408 <indexterm zone="ch-system-perl xsubpp">
409 <primary sortas="b-xsubpp">xsubpp</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 </variablelist>
415
416 </sect2>
417
418</sect1>
Note: See TracBrowser for help on using the repository browser.