source: chapter06/perl.xml@ aabd480

6.1 6.1.1
Last change on this file since aabd480 was 90b56f5, checked in by Archaic <archaic@…>, 19 years ago

Round 2 of several minor wording changes in chapter 6. (merged from trunk r6258)

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