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: 26993
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: mringwal [...] inf.ethz.ch
Cc:
AdminCc:

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



Subject: CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 16:11:50 +0200
To: bug-datetime [...] rt.cpan.org
From: Matthias Ringwald <mringwal [...] inf.ethz.ch>
failed: make test failed as Class::Singleton was not installed => add Class::Singleton to dependencies regards, matthias ringwald
Subject: Re: [rt.cpan.org #26993] CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 10:30:19 -0500 (CDT)
To: Matthias Ringwald via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 8 May 2007, Matthias Ringwald via RT wrote: Show quoted text
> failed: > make test failed as Class::Singleton was not installed > => add Class::Singleton to dependencies
DateTime.pm does not require Class::Singleton. This bug report would be a lot more helpful with some error output! DateTime::TimeZone _does_ require Class::Singleton, but it already lists it as a prereq. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
Subject: Re: [rt.cpan.org #26993] CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 17:40:19 +0200
To: bug-DateTime [...] rt.cpan.org
From: Matthias Ringwald <mringwal [...] inf.ethz.ch>
Hi sorry for not pasting in more output log. I've startet with a very minimal (REHL4) perl 5.8.5 install and tried to install XML::RSS naively using CPAN 1.8802 (just found out there is 1.9101 available yet). CPAN failed to auto-install .. EXPAT as not expat native includes have been installed. (not DateTime's fault) then "install DateTime" failed, too, as Class::Singleton was needed for the tests, but was not installed by CPAN to perform the tests. If it is listed in the prerequisites, then CPAN 1.8802 has a bug, otherwise the preqreq might not be specified properly. Best regards, Matthias Ringwald On 08.05.2007, at 17:31, autarch@urth.org via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=26993 > > > On Tue, 8 May 2007, Matthias Ringwald via RT wrote: >
>> failed: >> make test failed as Class::Singleton was not installed >> => add Class::Singleton to dependencies
> > DateTime.pm does not require Class::Singleton. This bug report > would be a > lot more helpful with some error output! > > DateTime::TimeZone _does_ require Class::Singleton, but it already > lists > it as a prereq. > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ >
Subject: Re: [rt.cpan.org #26993] CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 11:21:04 -0500 (CDT)
To: Matthias Ringwald via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 8 May 2007, Matthias Ringwald via RT wrote: Show quoted text
> sorry for not pasting in more output log.
And you _still_ haven't. I could use it. Show quoted text
> then "install DateTime" failed, too, as Class::Singleton was > needed for the tests, but was not installed by CPAN to perform > the tests. > > If it is listed in the prerequisites, then CPAN 1.8802 has a bug, > otherwise the preqreq might not be specified properly.
As I said, DateTime.pm itself does not require Class::Singleton for any reason. DT::TimeZone _does_, _and_ lists it as a prereq. Without seeing the error message, I can't diagnose the problem you saw. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
Subject: Re: [rt.cpan.org #26993] CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 19:03:11 +0200
To: bug-DateTime [...] rt.cpan.org
From: Matthias Ringwald <mringwal [...] inf.ethz.ch>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #26993] CPAN install of DateTime 0.37
Date: Tue, 8 May 2007 14:23:18 -0500 (CDT)
To: Matthias Ringwald via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 8 May 2007, Matthias Ringwald via RT wrote: Show quoted text
> OK. I've tried to do more or less the same and attach the output. > I've used another machine and a non-root install as I didn't see > a simple way to un-install a module with CPAN. > Now, CPAN fails on other stuff first, here. > > Then, I've update CPAN and tried again. > > Logs attached, too. They are rather long.
Ok, looking into this, I think what's happening is that you're installing modules into a non-standard directory, but those module directories are not in your PERL5PETH env setting. That means that modules cannot see the prereqs you just installed. This is not a problem with this distro (or any distro), it's something you'll have to fix on your system(s). I'm going to close this ticket, so please don't respond to the ticket address, or it will get re-opened. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/