source: chapter06/perl.xml@ 9c9d585

Last change on this file since 9c9d585 was 1fe35e1, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter06/*.xml) RELAX NG validation fixes

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

  • Property mode set to 100644
File size: 10.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-perl" xreflabel="Perl" role="wrap">
8<info><title>Perl-&perl-version;</title></info>
9<?dbhtml filename="perl.html"?>
10
11<indexterm zone="ch-system-perl"><primary sortas="a-Perl">Perl</primary></indexterm>
12
13<section role="package"><info><title/></info>
14<para>The Perl package contains the Practical Extraction and Report Language.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>2.9 SBU</seg><seg>143 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Perl installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
25Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
26</segmentedlist>
27</section>
28
29<section role="installation">
30<info><title>Installation of Perl</title></info>
31
32<para>If you want full control over the way Perl is set up, you can run the
33interactive <command>Configure</command> script and hand-pick the way this
34package is built. If you think you can live with the (sensible)
35defaults it auto-detects, then prepare Perl for compilation with:</para>
36
37<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
38
39<para>The meaning of the configure option:</para>
40
41<variablelist>
42<varlistentry>
43<term><parameter>-Dpager="/bin/less -isR"</parameter></term>
44<listitem><para>This corrects an error in the <command>perldoc</command> code with the invocation
45of the <command>less</command> program.</para></listitem>
46</varlistentry>
47</variablelist>
48
49<para>Compile the package:</para>
50
51<screen><userinput>make</userinput></screen>
52
53<para>If you wish to run the test suite, you first have to create a basic
54<filename>/etc/hosts</filename> file, which is needed by a couple of tests to
55resolve the name <emphasis>localhost</emphasis>:</para>
56
57<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
58
59<para>Now run the tests, if you wish:</para>
60
61<screen><userinput>make test</userinput></screen>
62
63<para>Finally, install the package:</para>
64
65<screen><userinput>make install</userinput></screen>
66
67</section>
68
69
70<section xml:id="contents-perl" role="content"><info><title>Contents of Perl</title></info>
71
72<segmentedlist>
73<segtitle>Installed programs</segtitle>
74<segtitle>Installed libraries</segtitle>
75<seglistitem><seg>a2p, c2ph, dprofpp, enc2xs,
76find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
77perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
78pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
79to c2ph), s2p, splain and xsubpp</seg>
80<seg>(too many to name)</seg></seglistitem>
81</segmentedlist>
82
83<variablelist><title>Short descriptions</title>
84
85<varlistentry xml:id="a2p">
86<term><command>a2p</command></term>
87<listitem>
88<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
89<para>translates awk to Perl.</para>
90</listitem>
91</varlistentry>
92
93<varlistentry xml:id="c2ph">
94<term><command>c2ph</command></term>
95<listitem>
96<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
97<para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para>
98</listitem>
99</varlistentry>
100
101<varlistentry xml:id="dprofpp">
102<term><command>dprofpp</command></term>
103<listitem>
104<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
105<para>displays Perl profile data.</para>
106</listitem>
107</varlistentry>
108
109<varlistentry xml:id="en2cxs">
110<term><command>en2cxs</command></term>
111<listitem>
112<indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
113<para>builds a Perl extension for the Encode module,
114from either Unicode Character Mappings or Tcl Encoding Files.</para>
115</listitem>
116</varlistentry>
117
118<varlistentry xml:id="find2perl">
119<term><command>find2perl</command></term>
120<listitem>
121<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
122<para>translates find commands to Perl.</para>
123</listitem>
124</varlistentry>
125
126<varlistentry xml:id="h2ph">
127<term><command>h2ph</command></term>
128<listitem>
129<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
130<para>converts <filename class="extension">.h</filename> C header files to
131<filename class="extension">.ph</filename> Perl header files.</para>
132</listitem>
133</varlistentry>
134
135<varlistentry xml:id="h2xs">
136<term><command>h2xs</command></term>
137<listitem>
138<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
139<para>converts <filename class="extension">.h</filename> C header files to Perl extensions.</para>
140</listitem>
141</varlistentry>
142
143<varlistentry xml:id="libnetcfg">
144<term><command>libnetcfg</command></term>
145<listitem>
146<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
147<para>can be used to configure the <filename class="libraryfile">libnet</filename>.</para>
148</listitem>
149</varlistentry>
150
151<varlistentry xml:id="perl">
152<term><command>perl</command></term>
153<listitem>
154<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
155<para>combines some of the best features of C, sed,
156awk and sh into a single swiss-army language.</para>
157</listitem>
158</varlistentry>
159
160<varlistentry xml:id="perlbug">
161<term><command>perlbug</command></term>
162<listitem>
163<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
164<para>is used to generate bug reports about
165Perl or the modules that come with it, and mail them.</para>
166</listitem>
167</varlistentry>
168
169<varlistentry xml:id="perlcc">
170<term><command>perlcc</command></term>
171<listitem>
172<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
173<para>generates executables from Perl programs.</para>
174</listitem>
175</varlistentry>
176
177<varlistentry xml:id="perldoc">
178<term><command>perldoc</command></term>
179<listitem>
180<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
181<para>displays a piece of documentation in pod
182format that is embedded in the Perl installation tree or in a Perl script.</para>
183</listitem>
184</varlistentry>
185
186<varlistentry xml:id="perlivp">
187<term><command>perlivp</command></term>
188<listitem>
189<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
190<para>is the Perl Installation Verification Procedure. It can be used to verify that
191Perl and its libraries have been installed correctly.</para>
192</listitem>
193</varlistentry>
194
195<varlistentry xml: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
200converter <command>iconv</command>.</para>
201</listitem>
202</varlistentry>
203
204<varlistentry xml: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 xml: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 xml: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 xml: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 xml: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 xml: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 xml: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 xml: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 xml: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>is a Perl version of the stream editor <command>sed</command>.</para>
274</listitem>
275</varlistentry>
276
277<varlistentry xml: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 xml: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 xml: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
298diagnostics in Perl.</para>
299</listitem>
300</varlistentry>
301
302<varlistentry xml:id="xsubpp">
303<term><command>xsubpp</command></term>
304<listitem>
305<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
306<para>converts Perl XS code into C code.</para>
307</listitem>
308</varlistentry>
309</variablelist>
310
311</section>
312
313</section>
Note: See TracBrowser for help on using the repository browser.