source: chapter06/perl.xml@ e5846ef

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 e5846ef was e5846ef, checked in by Archaic <archaic@…>, 19 years ago

Round 2 of several minor wording changes in chapter 6 (matt).

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6258 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 <command>perldoc</command> code with the invocation
46of the <command>less</command> program.</para></listitem>
47</varlistentry>
48</variablelist>
49
50<para>Compile the package:</para>
51
52<screen><userinput>make</userinput></screen>
53
54<para>To run the test suite, first create a basic
55<filename>/etc/hosts</filename> file which is needed by a couple of the tests to
56resolve the network name localhost:</para>
57
58<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
59
60<para>Now run the tests, if desired:</para>
61
62<screen><userinput>make test</userinput></screen>
63
64<para>Install the package:</para>
65
66<screen><userinput>make install</userinput></screen>
67
68</sect2>
69
70
71<sect2 id="contents-perl" role="content"><title>Contents of Perl</title>
72
73<segmentedlist>
74<segtitle>Installed programs</segtitle>
75<segtitle>Installed libraries</segtitle>
76<seglistitem><seg>a2p, c2ph, dprofpp, enc2xs,
77find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
78perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
79pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
80to c2ph), s2p, splain, and xsubpp</seg>
81<seg>Several hundred which cannot all be listed here</seg></seglistitem>
82</segmentedlist>
83
84<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
85<?dbfo list-presentation="list"?>
86<?dbhtml list-presentation="table"?>
87
88<varlistentry id="a2p">
89<term><command>a2p</command></term>
90<listitem>
91<para>Translates awk to Perl</para>
92<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
93</listitem>
94</varlistentry>
95
96<varlistentry id="c2ph">
97<term><command>c2ph</command></term>
98<listitem>
99<para>Dumps C structures as generated from <command>cc -g -S</command></para>
100<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
101</listitem>
102</varlistentry>
103
104<varlistentry id="dprofpp">
105<term><command>dprofpp</command></term>
106<listitem>
107<para>Displays Perl profile data</para>
108<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
109</listitem>
110</varlistentry>
111
112<varlistentry id="en2cxs">
113<term><command>en2cxs</command></term>
114<listitem>
115<para>Builds a Perl extension for the Encode module from either
116Unicode Character Mappings or Tcl Encoding Files</para>
117<indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
118</listitem>
119</varlistentry>
120
121<varlistentry id="find2perl">
122<term><command>find2perl</command></term>
123<listitem>
124<para>Translates <command>find</command> commands to Perl</para>
125<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
126</listitem>
127</varlistentry>
128
129<varlistentry id="h2ph">
130<term><command>h2ph</command></term>
131<listitem>
132<para>Converts <filename class="extension">.h</filename> C header files to
133<filename class="extension">.ph</filename> Perl header files</para>
134<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
135</listitem>
136</varlistentry>
137
138<varlistentry id="h2xs">
139<term><command>h2xs</command></term>
140<listitem>
141<para>Converts <filename class="extension">.h</filename> C header files to Perl extensions</para>
142<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
143</listitem>
144</varlistentry>
145
146<varlistentry id="libnetcfg">
147<term><command>libnetcfg</command></term>
148<listitem>
149<para>Can be used to configure the <filename class="libraryfile">libnet</filename></para>
150<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
151</listitem>
152</varlistentry>
153
154<varlistentry id="perl">
155<term><command>perl</command></term>
156<listitem>
157<para>Combines some of the best features of C, <command>sed</command>,
158<command>awk</command> and <command>sh</command> into a single swiss-army
159language</para>
160<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
161</listitem>
162</varlistentry>
163
164<varlistentry id="perl-version">
165<term><command>perl&perl-version;</command></term>
166<listitem>
167<para>A hard link to <command>perl</command></para>
168<indexterm zone="ch-system-perl perl-version"><primary
169sortas="b-perl&perl-version;">perl&perl-version;</primary></indexterm>
170</listitem>
171</varlistentry>
172
173
174<varlistentry id="perlbug">
175<term><command>perlbug</command></term>
176<listitem>
177<para>Used to generate bug reports about Perl, or the modules that come
178with it, and mail them</para>
179<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
180</listitem>
181</varlistentry>
182
183<varlistentry id="perlcc">
184<term><command>perlcc</command></term>
185<listitem>
186<para>Generates executables from Perl programs</para>
187<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
188</listitem>
189</varlistentry>
190
191<varlistentry id="perldoc">
192<term><command>perldoc</command></term>
193<listitem>
194<para>Displays a piece of documentation in pod format that is embedded
195in the Perl installation tree or in a Perl script</para>
196<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
197</listitem>
198</varlistentry>
199
200<varlistentry id="perlivp">
201<term><command>perlivp</command></term>
202<listitem>
203<para>The Perl Installation Verification Procedure; it can be used to
204verify that Perl and its libraries have been installed
205correctly</para>
206<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
207</listitem>
208</varlistentry>
209
210<varlistentry id="piconv">
211<term><command>piconv</command></term>
212<listitem>
213<para>A Perl version of the character encoding converter
214<command>iconv</command></para>
215<indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
216</listitem>
217</varlistentry>
218
219<varlistentry id="pl2pm">
220<term><command>pl2pm</command></term>
221<listitem>
222<para>A rough tool for converting Perl4 <filename class="extension">.pl</filename>
223files to Perl5 <filename class="extension">.pm</filename> modules</para>
224<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
225</listitem>
226</varlistentry>
227
228<varlistentry id="pod2html">
229<term><command>pod2html</command></term>
230<listitem>
231<para>Converts files from pod format to HTML format</para>
232<indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
233</listitem>
234</varlistentry>
235
236<varlistentry id="pod2latex">
237<term><command>pod2latex</command></term>
238<listitem>
239<para>Converts files from pod format to LaTeX format</para>
240<indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
241</listitem>
242</varlistentry>
243
244<varlistentry id="pod2man">
245<term><command>pod2man</command></term>
246<listitem>
247<para>Converts pod data to formatted *roff input</para>
248<indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
249</listitem>
250</varlistentry>
251
252<varlistentry id="pod2text">
253<term><command>pod2text</command></term>
254<listitem>
255<para>Converts pod data to formatted ASCII text</para>
256<indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
257</listitem>
258</varlistentry>
259
260<varlistentry id="pod2usage">
261<term><command>pod2usage</command></term>
262<listitem>
263<para>Prints usage messages from embedded pod docs in files</para>
264<indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
265</listitem>
266</varlistentry>
267
268<varlistentry id="podchecker">
269<term><command>podchecker</command></term>
270<listitem>
271<para>Checks the syntax of pod format documentation files</para>
272<indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
273</listitem>
274</varlistentry>
275
276<varlistentry id="podselect">
277<term><command>podselect</command></term>
278<listitem>
279<para>Displays selected sections of pod documentation</para>
280<indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
281</listitem>
282</varlistentry>
283
284<varlistentry id="psed">
285<term><command>psed</command></term>
286<listitem>
287<para>A Perl version of the stream editor <command>sed</command></para>
288<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
289</listitem>
290</varlistentry>
291
292<varlistentry id="pstruct">
293<term><command>pstruct</command></term>
294<listitem>
295<para>Dumps C structures as generated from <command>cc -g -S</command> stabs</para>
296<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
297</listitem>
298</varlistentry>
299
300<varlistentry id="s2p">
301<term><command>s2p</command></term>
302<listitem>
303<para>Translates <command>sed</command> scripts to Perl</para>
304<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
305</listitem>
306</varlistentry>
307
308<varlistentry id="splain">
309<term><command>splain</command></term>
310<listitem>
311<para>Is used to force verbose warning diagnostics in Perl</para>
312<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
313</listitem>
314</varlistentry>
315
316<varlistentry id="xsubpp">
317<term><command>xsubpp</command></term>
318<listitem>
319<para>Converts Perl XS code into C code</para>
320<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
321</listitem>
322</varlistentry>
323</variablelist>
324
325</sect2>
326
327</sect1>
328
Note: See TracBrowser for help on using the repository browser.