source: final-system/common/perl.xml@ 2ef0383

Last change on this file since 2ef0383 was 0f06076, checked in by Jim Gifford <clfs@…>, 19 years ago

r3371@server (orig r1554): chris | 2006-05-10 14:03:44 -0700
Removed dependency info from individual package instructions

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