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

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

Update coreutils man page regeneration problem.
change the permissions on Makefile.SH in perl so that the sed correctly applies.

  • 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>chmod -v 644 Makefile.SH
43cp -v Makefile.SH{,.orig}
44sed -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
45 -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH.orig &gt; Makefile.SH</userinput></screen>
46
47 <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
48 links against its own internal copy of Zlib. The following command will
49 tell it use the system-installed Zlib:</para>
50
51<screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
52 -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
53 ext/Compress/Raw/Zlib/config.in</userinput></screen>
54
55 <para os="a">The Cross directory contains a Makefile for cross-compiling:</para>
56
57<screen os="b"><userinput>cd Cross</userinput></screen>
58
59 <para os="c">Compile the package:</para>
60
61<screen os="d"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
62
63 <para os="e">Install the package:</para>
64
65<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
66
67 </sect2>
68
69 <sect2 id="contents-perl" role="content">
70 <title>Contents of Perl</title>
71
72 <segmentedlist>
73 <segtitle>Installed programs</segtitle>
74 <segtitle>Installed libraries</segtitle>
75
76 <seglistitem>
77 <seg>a2p, c2ph, cpan, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh, libnetcfg,
78 perl, perl&perl-version; (link to perl), perlbug, perldoc,
79 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
80 pod2usage, podchecker, podselect, prove, psed (link to s2p), pstruct (link
81 to c2ph), s2p, splain, and xsubpp</seg>
82 <seg>Several hundred which cannot all be listed here</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="a2p">
92 <term><command>a2p</command></term>
93 <listitem>
94 <para>Translates awk to Perl</para>
95 <indexterm zone="ch-system-perl a2p">
96 <primary sortas="b-a2p">a2p</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="c2ph">
102 <term><command>c2ph</command></term>
103 <listitem>
104 <para>Dumps C structures as generated from
105 <command>cc -g -S</command></para>
106 <indexterm zone="ch-system-perl c2ph">
107 <primary sortas="b-c2ph">c2ph</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="cpan">
113 <term><command>cpan</command></term>
114 <listitem>
115 <para>Shell script that provides a command interface to CPAN.pm</para>
116 <indexterm zone="ch-system-perl cpan">
117 <primary sortas="b-cpan">cpan</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="dprofpp">
123 <term><command>dprofpp</command></term>
124 <listitem>
125 <para>Displays Perl profile data</para>
126 <indexterm zone="ch-system-perl dprofpp">
127 <primary sortas="b-dprofpp">dprofpp</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="enc2xs">
133 <term><command>enc2xs</command></term>
134 <listitem>
135 <para>Builds a Perl extension for the Encode module from either
136 Unicode Character Mappings or Tcl Encoding Files</para>
137 <indexterm zone="ch-system-perl enc2xs">
138 <primary sortas="b-enc2xs">enc2xs</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="find2perl">
144 <term><command>find2perl</command></term>
145 <listitem>
146 <para>Translates <command>find</command> commands to Perl</para>
147 <indexterm zone="ch-system-perl find2perl">
148 <primary sortas="b-find2perl">find2perl</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="h2ph">
154 <term><command>h2ph</command></term>
155 <listitem>
156 <para>Converts <filename class="extension">.h</filename> C header
157 files to <filename class="extension">.ph</filename> Perl header
158 files</para>
159 <indexterm zone="ch-system-perl h2ph">
160 <primary sortas="b-h2ph">h2ph</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="h2xs">
166 <term><command>h2xs</command></term>
167 <listitem>
168 <para>Converts <filename class="extension">.h</filename> C header
169 files to Perl extensions</para>
170 <indexterm zone="ch-system-perl h2xs">
171 <primary sortas="b-h2xs">h2xs</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="libnetcfg">
177 <term><command>libnetcfg</command></term>
178 <listitem>
179 <para>Can be used to configure the
180 <filename class="libraryfile">libnet</filename></para>
181 <indexterm zone="ch-system-perl libnetcfg">
182 <primary sortas="b-libnetcfg">libnetcfg</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="instmodsh">
188 <term><command>instmodsh</command></term>
189 <listitem>
190 <para>A shell script for examining installed Perl modules,
191 and can even create a tarball from an installed module</para>
192 <indexterm zone="ch-system-perl instmodsh">
193 <primary sortas="b-instmodsh">instmodsh</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-knife 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="perldoc">
232 <term><command>perldoc</command></term>
233 <listitem>
234 <para>Displays a piece of documentation in pod format that is embedded
235 in the Perl installation tree or in a Perl script</para>
236 <indexterm zone="ch-system-perl perldoc">
237 <primary sortas="b-perldoc">perldoc</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="perlivp">
243 <term><command>perlivp</command></term>
244 <listitem>
245 <para>The Perl Installation Verification Procedure; it can be used to
246 verify that Perl and its libraries have been installed
247 correctly</para>
248 <indexterm zone="ch-system-perl perlivp">
249 <primary sortas="b-perlivp">perlivp</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="piconv">
255 <term><command>piconv</command></term>
256 <listitem>
257 <para>A Perl version of the character encoding converter
258 <command>iconv</command></para>
259 <indexterm zone="ch-system-perl piconv">
260 <primary sortas="b-piconv">piconv</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="pl2pm">
266 <term><command>pl2pm</command></term>
267 <listitem>
268 <para>A rough tool for converting Perl4
269 <filename class="extension">.pl</filename> files to Perl5
270 <filename class="extension">.pm</filename> modules</para>
271 <indexterm zone="ch-system-perl pl2pm">
272 <primary sortas="b-pl2pm">pl2pm</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="pod2html">
278 <term><command>pod2html</command></term>
279 <listitem>
280 <para>Converts files from pod format to HTML format</para>
281 <indexterm zone="ch-system-perl pod2html">
282 <primary sortas="b-pod2html">pod2html</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="pod2latex">
288 <term><command>pod2latex</command></term>
289 <listitem>
290 <para>Converts files from pod format to LaTeX format</para>
291 <indexterm zone="ch-system-perl pod2latex">
292 <primary sortas="b-pod2latex">pod2latex</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="pod2man">
298 <term><command>pod2man</command></term>
299 <listitem>
300 <para>Converts pod data to formatted *roff input</para>
301 <indexterm zone="ch-system-perl pod2man">
302 <primary sortas="b-pod2man">pod2man</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="pod2text">
308 <term><command>pod2text</command></term>
309 <listitem>
310 <para>Converts pod data to formatted ASCII text</para>
311 <indexterm zone="ch-system-perl pod2text">
312 <primary sortas="b-pod2text">pod2text</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="pod2usage">
318 <term><command>pod2usage</command></term>
319 <listitem>
320 <para>Prints usage messages from embedded pod docs in files</para>
321 <indexterm zone="ch-system-perl pod2usage">
322 <primary sortas="b-pod2usage">pod2usage</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="podchecker">
328 <term><command>podchecker</command></term>
329 <listitem>
330 <para>Checks the syntax of pod format documentation files</para>
331 <indexterm zone="ch-system-perl podchecker">
332 <primary sortas="b-podchecker">podchecker</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="podselect">
338 <term><command>podselect</command></term>
339 <listitem>
340 <para>Displays selected sections of pod documentation</para>
341 <indexterm zone="ch-system-perl podselect">
342 <primary sortas="b-podselect">podselect</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="prove">
348 <term><command>prove</command></term>
349 <listitem>
350 <para>A command-line tool for running tests against Test::Harness</para>
351 <indexterm zone="ch-system-perl prove">
352 <primary sortas="b-prove">prove</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> 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.