glfs/general/prog/perl-modules.xml
Bruce Dubbs 52d29f7a42 XML Updates to Part III from DJ
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2304 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-12 22:56:28 +00:00

94 lines
4.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY Gtk-Perl-version "0.7009">
<!ENTITY PDL-version "2.4.0">
<!ENTITY XML-Parser-version "2.34">
<!ENTITY XML-Writer-version "0.4.1">
<!ENTITY Astro-FITS-Header-version "2.8.1">
<!ENTITY Parse-RecDescent-version "1.94">
]>
<sect1 id="perl-modules" xreflabel="Perl modules">
<?dbhtml filename="perl-modules.html" ?>
<title>Perl modules</title>
<sect2>
<title>Introduction to <application>Perl</application> modules</title>
<para>The <application>Perl</application> module packages add useful objects
to the <application>Perl</application> language. Modules utilized by packages
throughout <acronym>BLFS</acronym> are listed here, along with their
dependencies.</para>
<sect3><title>Perl Packages</title>
<itemizedlist spacing='compact'>
<listitem><para><ulink
url="http://search.cpan.org/CPAN/authors/id/C/CS/CSOE/PDL-&PDL-version;.tar.gz">PDL-&PDL-version;</ulink></para><itemizedlist spacing='compact'>
<listitem><para><ulink
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>
<listitem><para><ulink
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'>
<listitem><para><ulink
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>
<listitem><para><ulink
url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink>
</para></listitem></itemizedlist></listitem>
<listitem><para><ulink
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>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Perl</application> modules</title>
<para>Install <application>Perl</application> modules by running the following
commands:</para>
<screen><userinput><command>perl Makefile.PL &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
<para>The module listed below requires a modification in order to install
successfully.</para>
<para>Gtk-Perl-&Gtk-Perl-version;:</para>
<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2><title>(Alternate) Auto installation of <application>Perl</application>
modules.</title>
<para>There is an alternate way of installing the modules using
<application>Perl</application>'s built-in <command>install</command> command.
The command automatically downloads the source from the <acronym>CPAN</acronym>archive, extracts it, runs the commands mentioned above, and removes
the build tree.</para>
<para>Start the perl shell with the commands:</para>
<screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
<para>Each module may now be installed from this shell with the command:</para>
<screen><userinput><command>install &lt;moduleName&gt;</command></userinput></screen>
<para>For additional commands and help, type <command>help</command>.</para>
</sect2>
</sect1>