source: chapter06/perl.xml@ 673b0d8

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 v5_1 v5_1_1 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 673b0d8 was 673b0d8, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Merged newxml into HEAD

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

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