source: chapter06/perl.xml@ ef13657

6.0
Last change on this file since ef13657 was ef13657, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 10.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-perl" xreflabel="Perl" role="wrap">
7<title>Perl-&perl-version;</title>
8<?dbhtml filename="perl.html"?>
9
10<indexterm zone="ch-system-perl"><primary sortas="a-Perl">Perl</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Perl package contains the Practical Extraction and Report Language.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>2.9 SBU</seg><seg>143 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Perl installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Perl</title>
30
31<para>To have full control over the way Perl is set up, run the
32interactive <command>Configure</command> script and hand-pick the way
33this package is built. If the defaults it auto-detects are suitable,
34prepare Perl for compilation with:</para>
35
36<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
37
38<para>The meaning of the configure option:</para>
39
40<variablelist>
41<varlistentry>
42<term><parameter>-Dpager="/bin/less -isR"</parameter></term>
43<listitem><para>This corrects an error in the <command>perldoc</command> code with the invocation
44of the <command>less</command> program.</para></listitem>
45</varlistentry>
46</variablelist>
47
48<para>Compile the package:</para>
49
50<screen><userinput>make</userinput></screen>
51
52<para>To run the test suite, first create a basic
53<filename>/etc/hosts</filename> file which is needed by a couple of
54tests to resolve the network name localhost:</para>
55
56<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
57
58<para>Now run the tests, if desired:</para>
59
60<screen><userinput>make test</userinput></screen>
61
62<para>Install the package:</para>
63
64<screen><userinput>make install</userinput></screen>
65
66</sect2>
67
68
69<sect2 id="contents-perl" role="content"><title>Contents of Perl</title>
70
71<segmentedlist>
72<segtitle>Installed programs</segtitle>
73<segtitle>Installed libraries</segtitle>
74<seglistitem><seg>a2p, c2ph, dprofpp, enc2xs,
75find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
76perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
77pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
78to c2ph), s2p, splain and xsubpp</seg>
79<seg>Several hundred which cannot be all listed here</seg></seglistitem>
80</segmentedlist>
81
82<variablelist><title>Short descriptions</title>
83
84<varlistentry id="a2p">
85<term><command>a2p</command></term>
86<listitem>
87<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
88<para>translates awk to Perl.</para>
89</listitem>
90</varlistentry>
91
92<varlistentry id="c2ph">
93<term><command>c2ph</command></term>
94<listitem>
95<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
96<para>dumps C structures as generated from <quote>cc -g -S</quote>.</para>
97</listitem>
98</varlistentry>
99
100<varlistentry id="dprofpp">
101<term><command>dprofpp</command></term>
102<listitem>
103<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
104<para>displays Perl profile data.</para>
105</listitem>
106</varlistentry>
107
108<varlistentry id="en2cxs">
109<term><command>en2cxs</command></term>
110<listitem>
111<indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
112<para>builds a Perl extension for the Encode module, from either
113Unicode Character Mappings or Tcl Encoding Files.</para>
114</listitem>
115</varlistentry>
116
117<varlistentry id="find2perl">
118<term><command>find2perl</command></term>
119<listitem>
120<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
121<para>translates find commands to Perl.</para>
122</listitem>
123</varlistentry>
124
125<varlistentry id="h2ph">
126<term><command>h2ph</command></term>
127<listitem>
128<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
129<para>converts <filename class="extension">.h</filename> C header files to
130<filename class="extension">.ph</filename> Perl header files.</para>
131</listitem>
132</varlistentry>
133
134<varlistentry id="h2xs">
135<term><command>h2xs</command></term>
136<listitem>
137<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
138<para>converts <filename class="extension">.h</filename> C header files to Perl extensions.</para>
139</listitem>
140</varlistentry>
141
142<varlistentry id="libnetcfg">
143<term><command>libnetcfg</command></term>
144<listitem>
145<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
146<para>can be used to configure the <filename class="libraryfile">libnet</filename>.</para>
147</listitem>
148</varlistentry>
149
150<varlistentry id="perl">
151<term><command>perl</command></term>
152<listitem>
153<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
154<para>combines some of the best features of C, sed, awk and sh into a
155single swiss-army language.</para>
156</listitem>
157</varlistentry>
158
159<varlistentry id="perlbug">
160<term><command>perlbug</command></term>
161<listitem>
162<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
163<para>used to generate bug reports about Perl or the modules that come
164with it, and mail them.</para>
165</listitem>
166</varlistentry>
167
168<varlistentry id="perlcc">
169<term><command>perlcc</command></term>
170<listitem>
171<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
172<para>generates executables from Perl programs.</para>
173</listitem>
174</varlistentry>
175
176<varlistentry id="perldoc">
177<term><command>perldoc</command></term>
178<listitem>
179<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
180<para>displays a piece of documentation in pod format that is embedded
181in the Perl installation tree or in a Perl script.</para>
182</listitem>
183</varlistentry>
184
185<varlistentry id="perlivp">
186<term><command>perlivp</command></term>
187<listitem>
188<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
189<para>the Perl Installation Verification Procedure. It can be used to
190verify that Perl and its libraries have been installed
191correctly.</para>
192</listitem>
193</varlistentry>
194
195<varlistentry id="piconv">
196<term><command>piconv</command></term>
197<listitem>
198<indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
199<para>is a Perl version of the character encoding converter
200<command>iconv</command>.</para>
201</listitem>
202</varlistentry>
203
204<varlistentry id="pl2pm">
205<term><command>pl2pm</command></term>
206<listitem>
207<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
208<para>is a rough tool for converting Perl4 <filename class="extension">.pl</filename>
209files to Perl5 <filename class="extension">.pm</filename> modules.</para>
210</listitem>
211</varlistentry>
212
213<varlistentry id="pod2html">
214<term><command>pod2html</command></term>
215<listitem>
216<indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
217<para>converts files from pod format to HTML format.</para>
218</listitem>
219</varlistentry>
220
221<varlistentry id="pod2latex">
222<term><command>pod2latex</command></term>
223<listitem>
224<indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
225<para>converts files from pod format to LaTeX format.</para>
226</listitem>
227</varlistentry>
228
229<varlistentry id="pod2man">
230<term><command>pod2man</command></term>
231<listitem>
232<indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
233<para>converts pod data to formatted *roff input.</para>
234</listitem>
235</varlistentry>
236
237<varlistentry id="pod2text">
238<term><command>pod2text</command></term>
239<listitem>
240<indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
241<para>converts pod data to formatted ASCII text.</para>
242</listitem>
243</varlistentry>
244
245<varlistentry id="pod2usage">
246<term><command>pod2usage</command></term>
247<listitem>
248<indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
249<para>prints usage messages from embedded pod docs in files.</para>
250</listitem>
251</varlistentry>
252
253<varlistentry id="podchecker">
254<term><command>podchecker</command></term>
255<listitem>
256<indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
257<para>checks the syntax of pod format documentation files.</para>
258</listitem>
259</varlistentry>
260
261<varlistentry id="podselect">
262<term><command>podselect</command></term>
263<listitem>
264<indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
265<para>displays selected sections of pod documentation.</para>
266</listitem>
267</varlistentry>
268
269<varlistentry id="psed">
270<term><command>psed</command></term>
271<listitem>
272<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
273<para>a Perl version of the stream editor <command>sed</command>.</para>
274</listitem>
275</varlistentry>
276
277<varlistentry id="pstruct">
278<term><command>pstruct</command></term>
279<listitem>
280<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
281<para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para>
282</listitem>
283</varlistentry>
284
285<varlistentry id="s2p">
286<term><command>s2p</command></term>
287<listitem>
288<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
289<para>translates sed to Perl.</para>
290</listitem>
291</varlistentry>
292
293<varlistentry id="splain">
294<term><command>splain</command></term>
295<listitem>
296<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
297<para>is used to force verbose warning diagnostics in Perl.</para>
298</listitem>
299</varlistentry>
300
301<varlistentry id="xsubpp">
302<term><command>xsubpp</command></term>
303<listitem>
304<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
305<para>converts Perl XS code into C code.</para>
306</listitem>
307</varlistentry>
308</variablelist>
309
310</sect2>
311
312</sect1>
313
Note: See TracBrowser for help on using the repository browser.