develooper Front page | perl.perl5.porters | Postings from February 2003

ExtUtils::MakeMaker broken?

Thread Next
From:
Alan Burlison
Date:
February 18, 2003 11:34
Subject:
ExtUtils::MakeMaker broken?
Message ID:
3E528AB8.4030904@sun.com
I have some perl modules that build fine with the ExtUtils::MakeMaker that 
shipped with 5.6.1, but they generate errors with the latest incarnation:

$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Subroutine postamble redefined at ./Makefile.PL line 90.
Writing Makefile for Sun::Solaris::Exacct::Catalog
Subroutine postamble redefined at ./Makefile.PL line 90.
Writing Makefile for Sun::Solaris::Exacct::File
Subroutine postamble redefined at ./Makefile.PL line 94.
Writing Makefile for Sun::Solaris::Exacct::Object
Writing Makefile for Sun::Solaris::Exacct

Each of the sub-Makefile.PL's (e.g. Catalog/Makefile.PL) redefines 
MY::preamble, which as far as I know is perfectly valid thing to do.  In 
that case, why the warnings?  As I said, this works fine with the 
ExtUtils::MakeMaker shipped with perl 5.6.1, it is just the latest CPAN 
version that barfs.  I haven't narrowed down exactly which version this 
first appeared in, as I'm not sure if it is my fault or MakeMakers fault.

-- 
Alan Burlison
--


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About