source: general/prog/perl-modules.xml@ 34f86ab

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 34f86ab was 34f86ab, checked in by Randy McMurchy <randy@…>, 20 years ago

Updated to Perl module XML-Writer-0.510; removed ldconfig command from GPM instructions

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

  • Property mode set to 100644
File size: 6.0 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 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<!ENTITY LFS-Perl-version "5.8.4">
14
15]>
16
17<sect1 id="perl-modules" xreflabel="Perl modules">
18<?dbhtml filename="perl-modules.html" ?>
19<title>Perl modules</title>
20
21<sect2>
22<title>Introduction to <application>Perl</application> modules</title>
23
24<para>The <application>Perl</application> module packages add useful objects
25to the <application>Perl</application> language. Modules utilized by packages
26throughout <acronym>BLFS</acronym> are listed here, along with their
27dependencies.</para>
28
29<sect3><title><application>Perl</application> Module Packages</title>
30<itemizedlist spacing='compact'>
31<listitem><para><ulink
32url="http://search.cpan.org/CPAN/authors/id/C/CS/CSOE/PDL-&PDL-version;.tar.gz">PDL-&PDL-version;</ulink></para><itemizedlist spacing='compact'>
33
34<listitem><para><ulink
35url="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>
36
37<listitem><para><ulink
38url="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'>
39
40<listitem><para><ulink
41url="http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;.tar.gz">XML-Writer-&XML-Writer-version;</ulink></para></listitem>
42
43<listitem><para><ulink
44url="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">XML-Parser-&XML-Parser-version;</ulink>
45</para></listitem></itemizedlist></listitem>
46
47<listitem><para><ulink
48url="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>
49
50<listitem><para><ulink
51url="http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">SGMLSpm-&SGMLSpm-version;</ulink></para></listitem>
52
53<listitem><para><ulink
54url="http://www.cpan.org/authors/id/N/NI/NI-S/Tk-&Perl-Tk-version;.tar.gz">Tk-&Perl-Tk-version;</ulink></para><itemizedlist spacing='compact'>
55
56<listitem><para><xref linkend="tk"/> and <xref linkend="libjpeg"/></para></listitem></itemizedlist>
57</listitem></itemizedlist>
58
59</sect3>
60
61</sect2>
62
63<sect2>
64<title>Installation of <application>Perl</application> modules</title>
65
66<para>Install <application>Perl</application> modules by running the following
67commands:</para>
68
69<screen><userinput><command>perl Makefile.PL &amp;&amp;
70make &amp;&amp;
71make install</command></userinput></screen>
72
73<para>The modules listed below require modifications to the instructions in
74order to install successfully.</para>
75
76<sect3>
77<title>Gtk-Perl-&Gtk-Perl-version;:</title>
78
79<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
80make &amp;&amp;
81make install</command></userinput></screen></sect3>
82
83<sect3>
84<title>SGMLSpm-&SGMLSpm-version;</title>
85
86<para>If your system's <application>Perl</application> version is different
87than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
88command below to reflect the version you have installed.</para>
89
90<screen><userinput><command>sed -i -e "s@/usr/local/bin@/usr/bin@" \
91 -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
92 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
93 Makefile &amp;&amp;
94make install &amp;&amp;
95install -d -m 755 /usr/share/doc/perl5 &amp;&amp;
96make install_html &amp;&amp;
97rm -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
98install -m 644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</command></userinput></screen>
99</sect3>
100
101</sect2>
102
103<sect2><title>(Alternate) Auto installation of <application>Perl</application>
104modules.</title>
105
106<para>There is an alternate way of installing the modules using
107<application>Perl</application>'s built-in <command>install</command> command.
108The command automatically downloads the source from the <acronym>CPAN</acronym>archive, extracts it, runs the commands mentioned above, and removes
109the build tree.</para>
110
111<para>Start the perl shell with the commands:</para>
112
113<screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
114<para>Each module may now be installed from this shell with the command:</para>
115<screen><userinput><command>install &lt;moduleName&gt;</command></userinput></screen>
116
117<para>For additional commands and help, type <command>help</command>.</para>
118
119</sect2>
120
121</sect1>
122
Note: See TracBrowser for help on using the repository browser.