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

Last change on this file since b24764b was b24764b, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Replace the Perl -fPIC patch with a sed.

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