ExtUtils::MakeMaker and CGI::Carp

IlyaM on 2003-08-07T14:14:57

Today when installing a module on a test server I've been surprised when 'perl Makefile.PL' printed something like:

$ perl5.6.1 Makefile.PL
[Thu Aug  7 15:09:35 2003] Makefile.PL: Warning: prerequisite Email::Valid failed to load: Can't locate Email/Valid.pm in @INC (@INC contains: /home/perl-5.6.1/lib/5.6.1/i686-linux /home/perl-5.6.1/lib/5.6.1 /home/perl-5.6.1/lib/site_perl/5.6.1/i686-linux /home/perl-5.6.1/lib/site_perl/5.6.1 /home/perl-5.6.1/lib/site_perl .) at (eval 5) line 3.
[Thu Aug  7 15:09:35 2003] Makefile.PL: Warning: prerequisite MIME::Lite failed to load: Can't locate MIME/Lite.pm in @INC (@INC contains: /home/perl-5.6.1/lib/5.6.1/i686-linux /home/perl-5.6.1/lib/5.6.1 /home/perl-5.6.1/lib/site_perl/5.6.1/i686-linux /home/perl-5.6.1/lib/site_perl/5.6.1 /home/perl-5.6.1/lib/site_perl .) at (eval 6) line 3.
Writing Makefile for FillForm
Turned out it is because CGI::Carp was listed in PREREQ_PM section.