Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to specify required XML::SAX features in Makefile.PL

by Khen1950fx (Canon)
on Jan 17, 2012 at 20:04 UTC ( [id://948396]=note: print w/replies, xml ) Need Help??


in reply to How to specify required XML::SAX features in Makefile.PL

Some good news: I got your module to install, and all the tests passed. The problem was with XML::SAX::ParserFactory. It must be listed in PREREQ_PM in addition to XML::SAX. You had XML::SAX 0.96, but you also need XML::SAX::ParserFactory 1.01.

Here's the modified Makefile:
use 5.005; use strict; use ExtUtils::MakeMaker; &WriteMakefile( NAME => 'PICA::Record', DISTNAME => 'PICA-Record', VERSION_FROM => 'lib/PICA/Record.pm', ABSTRACT_FROM => 'lib/PICA/Record.pm', PMLIBDIRS => [ qw( lib/ ) ], AUTHOR => 'Jakob Voss <jakob.voss@gbv.de>', PREREQ_PM => { 'LWP::Simple' => '1.0', 'URI::Escape' => '1.35', 'SOAP::Lite' => '0.71', 'Scalar::Util' => '1.14', 'Config::Simple' => '4.58', 'PerlIO' => '1.0', 'IO::File' => '1.11', 'IO::Scalar' => '1.126', 'Encode' => '2.33', 'XML::SAX' => '0.96', 'XML::SAX::ParserFactory' => '1.01', 'XML::Writer' => '0.605', 'DBI' => '1.0', 'DBD::SQLite' => '1.23', 'Unicode::Normalize' => '0.23', 'String::Escape' => '0', }, EXE_FILES => [ 'script/parsepica', 'script/picaimport', 'script/winibw2pica', ], dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, depend => { Makefile => '$(VERSION_FROM)' }, clean => { FILES => 'PICA-Record-*' }, );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://948396]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-05-30 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.