Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 64023
Status: rejected
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: jon [...] hogue.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.66
Fixed in: (no value)



Subject: Params::Validate
When installing from CPAN, I get this error. I install Params::Validate, and install again, and the install works fine. PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use DateTime;' # at t/00load.t line 6. # Tried to use 'DateTime'. # Error: Can't locate Params/Validate.pm in @INC (@INC contains: /root/.cpan/build/DateTime-0.66/blib/lib /root/.cpan/build/DateTime-0.66/blib/arch /usr/local/lib/perl5/5.10.1/x86_64-linux /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux /usr/local/lib/perl5/site_perl/5.10.1 .) at /root/.cpan/build/DateTime-0.66/blib/lib/DateTime/Duration.pm line 12. # BEGIN failed--compilation aborted at /root/.cpan/build/DateTime-0.66/blib/lib/DateTime/Duration.pm line 12. # Compilation failed in require at /root/.cpan/build/DateTime-0.66/blib/lib/DateTime.pm line 44. # BEGIN failed--compilation aborted at /root/.cpan/build/DateTime-0.66/blib/lib/DateTime.pm line 44. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1.
Subject: Re: [rt.cpan.org #64023] Params::Validate
Date: Fri, 17 Dec 2010 22:40:37 -0600 (CST)
To: "https://www.google.com/accounts/o8/id?id=AItOawnUDYol7E07grXdCl8MCYR8ACvXv9g18u0 via RT" <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 17 Dec 2010, https://www.google.com/accounts/o8/id?id=AItOawnUDYol7E07grXdCl8MCYR8ACvXv9g18u0 via RT wrote: Show quoted text
> I install Params::Validate, and install again, and the install works fine.
I'm not sure I believe you. Do you have multiple versions of Perl installed. Maybe you installed Params::Validate for the wrong one? Show quoted text
> # Error: Can't locate Params/Validate.pm in @INC (@INC contains:
That seems pretty clear to me. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Show quoted text
> I'm not sure I believe you. Do you have multiple versions of Perl > installed. Maybe you installed Params::Validate for the wrong one? >
> > # Error: Can't locate Params/Validate.pm in @INC (@INC
> contains:
I did Show quoted text
cpan> install DateTime
and it fails, saying it can't find Params::Validate I do Show quoted text
cpan> install Params::Validate
then Show quoted text
cpan> install DateTime
And it works. If I installed Params::Validate in the wrong place, then the install wouldn't have worked the second time. To me, the bug is that Params::Validate isn't listed as a dependency somewhere where, and it should.
Subject: Re: [rt.cpan.org #64023] Params::Validate
Date: Fri, 17 Dec 2010 22:56:59 -0600 (CST)
To: "https://www.google.com/accounts/o8/id?id=AItOawnUDYol7E07grXdCl8MCYR8ACvXv9g18u0 via RT" <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Fri, 17 Dec 2010, https://www.google.com/accounts/o8/id?id=AItOawnUDYol7E07grXdCl8MCYR8ACvXv9g18u0 via RT wrote: Show quoted text
> To me, the bug is that Params::Validate isn't listed as a dependency > somewhere where, and it should.
Except it _is_ listed as a dependency. See http://cpansearch.perl.org/src/DROLSKY/DateTime-0.66/Build.PL It's best to check instead of just guessing. I don't know what the problem is, but I'm pretty sure it's something in your toolchain setup or your Perl installation. I'm going to close this ticket. Please don't reply directly to the ticket or it will be re-opened. Thanks, -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/