source: chapter06/perl.xml@ a2d4711a

Last change on this file since a2d4711a was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

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