source: clfs-sysroot/BOOK/final-system/arm/perl.xml@ 72d10d2

Last change on this file since 72d10d2 was b8d8b22, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Perlcc is no longer provided.

  • Property mode set to 100644
File size: 14.1 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="p3">The following patch fixes issues with Perl and
34 cross-compiling:</para>
35
36<screen os="p4"><userinput>patch -Np1 -i ../&perl-cross_compile-patch;</userinput></screen>
37
38 <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
39 to be built with -fPIC so it can be linked into a shared library
40 later:</para>
41
42<screen os="s2"><userinput>cp -v Makefile.SH{,.orig}
43sed -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
44 -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH.orig &gt; Makefile.SH</userinput></screen>
45
46 <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
47 links against its own internal copy of Zlib. The following command will
48 tell it use the system-installed Zlib:</para>
49
50<screen os="s4"><userinput>cp -v ext/Compress/Raw/Zlib/config.in{,.orig}
51sed -e '/^BUILD_ZLIB/ s/True/False/' \
52 -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
53 ext/Compress/Raw/Zlib/config.in.orig &gt; \
54 ext/Compress/Raw/Zlib/config.in</userinput></screen>
55
56 <para os="a">The Cross directory contains a Makefile for cross-compiling:</para>
57
58<screen os="b"><userinput>cd Cross</userinput></screen>
59
60 <para os="c">Compile the package:</para>
61
62<screen os="d"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
63
64 <para os="e">Install the package:</para>
65
66<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
67
68 </sect2>
69
70 <sect2 id="contents-perl" role="content">
71 <title>Contents of Perl</title>
72
73 <segmentedlist>
74 <segtitle>Installed programs</segtitle>
75 <segtitle>Installed libraries</segtitle>
76
77 <seglistitem>
78 <seg>a2p, c2ph, cpan, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh, libnetcfg,
79 perl, perl&perl-version; (link to perl), perlbug, perldoc,
80 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
81 pod2usage, podchecker, podselect, prove, psed (link to s2p), pstruct (link
82 to c2ph), s2p, splain, and xsubpp</seg>
83 <seg>Several hundred which cannot all be listed here</seg>
84 </seglistitem>
85 </segmentedlist>
86
87 <variablelist>
88 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
89 <?dbfo list-presentation="list"?>
90 <?dbhtml list-presentation="table"?>
91
92 <varlistentry id="a2p">
93 <term><command>a2p</command></term>
94 <listitem>
95 <para>Translates awk to Perl</para>
96 <indexterm zone="ch-system-perl a2p">
97 <primary sortas="b-a2p">a2p</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="c2ph">
103 <term><command>c2ph</command></term>
104 <listitem>
105 <para>Dumps C structures as generated from
106 <command>cc -g -S</command></para>
107 <indexterm zone="ch-system-perl c2ph">
108 <primary sortas="b-c2ph">c2ph</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="cpan">
114 <term><command>cpan</command></term>
115 <listitem>
116 <para>Shell script that provides a command interface to CPAN.pm</para>
117 <indexterm zone="ch-system-perl cpan">
118 <primary sortas="b-cpan">cpan</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="dprofpp">
124 <term><command>dprofpp</command></term>
125 <listitem>
126 <para>Displays Perl profile data</para>
127 <indexterm zone="ch-system-perl dprofpp">
128 <primary sortas="b-dprofpp">dprofpp</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="enc2xs">
134 <term><command>enc2xs</command></term>
135 <listitem>
136 <para>Builds a Perl extension for the Encode module from either
137 Unicode Character Mappings or Tcl Encoding Files</para>
138 <indexterm zone="ch-system-perl enc2xs">
139 <primary sortas="b-enc2xs">enc2xs</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="find2perl">
145 <term><command>find2perl</command></term>
146 <listitem>
147 <para>Translates <command>find</command> commands to Perl</para>
148 <indexterm zone="ch-system-perl find2perl">
149 <primary sortas="b-find2perl">find2perl</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="h2ph">
155 <term><command>h2ph</command></term>
156 <listitem>
157 <para>Converts <filename class="extension">.h</filename> C header
158 files to <filename class="extension">.ph</filename> Perl header
159 files</para>
160 <indexterm zone="ch-system-perl h2ph">
161 <primary sortas="b-h2ph">h2ph</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="h2xs">
167 <term><command>h2xs</command></term>
168 <listitem>
169 <para>Converts <filename class="extension">.h</filename> C header
170 files to Perl extensions</para>
171 <indexterm zone="ch-system-perl h2xs">
172 <primary sortas="b-h2xs">h2xs</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libnetcfg">
178 <term><command>libnetcfg</command></term>
179 <listitem>
180 <para>Can be used to configure the
181 <filename class="libraryfile">libnet</filename></para>
182 <indexterm zone="ch-system-perl libnetcfg">
183 <primary sortas="b-libnetcfg">libnetcfg</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="instmodsh">
189 <term><command>instmodsh</command></term>
190 <listitem>
191 <para>A shell script for examining installed Perl modules,
192 and can even create a tarball from an installed module</para>
193 <indexterm zone="ch-system-perl instmodsh">
194 <primary sortas="b-instmodsh">instmodsh</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="perl">
200 <term><command>perl</command></term>
201 <listitem>
202 <para>Combines some of the best features of C, <command>sed</command>,
203 <command>awk</command> and <command>sh</command> into a single
204 swiss-army-knife language</para>
205 <indexterm zone="ch-system-perl perl">
206 <primary sortas="b-perl">perl</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="perl-version">
212 <term><command>perl&perl-version;</command></term>
213 <listitem>
214 <para>A hard link to <command>perl</command></para>
215 <indexterm zone="ch-system-perl perl-version">
216 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="perlbug">
222 <term><command>perlbug</command></term>
223 <listitem>
224 <para>Used to generate bug reports about Perl, or the modules that come
225 with it, and mail them</para>
226 <indexterm zone="ch-system-perl perlbug">
227 <primary sortas="b-perlbug">perlbug</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="perldoc">
233 <term><command>perldoc</command></term>
234 <listitem>
235 <para>Displays a piece of documentation in pod format that is embedded
236 in the Perl installation tree or in a Perl script</para>
237 <indexterm zone="ch-system-perl perldoc">
238 <primary sortas="b-perldoc">perldoc</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="perlivp">
244 <term><command>perlivp</command></term>
245 <listitem>
246 <para>The Perl Installation Verification Procedure; it can be used to
247 verify that Perl and its libraries have been installed
248 correctly</para>
249 <indexterm zone="ch-system-perl perlivp">
250 <primary sortas="b-perlivp">perlivp</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="piconv">
256 <term><command>piconv</command></term>
257 <listitem>
258 <para>A Perl version of the character encoding converter
259 <command>iconv</command></para>
260 <indexterm zone="ch-system-perl piconv">
261 <primary sortas="b-piconv">piconv</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="pl2pm">
267 <term><command>pl2pm</command></term>
268 <listitem>
269 <para>A rough tool for converting Perl4
270 <filename class="extension">.pl</filename> files to Perl5
271 <filename class="extension">.pm</filename> modules</para>
272 <indexterm zone="ch-system-perl pl2pm">
273 <primary sortas="b-pl2pm">pl2pm</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="pod2html">
279 <term><command>pod2html</command></term>
280 <listitem>
281 <para>Converts files from pod format to HTML format</para>
282 <indexterm zone="ch-system-perl pod2html">
283 <primary sortas="b-pod2html">pod2html</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="pod2latex">
289 <term><command>pod2latex</command></term>
290 <listitem>
291 <para>Converts files from pod format to LaTeX format</para>
292 <indexterm zone="ch-system-perl pod2latex">
293 <primary sortas="b-pod2latex">pod2latex</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="pod2man">
299 <term><command>pod2man</command></term>
300 <listitem>
301 <para>Converts pod data to formatted *roff input</para>
302 <indexterm zone="ch-system-perl pod2man">
303 <primary sortas="b-pod2man">pod2man</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="pod2text">
309 <term><command>pod2text</command></term>
310 <listitem>
311 <para>Converts pod data to formatted ASCII text</para>
312 <indexterm zone="ch-system-perl pod2text">
313 <primary sortas="b-pod2text">pod2text</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pod2usage">
319 <term><command>pod2usage</command></term>
320 <listitem>
321 <para>Prints usage messages from embedded pod docs in files</para>
322 <indexterm zone="ch-system-perl pod2usage">
323 <primary sortas="b-pod2usage">pod2usage</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="podchecker">
329 <term><command>podchecker</command></term>
330 <listitem>
331 <para>Checks the syntax of pod format documentation files</para>
332 <indexterm zone="ch-system-perl podchecker">
333 <primary sortas="b-podchecker">podchecker</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="podselect">
339 <term><command>podselect</command></term>
340 <listitem>
341 <para>Displays selected sections of pod documentation</para>
342 <indexterm zone="ch-system-perl podselect">
343 <primary sortas="b-podselect">podselect</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="prove">
349 <term><command>prove</command></term>
350 <listitem>
351 <para>A command-line tool for running tests against Test::Harness</para>
352 <indexterm zone="ch-system-perl prove">
353 <primary sortas="b-prove">prove</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="psed">
359 <term><command>psed</command></term>
360 <listitem>
361 <para>A Perl version of the stream editor <command>sed</command></para>
362 <indexterm zone="ch-system-perl psed">
363 <primary sortas="b-psed">psed</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="pstruct">
369 <term><command>pstruct</command></term>
370 <listitem>
371 <para>Dumps C structures as generated from <command>cc -g -S</command>
372 stabs</para>
373 <indexterm zone="ch-system-perl pstruct">
374 <primary sortas="b-pstruct">pstruct</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="s2p">
380 <term><command>s2p</command></term>
381 <listitem>
382 <para>Translates <command>sed</command> to Perl</para>
383 <indexterm zone="ch-system-perl s2p">
384 <primary sortas="b-s2p">s2p</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="splain">
390 <term><command>splain</command></term>
391 <listitem>
392 <para>Is used to force verbose warning diagnostics in Perl</para>
393 <indexterm zone="ch-system-perl splain">
394 <primary sortas="b-splain">splain</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="xsubpp">
400 <term><command>xsubpp</command></term>
401 <listitem>
402 <para>Converts Perl XS code into C code</para>
403 <indexterm zone="ch-system-perl xsubpp">
404 <primary sortas="b-xsubpp">xsubpp</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 </variablelist>
410
411 </sect2>
412
413</sect1>
Note: See TracBrowser for help on using the repository browser.