source: clfs-sysroot/BOOK/final-system/common/perl.xml@ 8f2279f

Last change on this file since 8f2279f was 59fb197, checked in by Jim Gifford <clfs@…>, 18 years ago

r3817@server (orig r1719): jciccone | 2006-06-05 13:56:36 -0700
Brought the clfs-2.0 branch up to trunk.

  • Property mode set to 100644
File size: 13.3 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 <important os="w1"><para>Information on cross-compiling perl has not been added yet.</para></important>
29
30 <para os="a00">Before starting to configure, create a basic
31 <filename>/etc/hosts</filename> file which will be referenced in one
32 of Perl's configuration files as well as being used used by the testsuite
33 if you run that.</para>
34
35<screen os="a01"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
36
37 <para os="a">To have full control over the way Perl is set up, run the
38 interactive <command>Configure</command> script and hand-pick the way
39 this package is built. If the defaults it auto-detects are suitable,
40 prepare Perl for compilation with:</para>
41
42<screen os="b"><userinput>./configure.gnu --prefix=/usr \
43 -Dman1dir=/usr/share/man/man1 \
44 -Dman3dir=/usr/share/man/man3 \
45 -Dpager="/bin/less -isR"</userinput></screen>
46
47 <variablelist os="c">
48 <title>The meaning of the configure option:</title>
49
50 <varlistentry os="c1">
51 <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
52 <listitem>
53 <para>This corrects an error in the way that <command>perldoc</command>
54 invokes the <command>less</command> program.</para>
55 </listitem>
56 </varlistentry>
57 <varlistentry os="c2">
58 <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
59 <listitem>
60 <para>Since Groff is not installed yet,
61 <command>configure.gnu</command> thinks that we do not want
62 man pages for Perl. Issuing these parameters overrides this decision.</para>
63 </listitem>
64 </varlistentry>
65 </variablelist>
66
67 <para os="d">Compile the package:</para>
68
69<screen os="e"><userinput>make</userinput></screen>
70
71 <para os="h">To test the results, issue:
72 <userinput>make test</userinput>.</para>
73
74 <para os="j">Install the package:</para>
75
76<screen os="k"><userinput>make install</userinput></screen>
77
78 </sect2>
79
80 <sect2 id="contents-perl" role="content">
81 <title>Contents of Perl</title>
82
83 <segmentedlist>
84 <segtitle>Installed programs</segtitle>
85 <segtitle>Installed libraries</segtitle>
86
87 <seglistitem>
88 <seg>a2p, c2ph, dprofpp, find2perl, h2ph, h2xs, libnetcfg,
89 perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc,
90 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
91 pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
92 to c2ph), s2p, splain, and xsubpp</seg>
93 <seg>Several hundred which cannot all be listed here</seg>
94 </seglistitem>
95 </segmentedlist>
96
97 <variablelist>
98 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
99 <?dbfo list-presentation="list"?>
100 <?dbhtml list-presentation="table"?>
101
102 <varlistentry id="a2p">
103 <term><command>a2p</command></term>
104 <listitem>
105 <para>Translates awk to Perl</para>
106 <indexterm zone="ch-system-perl a2p">
107 <primary sortas="b-a2p">a2p</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="c2ph">
113 <term><command>c2ph</command></term>
114 <listitem>
115 <para>Dumps C structures as generated from
116 <command>cc -g -S</command></para>
117 <indexterm zone="ch-system-perl c2ph">
118 <primary sortas="b-c2ph">c2ph</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="find2perl">
134 <term><command>find2perl</command></term>
135 <listitem>
136 <para>Translates <command>find</command> commands to Perl</para>
137 <indexterm zone="ch-system-perl find2perl">
138 <primary sortas="b-find2perl">find2perl</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="h2ph">
144 <term><command>h2ph</command></term>
145 <listitem>
146 <para>Converts <filename class="extension">.h</filename> C header
147 files to <filename class="extension">.ph</filename> Perl header
148 files</para>
149 <indexterm zone="ch-system-perl h2ph">
150 <primary sortas="b-h2ph">h2ph</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="h2xs">
156 <term><command>h2xs</command></term>
157 <listitem>
158 <para>Converts <filename class="extension">.h</filename> C header
159 files to Perl extensions</para>
160 <indexterm zone="ch-system-perl h2xs">
161 <primary sortas="b-h2xs">h2xs</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="libnetcfg">
167 <term><command>libnetcfg</command></term>
168 <listitem>
169 <para>Can be used to configure the
170 <filename class="libraryfile">libnet</filename></para>
171 <indexterm zone="ch-system-perl libnetcfg">
172 <primary sortas="b-libnetcfg">libnetcfg</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="perl">
178 <term><command>perl</command></term>
179 <listitem>
180 <para>Combines some of the best features of C, <command>sed</command>,
181 <command>awk</command> and <command>sh</command> into a single
182 swiss-army-knife language</para>
183 <indexterm zone="ch-system-perl perl">
184 <primary sortas="b-perl">perl</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="perl-version">
190 <term><command>perl&perl-version;</command></term>
191 <listitem>
192 <para>A hard link to <command>perl</command></para>
193 <indexterm zone="ch-system-perl perl-version">
194 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="perlbug">
200 <term><command>perlbug</command></term>
201 <listitem>
202 <para>Used to generate bug reports about Perl, or the modules that come
203 with it, and mail them</para>
204 <indexterm zone="ch-system-perl perlbug">
205 <primary sortas="b-perlbug">perlbug</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="perlcc">
211 <term><command>perlcc</command></term>
212 <listitem>
213 <para>Generates executables from Perl programs</para>
214 <indexterm zone="ch-system-perl perlcc">
215 <primary sortas="b-perlcc">perlcc</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="perldoc">
221 <term><command>perldoc</command></term>
222 <listitem>
223 <para>Displays a piece of documentation in pod format that is embedded
224 in the Perl installation tree or in a Perl script</para>
225 <indexterm zone="ch-system-perl perldoc">
226 <primary sortas="b-perldoc">perldoc</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="perlivp">
232 <term><command>perlivp</command></term>
233 <listitem>
234 <para>The Perl Installation Verification Procedure; it can be used to
235 verify that Perl and its libraries have been installed
236 correctly</para>
237 <indexterm zone="ch-system-perl perlivp">
238 <primary sortas="b-perlivp">perlivp</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="piconv">
244 <term><command>piconv</command></term>
245 <listitem>
246 <para>A Perl version of the character encoding converter
247 <command>iconv</command></para>
248 <indexterm zone="ch-system-perl piconv">
249 <primary sortas="b-piconv">piconv</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="pl2pm">
255 <term><command>pl2pm</command></term>
256 <listitem>
257 <para>A rough tool for converting Perl4
258 <filename class="extension">.pl</filename> files to Perl5
259 <filename class="extension">.pm</filename> modules</para>
260 <indexterm zone="ch-system-perl pl2pm">
261 <primary sortas="b-pl2pm">pl2pm</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="pod2html">
267 <term><command>pod2html</command></term>
268 <listitem>
269 <para>Converts files from pod format to HTML format</para>
270 <indexterm zone="ch-system-perl pod2html">
271 <primary sortas="b-pod2html">pod2html</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="pod2latex">
277 <term><command>pod2latex</command></term>
278 <listitem>
279 <para>Converts files from pod format to LaTeX format</para>
280 <indexterm zone="ch-system-perl pod2latex">
281 <primary sortas="b-pod2latex">pod2latex</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="pod2man">
287 <term><command>pod2man</command></term>
288 <listitem>
289 <para>Converts pod data to formatted *roff input</para>
290 <indexterm zone="ch-system-perl pod2man">
291 <primary sortas="b-pod2man">pod2man</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="pod2text">
297 <term><command>pod2text</command></term>
298 <listitem>
299 <para>Converts pod data to formatted ASCII text</para>
300 <indexterm zone="ch-system-perl pod2text">
301 <primary sortas="b-pod2text">pod2text</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="pod2usage">
307 <term><command>pod2usage</command></term>
308 <listitem>
309 <para>Prints usage messages from embedded pod docs in files</para>
310 <indexterm zone="ch-system-perl pod2usage">
311 <primary sortas="b-pod2usage">pod2usage</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="podchecker">
317 <term><command>podchecker</command></term>
318 <listitem>
319 <para>Checks the syntax of pod format documentation files</para>
320 <indexterm zone="ch-system-perl podchecker">
321 <primary sortas="b-podchecker">podchecker</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="podselect">
327 <term><command>podselect</command></term>
328 <listitem>
329 <para>Displays selected sections of pod documentation</para>
330 <indexterm zone="ch-system-perl podselect">
331 <primary sortas="b-podselect">podselect</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="psed">
337 <term><command>psed</command></term>
338 <listitem>
339 <para>A Perl version of the stream editor <command>sed</command></para>
340 <indexterm zone="ch-system-perl psed">
341 <primary sortas="b-psed">psed</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="pstruct">
347 <term><command>pstruct</command></term>
348 <listitem>
349 <para>Dumps C structures as generated from <command>cc -g -S</command>
350 stabs</para>
351 <indexterm zone="ch-system-perl pstruct">
352 <primary sortas="b-pstruct">pstruct</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="s2p">
358 <term><command>s2p</command></term>
359 <listitem>
360 <para>Translates <command>sed</command> to Perl</para>
361 <indexterm zone="ch-system-perl s2p">
362 <primary sortas="b-s2p">s2p</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 <varlistentry id="splain">
368 <term><command>splain</command></term>
369 <listitem>
370 <para>Is used to force verbose warning diagnostics in Perl</para>
371 <indexterm zone="ch-system-perl splain">
372 <primary sortas="b-splain">splain</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="xsubpp">
378 <term><command>xsubpp</command></term>
379 <listitem>
380 <para>Converts Perl XS code into C code</para>
381 <indexterm zone="ch-system-perl xsubpp">
382 <primary sortas="b-xsubpp">xsubpp</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 </variablelist>
388
389 </sect2>
390
391</sect1>
Note: See TracBrowser for help on using the repository browser.