source: chapter06/perl.xml@ b8a819f

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since b8a819f was b8a819f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Changed the id's location in the Short descriptions sections to fix a bug in the PDF generation.

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

  • Property mode set to 100644
File size: 10.1 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>If you want full control over the way Perl is set up, you can run the
32interactive <command>Configure</command> script and hand-pick the way this
33package is built. If you think you can live with the (sensible)
34defaults it auto-detects, then prepare 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><userinput>-Dpager="/bin/less -isR"</userinput></term>
43<listitem><para>This corrects an error in the perldoc code with the invocation
44of the less program.</para></listitem>
45</varlistentry>
46</variablelist>
47
48<para>Compile the package:</para>
49
50<screen><userinput>make</userinput></screen>
51
52<para>If you wish to run the test suite, you first have to create a basic
53<filename>/etc/hosts</filename> file, which is needed by a couple of tests to
54resolve the name <emphasis>localhost</emphasis>:</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 you wish:</para>
59
60<screen><userinput>make test</userinput></screen>
61
62<para>Finally, 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>(too many to name)</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 "cc -g -S" stabs.</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,
113from either Unicode 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 .h C header files to .ph Perl header files.</para>
130</listitem>
131</varlistentry>
132
133<varlistentry id="h2xs">
134<term><command>h2xs</command></term>
135<listitem>
136<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
137<para>converts .h C header files to Perl extensions.</para>
138</listitem>
139</varlistentry>
140
141<varlistentry id="libnetcfg">
142<term><command>libnetcfg</command></term>
143<listitem>
144<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
145<para>can be used to configure the libnet.</para>
146</listitem>
147</varlistentry>
148
149<varlistentry id="perl">
150<term><command>perl</command></term>
151<listitem>
152<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
153<para>combines some of the best features of C, sed,
154awk and sh into a single swiss-army language.</para>
155</listitem>
156</varlistentry>
157
158<varlistentry id="perlbug">
159<term><command>perlbug</command></term>
160<listitem>
161<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
162<para>is used to generate bug reports about
163Perl or the modules that come with it, and mail them.</para>
164</listitem>
165</varlistentry>
166
167<varlistentry id="perlcc">
168<term><command>perlcc</command></term>
169<listitem>
170<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
171<para>generates executables from Perl programs.</para>
172</listitem>
173</varlistentry>
174
175<varlistentry id="perldoc">
176<term><command>perldoc</command></term>
177<listitem>
178<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
179<para>displays a piece of documentation in pod
180format that is embedded in the perl installation tree or in a perl script.</para>
181</listitem>
182</varlistentry>
183
184<varlistentry id="perlivp">
185<term><command>perlivp</command></term>
186<listitem>
187<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
188<para>is the Perl Installation Verification Procedure. It can be used to verify that
189Perl and its libraries have been installed correctly.</para>
190</listitem>
191</varlistentry>
192
193<varlistentry id="piconv">
194<term><command>piconv</command></term>
195<listitem>
196<indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
197<para>is a Perl version of the character encoding
198converter <command>iconv</command>.</para>
199</listitem>
200</varlistentry>
201
202<varlistentry id="pl2pm">
203<term><command>pl2pm</command></term>
204<listitem>
205<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
206<para>is a rough tool for converting Perl4 .pl files to Perl5 .pm modules.</para>
207</listitem>
208</varlistentry>
209
210<varlistentry id="pod2html">
211<term><command>pod2html</command></term>
212<listitem>
213<indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
214<para>converts files from pod format to HTML format.</para>
215</listitem>
216</varlistentry>
217
218<varlistentry id="pod2latex">
219<term><command>pod2latex</command></term>
220<listitem>
221<indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
222<para>converts files from pod format to LaTeX format.</para>
223</listitem>
224</varlistentry>
225
226<varlistentry id="pod2man">
227<term><command>pod2man</command></term>
228<listitem>
229<indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
230<para>converts pod data to formatted *roff input.</para>
231</listitem>
232</varlistentry>
233
234<varlistentry id="pod2text">
235<term><command>pod2text</command></term>
236<listitem>
237<indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
238<para>converts pod data to formatted ASCII text.</para>
239</listitem>
240</varlistentry>
241
242<varlistentry id="pod2usage">
243<term><command>pod2usage</command></term>
244<listitem>
245<indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
246<para>prints usage messages from embedded pod docs in files.</para>
247</listitem>
248</varlistentry>
249
250<varlistentry id="podchecker">
251<term><command>podchecker</command></term>
252<listitem>
253<indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
254<para>checks the syntax of pod format documentation files.</para>
255</listitem>
256</varlistentry>
257
258<varlistentry id="podselect">
259<term><command>podselect</command></term>
260<listitem>
261<indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
262<para>displays selected sections of pod documentation.</para>
263</listitem>
264</varlistentry>
265
266<varlistentry id="psed">
267<term><command>psed</command></term>
268<listitem>
269<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
270<para>is a Perl version of the stream editor <userinput>sed</userinput>.</para>
271</listitem>
272</varlistentry>
273
274<varlistentry id="pstruct">
275<term><command>pstruct</command></term>
276<listitem>
277<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
278<para>dumps C structures as generated from "cc -g -S" stabs.</para>
279</listitem>
280</varlistentry>
281
282<varlistentry id="s2p">
283<term><command>s2p</command></term>
284<listitem>
285<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
286<para>translates sed to perl.</para>
287</listitem>
288</varlistentry>
289
290<varlistentry id="splain">
291<term><command>splain</command></term>
292<listitem>
293<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
294<para>is used to force verbose warning
295diagnostics in perl.</para>
296</listitem>
297</varlistentry>
298
299<varlistentry id="xsubpp">
300<term><command>xsubpp</command></term>
301<listitem>
302<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
303<para>converts Perl XS code into C code.</para>
304</listitem>
305</varlistentry>
306</variablelist>
307
308</sect2>
309
310</sect1>
Note: See TracBrowser for help on using the repository browser.