Alain Barbet wrote:
Matt Sergeant wrote:

Is something broken here? In the Makefile.PL it has both POE and PoCoIRC...

Yes it seems a bug of CPAN+. The only thing I see is 2 prereq on the same line.
I will look at this and give you feedback, thanks.

use ExtUtils::MakeMaker;
WriteMakefile(
    'NAME' => 'POE::Component::IRC::Object',
    'VERSION_FROM' => 'lib/POE/Component/IRC/Object.pm',
    'PREREQ_PM' => { POE::Component::IRC => 0, POE => 0.20 },
    'ABSTRACT_FROM' => 'lib/POE/Component/IRC/Object.pm',
    'AUTHOR' => 'Matt Sergeant <[EMAIL PROTECTED]>',
);
we dont care about what it says in the Makefile.PL but what it says in the generated Makefile (with a regex that comes straight from ExtUtils::MakeMaker itself) regarding prereqs..
you can test it in the shell by typing:

! print Dumper $cpan->module_tree->{'POE::Component::IRC::Object'}

check for the key 'prereqs' and see what it says...


This is an error report generated automatically by CPANPLUS,
version 0.042.

Below is the error stack during 'make test':

PERL_DL_NONLAZY=1 /usr/local/perl-5.8.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic....Can't locate POE.pm in @INC (@INC contains:
also, you have prereqs set to automatically follow? otherwise, it'll probably not work indeed...

--
How do I prove I am not crazy to people who are?

CPANPLUS..............http://cpanplus.sf.net
DWIM!.................http://dwim.org

Reply via email to