source: general/prog/perl-modules.xml@ 880b7ab

10.0 10.1 11.0 11.1 7.10 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 qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 880b7ab was 880b7ab, checked in by Pierre Labastie <pieere@…>, 8 years ago

Typo

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

  • Property mode set to 100644
File size: 33.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY perl_modules_md5sums_download_http "&sources-anduin-http;/perl-modules/">
8 <!ENTITY perl_modules_md5sums_download_ftp "&sources-anduin-ftp;/perl-modules/">
9]>
10
11<sect1 id="perl-modules" xreflabel="Perl modules">
12 <?dbhtml filename="perl-modules.html" ?>
13
14 <sect1info>
15 <othername>$LastChangedBy$</othername>
16 <date>$Date$</date>
17 </sect1info>
18
19 <title>Perl Modules</title>
20
21 <indexterm zone="perl-modules">
22 <primary sortas="a-Perl-modules">Perl modules</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Perl Modules</title>
27
28 <para>The <application>Perl</application> module packages add useful
29 objects to the <application>Perl</application> language. Modules utilized
30 by packages throughout BLFS are listed here, along with their dependencies.
31 Installation of the modules shown on this page should be accomplished by
32 installing the dependencies in the order listed. The Perl Module standard
33 build and installation instructions are shown at the bottom of this page.
34 </para>
35
36 <!-- <itemizedlist spacing="compact">
37 <listitem>
38 <para>Download MD5 sums (HTTP):
39 <ulink url="&perl_modules_md5sums_download_http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download MD5 sums (FTP):
43 <ulink url="&perl_modules_md5sums_download_ftp;"/></para>
44 </listitem>
45 </itemizedlist> -->
46
47 <!-- Archive::Zip -->
48 <bridgehead renderas="sect3" id="perl-archive-zip"
49 xreflabel="Archive::Zip-&Archive-Zip-version;">
50 Archive::Zip-&Archive-Zip-version;</bridgehead>
51
52 <indexterm zone="perl-modules perl-archive-zip">
53 <primary sortas="a-Archive-Zip">Archive::Zip</primary>
54 </indexterm>
55
56 <para>The Archive::Zip module allows a <application>Perl</application>
57 program to create, manipulate, read, and write Zip archive files. This
58 module uses the standard <xref linkend="perl-standard-install"/>.</para>
59
60 &lfs75_checked;
61
62 <itemizedlist>
63 <listitem><literallayout><ulink url="http://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz">Archive::Zip-&Archive-Zip-version;</ulink>
64http://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz
65MD5 sum: e804985def2c1f0ed640ab4ca6aa85a1</literallayout>
66 </listitem>
67 </itemizedlist>
68
69<!-- <!- Glib ->
70 <bridgehead renderas="sect3" id="perl-glib"
71 xreflabel="Glib-&Glib-perl-version;">
72 Glib-&Glib-perl-version;</bridgehead>
73
74 <indexterm zone="perl-modules perl-glib">
75 <primary sortas="a-Glib">Glib</primary>
76 </indexterm>
77
78 <para>
79 This module is a <application>Perl</application> wrapper around
80 <application>GLib</application> that attempts to provide a perlish
81 interface while remaining as true as possible to the underlying C API, so
82 that any reference materials you can find on using GLib may still apply to
83 using the libraries from Perl. This module and the dependency modules use
84 the standard <xref linkend="perl-standard-install"/>.
85 </para>
86
87 &lfs7 4_checked;
88
89 <itemizedlist>
90 <listitem>
91 <para>
92 <ulink url="http://www.cpan.org/authors/id/T/TS/TSCH/Glib-&Glib-perl-version;.tar.gz">
93 Glib-&Glib-perl-version;</ulink> (MD5 sum: 1d81a8aec5f7f1182a96cfaaf119d866)
94 </para>
95 <itemizedlist>
96 <listitem>
97 <para>
98 <ulink url="http://search.cpan.org/~xaoc/ExtUtils-PkgConfig/">ExtUtils::PkgConfig</ulink>
99 </para>
100 <itemizedlist>
101 <listitem>
102 <para>
103 <ulink url="http://search.cpan.org/~flora/ExtUtils-Depends/">ExtUtils::Depends</ulink>
104 </para>
105 </listitem>
106 </itemizedlist>
107 </listitem>
108 </itemizedlist>
109 </listitem>
110 </itemizedlist>
111-->
112 <!-- HTML::Parser -->
113 <bridgehead renderas="sect3" id="perl-html-parser"
114 xreflabel="HTML::Parser-&HTML-Parser-version;">
115 HTML::Parser-&HTML-Parser-version;</bridgehead>
116
117 <indexterm zone="perl-modules perl-html-parser">
118 <primary sortas="a-HTML-Parser">HTML::Parser</primary>
119 </indexterm>
120
121 <para>The HTML::Parser distribution is a collection of modules that parse
122 and extract information from HTML documents. This module and the dependency
123 modules use the standard
124 <xref linkend="perl-standard-install"/>.</para>
125
126 &lfs75_checked;
127
128 <itemizedlist>
129 <listitem><literallayout><ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">HTML::Parser-&HTML-Parser-version;</ulink>
130http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz
131MD5 sum: 9128a45893097dfa3bf03301b19c5efe</literallayout>
132 <itemizedlist>
133 <listitem><literallayout><ulink url="http://search.cpan.org/~petdance/HTML-Tagset/">HTML::Tagset</ulink>
134(http://search.cpan.org/~petdance/HTML-Tagset/)</literallayout>
135 </listitem>
136 <listitem>
137 <para>
138 <xref linkend="perl-lwp"/> (circular; howevever, it can
139 be installed after HTML::Parser as it is only a run-time
140 requirement for the included HTML::HeadParser module)
141 </para>
142 </listitem>
143 </itemizedlist>
144 </listitem>
145 </itemizedlist>
146
147 <!-- HTML::TableExtract
148 <bridgehead renderas="sect3" id="perl-html-tableextract"
149 xreflabel="HTML::TableExtract-&HTML-TableExtract-version;">
150 HTML::TableExtract-&HTML-TableExtract-version;</bridgehead>
151
152 <indexterm zone="perl-modules perl-html-tableextract">
153 <primary sortas="a-HTML-TableExtract">HTML::TableExtract</primary>
154 </indexterm>
155
156 <para>HTML::TableExtract is a module that simplifies the extraction of the
157 content contained in tables within HTML documents, extracted either as
158 text or encoded element trees. Tables of note may be specified using
159 Headers, Depth, Count, Attributes, or some combination of the four. This
160 module and dependency modules use the standard
161 <xref linkend="perl-standard-install"/>.</para>
162
163 <itemizedlist>
164 <listitem>
165 <para>
166 <ulink url="http://cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
167 HTML::TableExtract-&HTML-TableExtract-version;</ulink> (MD5sum: ac1b8fa092d53931a9f3fdbba330f5b0)
168 </para>
169 <itemizedlist>
170 <listitem>
171 <para>
172 <ulink url="http://search.cpan.org/~msisk/HTML-Element-Extended/">HTML::Element::Extended</ulink>
173 </para>
174 <itemizedlist>
175 <listitem>
176 <para>
177 <ulink url="http://search.cpan.org/~cjm/HTML-Tree/">HTML::Tree</ulink>
178 </para>
179 <itemizedlist>
180 <listitem>
181 <para>
182 <xref linkend="perl-html-parser"/>
183 </para>
184 </listitem>
185 <listitem>
186 <para>
187 <ulink url="http://search.cpan.org/dist/Test-Fatal/">Test::Fatal</ulink>
188 (optionally used in the test suite)
189 </para>
190 <itemizedlist>
191 <listitem>
192 <para>
193 <ulink url="http://search.cpan.org/~doy/Try-Tiny/">Try::Tiny</ulink>
194 </para>
195 </listitem>
196 </itemizedlist>
197 </listitem>
198 </itemizedlist>
199 </listitem>
200 </itemizedlist>
201 </listitem>
202 </itemizedlist>
203 </listitem>
204 </itemizedlist> -->
205
206 <!-- LWP -->
207 <bridgehead renderas="sect3" id="perl-lwp"
208 xreflabel="libwww-perl-&LWP-version;">
209 libwww-perl-&LWP-version; (a.k.a. LWP)</bridgehead>
210
211 <indexterm zone="perl-modules perl-lwp">
212 <primary sortas="a-libwww-perl">libwww-perl</primary>
213 </indexterm>
214
215 <para>The libwww-perl (LWP) collection is a set of
216 <application>Perl</application> modules which provide a simple and
217 consistent application programming interface to the World-Wide Web. The
218 main focus of the library is to provide classes and functions that allow
219 you to write WWW clients. The library also contains modules that are of
220 more general use and even classes that help you implement simple HTTP
221 servers. The LWP collection and all its dependency modules use the standard
222 <xref linkend="perl-standard-install"/>. The dependencies should be
223 installed in the order listed below. Ensure you install the dependency
224 chain for each module before installing the modules.</para>
225
226 &lfs75_checked;
227
228 <itemizedlist>
229 <listitem><literallayout><ulink url="http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">libwww-perl-&LWP-version;</ulink>
230http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz
231MD5 sum: 637d5f1eb61336ca2caa6e026b382f87) </literallayout>
232 <itemizedlist>
233 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/Encode-Locale/">Encode::Locale</ulink>
234(http://search.cpan.org/~gaas/Encode-Locale/) </literallayout>
235 </listitem>
236 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTML-Form/">HTML::Form</ulink>
237(http://search.cpan.org/~gaas/HTML-Form/)
238
239</literallayout>
240 <itemizedlist>
241 <listitem>
242 <para>
243 <xref linkend="perl-uri"/>
244 </para>
245 </listitem>
246 <listitem>
247 <para>
248 <xref linkend="perl-html-parser"/>
249 </para>
250 </listitem>
251 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Message/">HTTP::Message</ulink>
252(http://search.cpan.org/~gaas/HTTP-Message/)
253
254</literallayout>
255 <itemizedlist> <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Date/">HTTP::Date</ulink>
256(http://search.cpan.org/~gaas/HTTP-Date/) </literallayout>
257 </listitem>
258 <listitem> <literallayout> <ulink url="http://search.cpan.org/~cjm/IO-HTML/">IO::HTML</ulink>
259(http://search.cpan.org/~cjm/IO-HTML/) </literallayout>
260 </listitem>
261 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/LWP-MediaTypes/">LWP::MediaTypes</ulink>
262(http://search.cpan.org/~gaas/LWP-MediaTypes/") </literallayout>
263 </listitem>
264 </itemizedlist>
265 </listitem>
266 </itemizedlist>
267 </listitem>
268 <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Cookies/">HTTP::Cookies</ulink>
269(http://search.cpan.org/~gaas/HTTP-Cookies/)</literallayout>
270 </listitem>
271 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Negotiate/">HTTP::Negotiate</ulink>
272(http://search.cpan.org/~gaas/HTTP-Negotiate/) </literallayout>
273 </listitem>
274 <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/Net-HTTP/">Net::HTTP</ulink>
275(http://search.cpan.org/~gaas/Net-HTTP/)</literallayout>
276 </listitem>
277 <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/WWW-RobotRules/">WWW::RobotRules</ulink>
278(http://search.cpan.org/~gaas/WWW-RobotRules/)</literallayout>
279</listitem>
280 <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Daemon/">HTTP::Daemon</ulink>
281(http://search.cpan.org/~gaas/HTTP-Daemon/)</literallayout>
282 </listitem>
283 <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/File-Listing/">File::Listing</ulink>
284(http://search.cpan.org/~gaas/File-Listing/)</literallayout>
285 </listitem>
286 </itemizedlist>
287 </listitem>
288 </itemizedlist>
289
290 <para>After the LWP installation, if you want HTTPS protocol support,
291 install the following (application and modules):</para>
292
293 <itemizedlist>
294 <listitem>
295 <para>
296 <xref linkend="openssl"/>
297 </para>
298 </listitem>
299 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/LWP-Protocol-https/">LWP::Protocol::https</ulink>
300(http://search.cpan.org/~gaas/LWP-Protocol-https/) </literallayout>
301 <itemizedlist>
302 <listitem> <literallayout><ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>
303(http://search.cpan.org/~behroozi/IO-Socket-SSL/)
304
305</literallayout>
306 <itemizedlist>
307 <listitem> <literallayout><ulink url="http://search.cpan.org/dist/Net-SSLeay/">Net::SSLeay</ulink>
308(http://search.cpan.org/dist/Net-SSLeay/)</literallayout>
309 </listitem>
310 </itemizedlist>
311 </listitem>
312 <listitem> <literallayout><ulink url="http://search.cpan.org/~abh/Mozilla-CA/">Mozilla::CA</ulink>
313(http://search.cpan.org/~abh/Mozilla-CA/) </literallayout>
314 </listitem>
315 </itemizedlist>
316 </listitem>
317 </itemizedlist>
318
319
320 <!-- Module::Info
321 <bridgehead renderas="sect3" id="perl-module-info"
322 xreflabel="Module::Info-&Module-Info-version;">
323 Module::Info-&Module-Info-version;</bridgehead>
324
325 <indexterm zone="perl-modules perl-module-info">
326 <primary sortas="a-Module-Info">Module::Info</primary>
327 </indexterm>
328
329 <para>The Module::Info module is quite useful for tasks other than just
330 support of other modules. It can be used from the command-line to tell you
331 if a particular module is included in, or has been installed into your
332 <application>Perl</application> installation. Additionally, Module::Info
333 can tell you what version of a module is installed and what dependencies
334 are required for it. You can even use Module::Info to gather dependencies
335 of uninstalled modules. The Module::Info module and dependencies install
336 using the standard <application>Perl</application> module
337 <xref linkend="perl-standard-install"/>.</para>
338
339 <itemizedlist>
340 <listitem>
341 <para>
342 <ulink url="http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
343 Module-Info-&Module-Info-version;</ulink>
344 </para>
345 </listitem>
346 </itemizedlist>
347 -->
348
349 <!-- Module::Signature
350 <bridgehead renderas="sect3" id="perl-module-signature"
351 xreflabel="Module::Signature-&Module-Signature-version;">
352 Module::Signature-&Module-Signature-version;</bridgehead>
353
354 <indexterm zone="perl-modules perl-module-signature">
355 <primary sortas="a-Module-Signature">Module::Signature</primary>
356 </indexterm>
357
358 <para>The Module::Signature module is used to check and create
359 <filename>SIGNATURE</filename> files for CPAN distributions. After
360 installing Module::Signature you can verify the content of a distribution
361 tarball (if it includes a <filename>SIGNATURE</filename> file) by unpacking
362 the tarball, changing into the newly created directory and issuing the
363 command <command>cpansign -v</command>. It will check each file's
364 integrity, as well as the signature's validity. Note that some of the
365 dependencies appear to be circular, however, they are only run-time
366 conflicts and you should be able to fully utilize them as long as
367 everything is installed. Module::Signature and the dependency modules are
368 installed using the standard <application>Perl</application>
369 module <xref linkend="perl-standard-install"/>.</para>
370
371 <itemizedlist>
372 <listitem>
373 <para>
374 <ulink url="http://cpan.org/authors/id/A/AU/AUDREYT/Module-Signature-&Module-Signature-version;.tar.gz">
375 Module-Signature-&Module-Signature-version;</ulink>
376 </para>
377 <itemizedlist>
378 <listitem>
379 <para>
380 <xref linkend="perl-text-diff"/>
381 </para>
382 </listitem>
383 <listitem>
384 <para>
385 <ulink url="http://cpan.org/authors/id/S/SM/SMUELLER/PAR-Dist-&PAR-Dist-version;.tar.gz">
386 PAR-Dist-&PAR-Dist-version;</ulink>
387 </para>
388 <itemizedlist>
389 <listitem>
390 <para>
391 <xref linkend="perl-archive-zip"/>
392 </para>
393 </listitem>
394 <listitem>
395 <para>
396 <xref linkend="perl-lwp"/>
397 </para>
398 </listitem>
399 <listitem>
400 <para>
401 <xref linkend="perl-module-signature"/>
402 </para>
403 </listitem>
404 </itemizedlist>
405 </listitem>
406 <listitem>
407 <para>
408 <xref linkend="gnupg"/>
409 </para>
410 </listitem>
411 </itemizedlist>
412 </listitem>
413 </itemizedlist>
414 -->
415
416 <!-- Net::DNS -->
417 <bridgehead renderas="sect3" id="perl-net-dns"
418 xreflabel="Net::DNS-&Net-DNS-version;">
419 Net::DNS-&Net-DNS-version;</bridgehead>
420
421 <indexterm zone="perl-modules perl-net-dns">
422 <primary sortas="a-Net-DNS">Net::DNS</primary>
423 </indexterm>
424
425 <para>Net::DNS is a DNS resolver implemented in
426 <application>Perl</application>. It can be used to perform nearly any type
427 of DNS query from a <application>Perl</application> script. The Net::DNS
428 module and all its dependencies are installed using the standard
429 <xref linkend="perl-standard-install"/>.</para>
430
431 &lfs75_checked;
432
433 <itemizedlist>
434 <listitem> <literallayout><ulink url="http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz">Net::DNS-&Net-DNS-version;</ulink>
435http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz
436MD5 sum: 219dada09d01b7233f82fd1c32ddad39
437
438</literallayout>
439 <itemizedlist>
440 <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/Digest-HMAC/">Digest::HMAC</ulink>
441(http://search.cpan.org/~gaas/Digest-HMAC/) </literallayout>
442 </listitem>
443 <listitem> <literallayout><ulink url="http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/">IO::Socket::INET6</ulink>
444(http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/) </literallayout>
445 </listitem>
446 <listitem> <literallayout><ulink url="http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm">IO::Socket::INET</ulink>
447(http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm) (required for IPv6 support)
448
449</literallayout>
450 <itemizedlist>
451 <listitem> <literallayout><ulink url="http://search.cpan.org/~umemoto/Socket6/">Socket6</ulink>
452(http://search.cpan.org/~umemoto/Socket6/)</literallayout>
453 </listitem>
454 </itemizedlist>
455 </listitem>
456 </itemizedlist>
457 </listitem>
458 </itemizedlist>
459
460 <!-- SGMLSpm -->
461 <bridgehead renderas="sect3" id="perl-sgmlspm"
462 xreflabel="SGMLSpm-&SGMLSpm-version;">
463 SGMLSpm-&SGMLSpm-version;</bridgehead>
464
465 <indexterm zone="perl-modules perl-sgmlspm">
466 <primary sortas="a-SGMLSpm">SGMLSpm</primary>
467 </indexterm>
468
469 <para>The SGMLSpm module is a <application>Perl</application> library
470 used for parsing the output from James Clark's SGMLS and NSGMLS
471 parsers. This modules uses the standard
472 <xref linkend="perl-standard-install"/>.</para>
473
474 &lfs75_checked;
475
476 <para> Before beginning the build, issue
477 the following command to prevent an error:</para>
478
479<screen><userinput>chmod -v 644 MYMETA.yml</userinput></screen>
480
481 <para>
482 After installed, as the <systemitem class="username">root</systemitem>
483 user:
484 </para>
485
486<screen role="root"><userinput>ln -sv sgmlspl.pl /usr/bin/sgmlspl</userinput></screen>
487
488 <itemizedlist>
489 <listitem> <literallayout><ulink url="http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz">SGMLSpm-&SGMLSpm-version;</ulink>
490http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz
491MD5 sum: 746c74ae969992cedb1a2879b4168090 </literallayout>
492<!--http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-&SGMLSpm-version;.tar.gz -->
493 </listitem>
494 </itemizedlist>
495
496 <!-- Text::Diff
497 <bridgehead renderas="sect3" id="perl-text-diff"
498 xreflabel="Text::Diff-&Text-Diff-version;">
499 Text::Diff-&Text-Diff-version;</bridgehead>
500
501 <indexterm zone="perl-modules perl-text-diff">
502 <primary sortas="a-Text-Diff">Text::Diff</primary>
503 </indexterm>
504
505 <para>Text::Diff is used to perform diffs on files and record sets. It
506 provides a basic set of services akin to the GNU <command>diff</command>
507 utility. It is not anywhere near as feature complete as GNU
508 <command>diff</command>, but it is better integrated with
509 <application>Perl</application> and available on all platforms. Text::Diff
510 is often faster than shelling out to a system's <command>diff</command>
511 executable for small files, and generally slower on larger files. The
512 modules listed below are installed using the standard
513 <application>Perl</application> module
514 <xref linkend="perl-standard-install"/>.</para>
515
516 <itemizedlist>
517 <listitem>
518 <para>
519 <ulink url="http://cpan.org/authors/id/R/RB/RBS/Text-Diff-&Text-Diff-version;.tar.gz">
520 Text-Diff-&Text-Diff-version;</ulink></para>
521 <itemizedlist>
522 <listitem>
523 <para>
524 <ulink url="http://cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-&Algorithm-Diff-version;.tar.gz">
525 Algorithm-Diff-&Algorithm-Diff-version;</ulink></para>
526 </listitem>
527 </itemizedlist>
528 </listitem>
529 </itemizedlist>
530 -->
531
532 <!-- Tk
533 <bridgehead renderas="sect3" id="tk-perl"
534 xreflabel="Tk-Perl-&Tk-Perl-version;">
535 Tk-&Tk-Perl-version;</bridgehead>
536
537 <indexterm zone="perl-modules tk-perl">
538 <primary sortas="a-Tk">Tk</primary>
539 </indexterm>
540
541 <para>The <application>Tk</application> module is a
542 <application>Perl</application> interface to the
543 <application>Tk</application> package. The goal of this release is Unicode
544 support via <application>Perl</application>'s and
545 core-<application>Tk</application>'s use of UTF-8. Tk-&Tk-Perl-version;
546 builds and loads into a threaded <application>Perl</application> but is NOT
547 yet thread safe. The module is installed using the standard
548 <application>Perl</application> module
549 <xref linkend="perl-standard-install"/>.</para>
550
551 <itemizedlist>
552 <listitem>
553 <para>
554 <ulink url="http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-&Tk-Perl-version;.tar.gz">
555 Tk-&Tk-Perl-version;</ulink></para>
556 <itemizedlist>
557 <listitem>
558 <para>
559 <xref linkend="tk"/> and <xref linkend="libjpeg"/>
560 </para>
561 </listitem>
562 </itemizedlist>
563 </listitem>
564 </itemizedlist>
565 -->
566
567 <!-- URI -->
568 <bridgehead renderas="sect3" id="perl-uri"
569 xreflabel="URI-&URI-version;">
570 URI-&URI-version;</bridgehead>
571
572 <indexterm zone="perl-modules perl-uri">
573 <primary sortas="a-URI">URI</primary>
574 </indexterm>
575
576 <para>
577 This module implements the URI class. Objects of this class represent
578 "Uniform Resource Identifier references" as specified in RFC 2396 (and
579 updated by RFC 2732). A Uniform Resource Identifier is a compact string of
580 characters that identifies an abstract or physical resource. A Uniform
581 Resource Identifier can be further classified as either a Uniform Resource
582 Locator (URL) or a Uniform Resource Name (URN). The distinction between
583 URL and URN does not matter to the URI class interface. A "URI-reference"
584 is a URI that may have additional information attached in the form of a
585 fragment identifier. This module uses the standard
586 <xref linkend="perl-standard-install"/>.
587 </para>
588
589 &lfs75_checked;
590
591 <itemizedlist>
592 <listitem> <literallayout><ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">URI-&URI-version;</ulink>
593http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz
594MD5 sum: 70f739be8ce28b8baba7c5920ffee4dc </literallayout>
595 </listitem>
596 </itemizedlist>
597
598 <!-- XML::Parser -->
599<!-- <bridgehead renderas="sect3" id="perl-xml-parser"
600 xreflabel="XML::Parser-&XML-Parser-version;">
601 XML::Parser-&XML-Parser-version;</bridgehead>
602
603 <indexterm zone="perl-modules perl-xml-parser">
604 <primary sortas="a-XML-Parser">XML::Parser</primary>
605 </indexterm>
606
607 <para>The XML::Parser module is a <application>Perl</application> extension
608 interface to James Clark's XML parser,
609 <application>expat</application>. The module uses the standard
610 <xref linkend="perl-standard-install"/>.</para>
611
612 &lfs75_checked;
613
614 <itemizedlist>
615 <listitem> <literallayout><ulink url="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz">XML::Parser-&XML-Parser-version;</ulink>
616http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz
617MD5 sum: c320d2ffa459e6cdc6f9f59c1185855e) </literallayout>
618 <itemizedlist>
619 <!-<listitem>
620 <para>
621 <xref linkend="expat"/>
622 </para>
623 </listitem> ->
624 <listitem>
625 <para>
626 <xref linkend="perl-lwp"/> (optionally used in the test suite)
627 </para>
628 </listitem>
629 </itemizedlist>
630
631 </listitem>
632 </itemizedlist>-->
633
634 <!-- XML::Simple -->
635 <bridgehead renderas="sect3" id="perl-xml-simple"
636 xreflabel="XML::Simple-&XML-Simple-version;">
637 XML::Simple-&XML-Simple-version;</bridgehead>
638
639 <indexterm zone="perl-modules perl-xml-simple">
640 <primary sortas="a-XML-Simple">XML::Simple</primary>
641 </indexterm>
642
643 <para>The XML::Simple module is a <application>Perl</application> extension
644 that provides an easy API to read and write XML (especially config files).
645 This module and all dependency modules use the standard
646 <xref linkend="perl-standard-install"/>.</para>
647
648 &lfs75_checked;
649
650 <itemizedlist>
651 <listitem> <literallayout><ulink url="http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz">XML::Simple-&XML-Simple-version;</ulink>
652http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz
653MD5 sum: 4d10964e123b76eca36678464daa63cd </literallayout>
654 <itemizedlist>
655 <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX/">XML::SAX</ulink>
656(http://search.cpan.org/~grantm/XML-SAX/)
657(Note: this package does not support parallel build)
658
659</literallayout>
660 <itemizedlist>
661 <listitem> <literallayout><ulink url="http://search.cpan.org/~perigrin/XML-NamespaceSupport/">XML::NamespaceSupport</ulink>
662(http://search.cpan.org/~perigrin/XML-NamespaceSupport/) </literallayout>
663 </listitem>
664 <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX-Base/">XML::SAX::Base</ulink>
665(http://search.cpan.org/~grantm/XML-SAX-Base/) </literallayout>
666 </listitem>
667 </itemizedlist>
668 </listitem>
669 <listitem> <literallayout><ulink url="http://search.cpan.org/~bjoern/XML-SAX-Expat/">XML::SAX::Expat</ulink>
670(http://search.cpan.org/~bjoern/XML-SAX-Expat/)
671(Note: this package does not support parallel build)
672
673</literallayout>
674<!-- <itemizedlist>
675 <listitem>
676 <para>
677 <xref linkend="perl-xml-parser"/>
678 </para>
679 </listitem>
680 </itemizedlist>-->
681 </listitem>
682 <listitem> <literallayout id="perl-xml-libxml"><ulink url="http://search.cpan.org/~shlomif/XML-LibXML/">XML::LibXML</ulink>
683(http://search.cpan.org/~shlomif/XML-LibXML/)
684(recommended for faster parsing) </literallayout>
685 </listitem>
686 <listitem> <literallayout><ulink url="http://search.cpan.org/~chorny/Tie-IxHash/">Tie::IxHash</ulink>
687(http://search.cpan.org/~chorny/Tie-IxHash/)
688(optionally used in the test suite) </literallayout>
689 </listitem>
690 </itemizedlist>
691 </listitem>
692 </itemizedlist>
693
694 <!-- YAML
695 <bridgehead renderas="sect3" id="perl-yaml"
696 xreflabel="YAML-&YAML-version;">
697 YAML-&YAML-version;</bridgehead>
698
699 <indexterm zone="perl-modules perl-yaml">
700 <primary sortas="a-YAML">YAML</primary>
701 </indexterm>
702
703 <para>The <application>YAML</application> modules implement a
704 <application>YAML</application> Loader and Dumper based on the
705 <application>YAML</application> 1.0 specification
706 <ulink url="http://www.yaml.org/spec/"/>.
707 <application>YAML</application> is a generic data serialization language
708 that is optimized for human readability. It can be used to express the data
709 structures of most modern programming languages. The module and
710 dependencies are installed using the standard
711 <application>Perl</application> module
712 <xref linkend="perl-standard-install"/>.</para>
713
714 <note>
715 <para>The <application>YAML</application>,
716 <application>Test::Base</application> and
717 <application>Spiffy</application> modules will install UTF-8
718 encoded manual pages. To modify the manual pages so that non-UTF-8
719 encoded pages are installed, issue the following commands (before
720 any other build commands):</para>
721
722<screen><literal>For <application>Spiffy</application>: <command>sed -i 's,\xc3\xb6,o,' lib/Spiffy.pm</command>
723
724For <application>Test::Base</application>: <command>sed -i 's,\xc3\xb6,o,' \
725 lib/Test/Base{,/Filter}.pm \
726 lib/Module/Install/TestBase.pm</command>
727
728For <application>YAML</application>: <command>sed -i 's,\xc3\xb6,o,' \
729 ysh \
730 lib{,/Test}/YAML.pm \
731 lib/YAML/{Types,Node,Error,Marshall,Tag,Base}.pm \
732 lib/YAML/{Loader,Dumper}{,/Base}.pm</command></literal></screen>
733
734 </note>
735
736 <itemizedlist>
737 <listitem>
738 <para>
739 <ulink url="http://cpan.org/authors/id/I/IN/INGY/YAML-&YAML-version;.tar.gz">
740 YAML-&YAML-version;</ulink></para>
741 <itemizedlist>
742 <listitem>
743 <para>
744 <ulink url="http://cpan.org/authors/id/I/IN/INGY/Test-Base-&Test-Base-version;.tar.gz">
745 Test-Base-&Test-Base-version;</ulink>
746 (optionally used during the tests)
747 </para>
748 <itemizedlist>
749 <listitem>
750 <para
751 <ulink url="http://cpan.org/authors/id/I/IN/INGY/Spiffy-&Spiffy-version;.tar.gz">
752 Spiffy-&Spiffy-version;</ulink></para>
753 </listitem>
754 </itemizedlist>
755 </listitem>
756 <listitem>
757 <para>
758 <xref linkend="perl-text-diff"/>
759 (optionally used during the tests)
760 </para>
761 </listitem>
762 </itemizedlist>
763 </listitem>
764 </itemizedlist>
765 -->
766
767 </sect2>
768
769 <sect2 role="installation" id="perl-standard-install"
770 xreflabel="build and installation instructions">
771 <title>Standard Installation of Perl Modules</title>
772
773 <para>Install <application>Perl</application> modules by running the
774 following commands:</para>
775
776<screen><userinput>perl Makefile.PL &amp;&amp;
777make &amp;&amp;
778make test</userinput></screen>
779
780 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
781
782<screen role="root"><userinput>make install</userinput></screen>
783
784 <note>
785 <para>When reinstalling a <application>Perl</application> module,
786 sometimes older versions of the module being reinstalled are in other
787 directories specified in <parameter>@INC</parameter>. To delete all
788 other versions of the module being reinstalled (not simply older ones)
789 set the <varname>UNINST</varname> variable:</para>
790
791<screen><userinput>make install UNINST=1</userinput></screen>
792 </note>
793
794 </sect2>
795
796 <sect2 role="installation" id="perl-auto-install"
797 xreflabel="alternate auto installation instructions">
798 <title>(Alternate) Auto Installation of Perl Modules.</title>
799
800 <para>There is an alternate way of installing the modules using the
801 <command>cpan</command> shell <command>install</command> command. The
802 command automatically downloads the source from the CPAN archive, extracts
803 it, runs the compilation, testing and installation commands mentioned
804 above, and removes the build source tree. You may still need to install
805 dependent library packages before running the automated installation
806 method.</para>
807
808 <para>The first time you run <command>cpan</command>, you'll be prompted
809 to enter some information regarding download locations and methods. This
810 information is retained in files located in
811 <filename class='directory'>~/.cpan</filename>. Start the
812 <command>cpan</command> shell by issuing '<command>cpan</command>' as the
813 <systemitem class="username">root</systemitem> user. Any module may now be
814 installed from the
815 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
816 prompt with the command:</para>
817
818<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
819
820 <para>For additional commands and help, issue '<command>help</command>'
821 from the
822 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
823 prompt.</para>
824
825 <para>Alternatively, for scripted or non-interactive installations, use the
826 following syntax as the
827 <systemitem class="username">root</systemitem> user to install one or more
828 modules:</para>
829
830<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
831
832 <para>Review the <filename>cpan.1</filename> man page for additional
833 parameters you can pass to <command>cpan</command> on the command
834 line.</para>
835
836 </sect2>
837
838</sect1>
Note: See TracBrowser for help on using the repository browser.