source: BOOK/final-system/common/perl.xml@ 89336bc

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 89336bc was bbf90e8, checked in by Jim Gifford <clfs@…>, 19 years ago

r3529@server (orig r1611): chris | 2006-05-15 23:56:47 -0700
Updated package build instructions as needed for the modified build order

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