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 Gtk-Perl-version "0.7009">
|
---|
8 | <!ENTITY PDL-version "2.4.0">
|
---|
9 | <!ENTITY XML-Parser-version "2.34">
|
---|
10 | <!ENTITY XML-Writer-version "0.4.1">
|
---|
11 | <!ENTITY Astro-FITS-Header-version "2.8.1">
|
---|
12 | <!ENTITY Parse-RecDescent-version "1.94">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="perl-modules" xreflabel="Perl modules">
|
---|
17 | <?dbhtml filename="perl-modules.html" ?>
|
---|
18 | <title>Perl modules</title>
|
---|
19 |
|
---|
20 | <sect2>
|
---|
21 | <title>Introduction to <application>Perl</application> modules</title>
|
---|
22 |
|
---|
23 | <para>The <application>Perl</application> module packages add useful objects
|
---|
24 | to the <application>Perl</application> language. Modules utilized by packages
|
---|
25 | throughout <acronym>BLFS</acronym> are listed here, along with their
|
---|
26 | dependencies.</para>
|
---|
27 |
|
---|
28 | <sect3><title>Perl Packages</title>
|
---|
29 | <itemizedlist spacing='compact'>
|
---|
30 | <listitem><para><ulink
|
---|
31 | url="http://search.cpan.org/CPAN/authors/id/C/CS/CSOE/PDL-&PDL-version;.tar.gz">PDL-&PDL-version;</ulink></para><itemizedlist spacing='compact'>
|
---|
32 |
|
---|
33 | <listitem><para><ulink
|
---|
34 | url="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></para></listitem></itemizedlist></listitem>
|
---|
35 |
|
---|
36 | <listitem><para><ulink
|
---|
37 | url="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Gtk-Perl-&Gtk-Perl-version;.tar.gz">Gtk-Perl-&Gtk-Perl-version;</ulink></para><itemizedlist spacing='compact'>
|
---|
38 |
|
---|
39 | <listitem><para><ulink
|
---|
40 | url="http://search.cpan.org/CPAN/authors/id/E/ED/EDAVIS/XML-Writer-&XML-Writer-version;.tar.gz">XML-Writer-&XML-Writer-version;</ulink></para></listitem>
|
---|
41 |
|
---|
42 | <listitem><para><ulink
|
---|
43 | url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink>
|
---|
44 | </para></listitem></itemizedlist></listitem>
|
---|
45 |
|
---|
46 | <listitem><para><ulink
|
---|
47 | url="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">Parse-RecDescent-&Parse-RecDescent-version;</ulink></para></listitem></itemizedlist>
|
---|
48 |
|
---|
49 | </sect3>
|
---|
50 |
|
---|
51 | </sect2>
|
---|
52 |
|
---|
53 | <sect2>
|
---|
54 | <title>Installation of <application>Perl</application> modules</title>
|
---|
55 |
|
---|
56 | <para>Install <application>Perl</application> modules by running the following
|
---|
57 | commands:</para>
|
---|
58 |
|
---|
59 | <screen><userinput><command>perl Makefile.PL &&
|
---|
60 | make &&
|
---|
61 | make install</command></userinput></screen>
|
---|
62 |
|
---|
63 | <para>The module listed below requires a modification in order to install
|
---|
64 | successfully.</para>
|
---|
65 |
|
---|
66 | <para>Gtk-Perl-&Gtk-Perl-version;:</para>
|
---|
67 |
|
---|
68 | <screen><userinput><command>perl Makefile.PL --without-guessing &&
|
---|
69 | make &&
|
---|
70 | make install</command></userinput></screen>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2><title>(Alternate) Auto installation of <application>Perl</application>
|
---|
75 | modules.</title>
|
---|
76 |
|
---|
77 | <para>There is an alternate way of installing the modules using
|
---|
78 | <application>Perl</application>'s built-in <command>install</command> command.
|
---|
79 | The command automatically downloads the source from the <acronym>CPAN</acronym>archive, extracts it, runs the commands mentioned above, and removes
|
---|
80 | the build tree.</para>
|
---|
81 |
|
---|
82 | <para>Start the perl shell with the commands:</para>
|
---|
83 |
|
---|
84 | <screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
|
---|
85 | <para>Each module may now be installed from this shell with the command:</para>
|
---|
86 | <screen><userinput><command>install <moduleName></command></userinput></screen>
|
---|
87 |
|
---|
88 | <para>For additional commands and help, type <command>help</command>.</para>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | </sect1>
|
---|
93 |
|
---|