source: chapter06/perl.xml@ c44040a

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.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 c44040a was c44040a, checked in by Matthew Burgess <matthew@…>, 19 years ago

Minor wording improvement

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

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