source: clfs-sysroot/BOOK/final-system/common/perl.xml @ 1fedb6d

Last change on this file since 1fedb6d was 1fedb6d, checked in by Jim Gifford <clfs@…>, 18 years ago

r3943@server (orig r1772): jciccone | 2006-06-16 15:32:03 -0700
Added information about cross-compiling perl.

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