source: chapter06/perl.xml@ a001133

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.0 6.1 6.1.1 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 a001133 was a001133, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the introductori packages sections in chapter0{6,7,8}

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

  • Property mode set to 100644
File size: 8.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-perl" xreflabel="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>143 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>Perl installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Perl</title>
30
31<para>If you want full control over the way Perl is set up, you can run the
32interactive <command>Configure</command> script and hand-pick the way this
33package is built. If you think you can live with the (sensible)
34defaults it auto-detects, then prepare 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 option:</para>
39
40<itemizedlist>
41<listitem><para><userinput>-Dpager="/bin/less -isR"</userinput>: This corrects
42an error in the perldoc code with the invocation of the less
43program.</para></listitem>
44</itemizedlist>
45
46<para>Compile the package:</para>
47
48<screen><userinput>make</userinput></screen>
49
50<para>If you wish to run the test suite, you first have to create a basic
51<filename>/etc/hosts</filename> file, which is needed by a couple of tests to
52resolve the name <emphasis>localhost</emphasis>:</para>
53
54<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
55
56<para>Now run the tests, if you wish:</para>
57
58<screen><userinput>make test</userinput></screen>
59
60<para>Finally, install the package:</para>
61
62<screen><userinput>make install</userinput></screen>
63
64</sect2>
65
66
67<sect2 id="contents-perl"><title>Contents of Perl</title>
68
69<para><emphasis>Installed programs</emphasis>: a2p, c2ph, dprofpp, enc2xs,
70find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
71perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
72pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
73to c2ph), s2p, splain and xsubpp</para>
74
75<para><emphasis>Installed libraries</emphasis>: (too many to name)</para>
76
77</sect2>
78
79<sect2><title>Short descriptions</title>
80
81<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
82<para id="a2p"><command>a2p</command> translates awk to perl.</para>
83
84<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
85<para id="c2ph"><command>c2ph</command> dumps C structures as generated from
86"cc -g -S" stabs.</para>
87
88<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
89<para id="dprofpp"><command>dprofpp</command> displays perl profile data.</para>
90
91<indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
92<para id="en2cxs"><command>en2cxs</command> builds a Perl extension for the Encode module,
93from either Unicode Character Mappings or Tcl Encoding Files.</para>
94
95<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
96<para id="find2perl"><command>find2perl</command> translates find commands to perl.</para>
97
98<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
99<para id="h2ph"><command>h2ph</command> converts .h C header files to .ph Perl header files.</para>
100
101<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
102<para id="h2xs"><command>h2xs</command> converts .h C header files to Perl extensions.</para>
103
104<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
105<para id="libnetcfg"><command>libnetcfg</command> can be used to configure the libnet.</para>
106
107<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
108<para id="perl"><command>perl</command> combines some of the best features of C, sed,
109awk and sh into a single swiss-army language.</para>
110
111<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
112<para id="perlbug"><command>perlbug</command> is used to generate bug reports about
113Perl or the modules that come with it, and mail them.</para>
114
115<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
116<para id="perlcc"><command>perlcc</command> generates executables from Perl programs.</para>
117
118<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
119<para id="perldoc"><command>perldoc</command> displays a piece of documentation in pod
120format that is embedded in the perl installation tree or in a perl script.</para>
121
122<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
123<para id="perlivp"><command>perlivp</command> is the Perl Installation Verification
124Procedure. It can be used to verify that Perl and its libraries have been
125installed correctly.</para>
126
127<indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
128<para id="piconv"><command>piconv</command> is a Perl version of the character encoding
129converter <command>iconv</command>.</para>
130
131<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
132<para id="pl2pm"><command>pl2pm</command> is a rough tool for converting Perl4 .pl
133files to Perl5 .pm modules.</para>
134
135<indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
136<para id="pod2html"><command>pod2html</command> converts files from pod format to HTML
137format.</para>
138
139<indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
140<para id="pod2latex"><command>pod2latex</command> converts files from pod format to LaTeX
141format.</para>
142
143<indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
144<para id="pod2man"><command>pod2man</command> converts pod data to formatted *roff
145input.</para>
146
147<indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
148<para id="pod2text"><command>pod2text</command> converts pod data to formatted ASCII
149text.</para>
150
151<indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
152<para id="pod2usage"><command>pod2usage</command> prints usage messages from embedded
153pod docs in files.</para>
154
155<indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
156<para id="podchecker"><command>podchecker</command> checks the syntax of pod format
157documentation files.</para>
158
159<indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
160<para id="podselect"><command>podselect</command> displays selected sections of pod
161documentation.</para>
162
163<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
164<para id="psed"><command>psed</command> is a Perl version of the stream editor
165<userinput>sed</userinput>.</para>
166
167<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
168<para id="pstruct"><command>pstruct</command> dumps C structures as generated from
169"cc -g -S" stabs.</para>
170
171<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
172<para id="s2p"><command>s2p</command> translates sed to perl.</para>
173
174<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
175<para id="splain"><command>splain</command> is used to force verbose warning
176diagnostics in perl.</para>
177
178<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
179<para id="xsubpp"><command>xsubpp</command> converts Perl XS code into C code.</para>
180
181</sect2>
182
183
184
185</sect1>
Note: See TracBrowser for help on using the repository browser.