source: general/prog/perl-modules.xml@ 30e1539

10.0 10.1 11.0 11.1 11.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 30e1539 was 30e1539, checked in by Randy McMurchy <randy@…>, 18 years ago

Added Net::DNS Perl Module (and dependency modules)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3094 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY LFS-Perl-version "5.8.5">
8]>
9
10<sect1 id="perl-modules" xreflabel="Perl modules">
11<sect1info>
12<othername>$LastChangedBy$</othername>
13<date>$Date$</date>
14</sect1info>
15<?dbhtml filename="perl-modules.html" ?>
16<title>Perl modules</title>
17
18<sect2>
19<title>Introduction to <application>Perl</application> modules</title>
20
21<para>The <application>Perl</application> module packages add useful objects
22to the <application>Perl</application> language. Modules utilized by packages
23throughout <acronym>BLFS</acronym> are listed here, along with their
24dependencies.</para>
25
26<sect3><title><application>Perl</application> Module Packages</title>
27<itemizedlist spacing='compact'>
28<listitem><para><ulink
29url="http://search.cpan.org/CPAN/authors/id/C/CS/CSOE/PDL-&PDL-version;.tar.gz">PDL-&PDL-version;</ulink>
30</para>
31
32<itemizedlist spacing='compact'>
33<listitem><para><ulink
34url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">ExtUtils-F77-&ExtUtils-F77-version;</ulink>
35</para></listitem>
36
37<listitem><para><ulink
38url="http://www.cpan.org/authors/id/I/IN/INGY/Inline-&Inline-version;.tar.gz">Inline-&Inline-version;</ulink>
39</para>
40
41<itemizedlist spacing='compact'>
42<listitem><para><ulink
43url="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">Parse-RecDescent-&Parse-RecDescent-version;</ulink>
44</para></listitem>
45</itemizedlist></listitem>
46
47<listitem><para><ulink
48url="http://search.cpan.org/CPAN/authors/id/A/AA/AALLAN/Astro-FITS-Header-&Astro-FITS-Header-version;.tar.gz">Astro-FITS-Header-&Astro-FITS-Header-version;</ulink>
49</para></listitem>
50</itemizedlist></listitem>
51
52<listitem><para><ulink
53url="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Gtk-Perl-&Gtk-Perl-version;.tar.gz">Gtk-Perl-&Gtk-Perl-version;</ulink>
54</para>
55
56<itemizedlist spacing='compact'>
57<listitem><para><ulink
58url="http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;.tar.gz">XML-Writer-&XML-Writer-version;</ulink>
59</para></listitem>
60
61<listitem><para><ulink
62url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink>
63</para>
64
65<itemizedlist spacing='compact'>
66<listitem><para><xref linkend="expat"/></para></listitem>
67</itemizedlist></listitem>
68
69<listitem><para><xref linkend="GTK"/></para>
70</listitem>
71</itemizedlist></listitem>
72
73<listitem><para><ulink
74url="http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">SGMLSpm-&SGMLSpm-version;</ulink>
75</para></listitem>
76
77<listitem><para><ulink
78url="http://www.cpan.org/authors/id/N/NI/NI-S/Tk-&Perl-Tk-version;.tar.gz">Tk-&Perl-Tk-version;</ulink>
79</para>
80
81<itemizedlist spacing='compact'>
82<listitem><para><xref linkend="tk"/> and
83<xref linkend="libjpeg"/></para></listitem>
84</itemizedlist></listitem>
85
86<listitem><para><ulink
87url="http://www.cpan.org/authors/id/C/CR/CREIN/Net-DNS-&Net-DNS-version;.tar.gz">Net-DNS-&Net-DNS-version;</ulink>
88</para>
89
90<itemizedlist spacing='compact'>
91<listitem><para><ulink
92url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-MD5-&Digest-MD5-version;.tar.gz">Digest-MD5-&Digest-MD5-version;</ulink>
93</para></listitem>
94
95<listitem><para><ulink
96url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-&Digest-HMAC-version;.tar.gz">Digest-HMAC-&Digest-HMAC-version;</ulink>
97</para>
98
99<itemizedlist spacing='compact'>
100<listitem><para><ulink
101url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-&Digest-SHA1-version;.tar.gz">Digest-SHA1-&Digest-SHA1-version;</ulink>
102</para></listitem></itemizedlist>
103</listitem></itemizedlist>
104</listitem></itemizedlist>
105
106</sect3>
107
108</sect2>
109
110<sect2>
111<title>Installation of <application>Perl</application> modules</title>
112
113<para>Install <application>Perl</application> modules by running the following
114commands:</para>
115
116<screen><userinput><command>perl Makefile.PL &amp;&amp;
117make &amp;&amp;
118make test &amp;&amp;
119make install</command></userinput></screen>
120
121<para>The modules listed below require modifications to the instructions in
122order to install successfully.</para>
123
124<sect3>
125<title>Gtk-Perl-&Gtk-Perl-version;:</title>
126
127<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
128make &amp;&amp;
129make test &amp;&amp;
130make install</command></userinput></screen></sect3>
131
132<sect3>
133<title>SGMLSpm-&SGMLSpm-version;</title>
134
135<para>If your system's <application>Perl</application> version is different
136than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
137command below to reflect the version you have installed.</para>
138
139<screen><userinput><command>sed -i -e "s@/usr/local/bin@/usr/bin@" \
140 -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
141 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
142 Makefile &amp;&amp;
143make install &amp;&amp;
144install -d -m 755 /usr/share/doc/perl5 &amp;&amp;
145make install_html &amp;&amp;
146rm -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
147install -m 644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</command></userinput></screen>
148</sect3>
149
150</sect2>
151
152<sect2><title>(Alternate) Auto installation of <application>Perl</application>
153modules.</title>
154
155<para>There is an alternate way of installing the modules using
156<application>Perl</application>'s built-in <command>install</command> command.
157The command automatically downloads the source from the <acronym>CPAN</acronym>
158archive, extracts it, runs the commands mentioned above, and removes
159the build tree.</para>
160
161<para>Start the perl shell with the commands:</para>
162
163<screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
164<para>Each module may now be installed from this shell with the command:</para>
165<screen><userinput><command>install &lt;moduleName&gt;</command></userinput></screen>
166
167<para>For additional commands and help, type <command>help</command>.</para>
168
169</sect2>
170
171</sect1>
172
Note: See TracBrowser for help on using the repository browser.