I just uploaded a module to CPAN that depends on some other modules, which I also uploaded. I thought I put the prereq information in Makefile.PL correctly, but after uploading I got an email from cpansmoke@alternation.net complaining that this module wouldn't run because Perl couldn't locate the modules it requires.
The module is RFID::Alien. It requires RFID::Base and RFID::EPC. The Makefile.PL says (excuse the spacing):
Here's part of the message I get from the smoke tests:use ExtUtils::MakeMaker; WriteMakefile( NAME => 'RFID::Alien', VERSION_FROM => 'lib/RFID/Alien/Reader.pm', PREREQ_PM => { RFID::Tag => 0.002, RFID::EPC::Tag => 0.002, RFID::Reader => 0.002, RFID::Reader::Serial => 0.002, RFID::Reader::TestBase => 0.002, RFID::Reader::TCP => 0.002, POSIX => 0, Time::Local => 0, Carp => 0, Exporter => 0, warnings => 0, constant => 0, }, );
-- This is an error report generated automatically by CPANPLUS, version 0.049. + Below is the error stack during 'make test': + PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "t +est_harne\ss(0, 'blib/lib', 'blib/arch')" t/*.t t/01compile....# Failed test (t/01compile.t at line 8) # Tried to use 'RFID::Alien::Reader'. # Error: Can't locate RFID/Reader.pm in @INC (@INC contains: ...
What else do I need to do? Thanks!
In reply to Properly expressing module prerequesites for CPAN by sgifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |