Installation deps

I have been going through trying to get all my deps in order. I have
narrowed it down to 5 remaining. I am running red hat 7.1 on RT2-0-14. All
these deps say that they are up to date when I run CPAN, yet the make
testdeps will not recognize them… Here is a typical install, followed by a
testdeps:

perl -MCPAN -e ‘install Params::Validate’

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 26 Aug 2002 09:52:17 GMT
Running install for module Params::Validate
Running make for D/DR/DROLSKY/Params-Validate-0.24.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for
/root/.cpan/sources/authors/id/D/DR/DROLSKY/Params-Validate-0.24.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Params-Validate-0.24/
Params-Validate-0.24/t/
Params-Validate-0.24/t/tests.pl
Params-Validate-0.24/t/with.pl
Params-Validate-0.24/t/08-noop_with.t
Params-Validate-0.24/t/05-noop_default.t
Params-Validate-0.24/t/04-defaults.t
Params-Validate-0.24/t/03-attribute.t
Params-Validate-0.24/t/defaults.pl
Params-Validate-0.24/t/02-noop.t
Params-Validate-0.24/t/01-validate.t
Params-Validate-0.24/t/07-with.t
Params-Validate-0.24/t/06-options.t
Params-Validate-0.24/Changes
Params-Validate-0.24/MANIFEST
Params-Validate-0.24/lib/
Params-Validate-0.24/lib/Attribute/
Params-Validate-0.24/lib/Attribute/Params/
Params-Validate-0.24/lib/Attribute/Params/Validate.pm
Params-Validate-0.24/lib/Params/
Params-Validate-0.24/lib/Params/Validate.pm
Params-Validate-0.24/README
Params-Validate-0.24/Makefile.PL
Removing previously used /root/.cpan/build/Params-Validate-0.24

CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-0.24.tar.gz

*** NOTE ***

You can safely ignore the warnings below about ‘Too late to run
CHECK/INIT blocks’.

Checking if your kit is complete…
Looks good
Writing Makefile for Params::Validate
cp lib/Attribute/Params/Validate.pm blib/lib/Attribute/Params/Validate.pm
cp lib/Params/Validate.pm blib/lib/Params/Validate.pm
Manifying blib/man3/Attribute::Params::Validate.3
Manifying blib/man3/Params::Validate.3
/usr/bin/make – OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl “-MExtUtils::Command::MM” “-e”
“test_harness(0, ‘blib/lib’, ‘blib/arch’)” t/*.t
t/01-validate…ok
t/02-noop…ok
t/03-attribute…ok
t/04-defaults…ok
t/05-noop_default…ok
t/06-options…ok
t/07-with…ok
t/08-noop_with…ok
All tests successful.
Files=8, Tests=239, 2 wallclock secs ( 1.28 cusr + 0.18 csys = 1.46 CPU)
/usr/bin/make test – OK
Running make install
Installing /usr/local/lib/perl5/site_perl/5.8.0/Attribute/Params/Validate.pm
Installing /usr/local/lib/perl5/site_perl/5.8.0/Params/Validate.pm
Installing /usr/local/man/man3/Attribute::Params::Validate.3
Installing /usr/local/man/man3/Params::Validate.3
Writing
/usr/local/lib/perl5/site_perl/5.8.0/i586-linux/auto/Params/Validate/.packlist
Appending installation info to
/usr/local/lib/perl5/5.8.0/i586-linux/perllocal.pod
/usr/bin/make install – OK

make testdeps

/usr/bin/perl ./tools/testdeps -warn mysql
Checking for Digest::MD5…found
Checking for Storable…found
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.48 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …Params::Validate 0.02 not
installed. <----- still not found
Checking for HTML::Mason 1.02 …HTML::Mason 1.02 not installed.
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch…Log::Dispatch not installed.
Checking for DBD::mysql 2.0416 …found

Any ideas what could be causing this?
thanks,
Forrest

“FS” == Forrest Stanley fstanley@netburner.com writes:

FS> Any ideas what could be causing this?
FS> thanks,
FS> Forrest

The only explanation is that “perl” when run from root’s path, is
different from “/usr/bin/perl”.

What does “perl -V” say when run as root, and what does "/usr/bin/perl -V"
say?

I had a similar problem. Most likely thing that’s happened is that CPAN
has installed perl5.8.0 for you in /usr/local/bin - and your RT Makefile
still references old-perl in /usr/bin.

Change the line near the top of the Makefile to /usr/local/bin/perl and
everything should go smoothly.

Good luck,

Drew M. Mooney

All,
Is there a simple/non-simple way to track which scrips are firing on an
action? Having a small problem with duplicate emails being sent under
under certain circumstances and I’d like to fix it.

Cheers,
Alan.