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

People
Owner: Nobody in particular
Requestors: bills [...] perlhelp.com
Cc:
AdminCc:

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



Subject: Can't install DateTime-0.51 with CPAN
Date: Tue, 17 Nov 2009 14:09:57 -0600
To: bug-DateTime [...] rt.cpan.org
From: Bill Stephenson <bills [...] perlhelp.com>
I'm having trouble using CPAN to install DateTime-0.51 . I tried on my Mac and my ViaVerio Virtual Web Server (VPS-2). The errors were the same on both. Here's the specs: Mac OS X (10.3.9) perl v5.8.4 built for darwin-thread-multi-2level Web Server FreeBSD perl v5.8.4 built for i386-freebsd Below is the output from the CPAN installs on both boxes. Any help you can give will be much appreciated. Kindest Regards, -- Bill Stephenson ezInvoice.com 417-546-8390 ========================== Mac ========================== Show quoted text
cpan> install DateTime
Running install for module DateTime Running make for D/DR/DROLSKY/DateTime-0.51.tar.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/D/DR/DROLSKY/DateTime -0.51.tar.gz CPAN: Digest::MD5 loaded ok Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/D/DR/DROLSKY/CHECKSUMS Checksum for /Users/macbill/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime -0.51.tar.gz ok Scanning cache /Users/macbill/.cpan/build for sizes DateTime-0.51 DateTime-0.51/META.yml DateTime-0.51/Changes DateTime-0.51/README DateTime-0.51/TODO DateTime-0.51/MANIFEST DateTime-0.51/CREDITS DateTime-0.51/SIGNATURE DateTime-0.51/leaptab.txt DateTime-0.51/LICENSE DateTime-0.51/Build.PL DateTime-0.51/t DateTime-0.51/t/35rd_values.t DateTime-0.51/t/15jd.t DateTime-0.51/t/42duration_class.t DateTime-0.51/t/27delta.t DateTime-0.51/t/02last_day.t DateTime-0.51/t/31formatter.t DateTime-0.51/t/01sanity.t DateTime-0.51/t/22from_doy.t DateTime-0.51/t/03components.t DateTime-0.51/t/21bad_params.t DateTime-0.51/t/41cldr_format.t DateTime-0.51/t/20infinite.t DateTime-0.51/t/39no-so.t DateTime-0.51/t/19leap_second.t DateTime-0.51/t/28dow.t DateTime-0.51/t/38local-subtract.t DateTime-0.51/t/06add.t DateTime-0.51/t/pod.t DateTime-0.51/t/11duration.t DateTime-0.51/t/26dt_leapsecond_pm.t DateTime-0.51/t/37local-add.t DateTime-0.51/t/36invalid_local.t DateTime-0.51/t/10subtract.t DateTime-0.51/t/40leap-years.t DateTime-0.51/t/00load.t DateTime-0.51/t/05set.t DateTime-0.51/t/07compare.t DateTime-0.51/t/04epoch.t DateTime-0.51/t/12week.t DateTime-0.51/t/09greg.t DateTime-0.51/t/16truncate.t DateTime-0.51/t/17set_return.t DateTime-0.51/t/18today.t DateTime-0.51/t/30future_tz.t DateTime-0.51/t/13strftime.t DateTime-0.51/t/32leap_second2.t DateTime-0.51/t/33seconds_offset.t DateTime-0.51/t/24from_object.t DateTime-0.51/t/pod-coverage.t DateTime-0.51/t/29overload.t DateTime-0.51/t/34set_tz.t DateTime-0.51/t/23storable.t DateTime-0.51/t/25add_subtract.t DateTime-0.51/t/14locale.t DateTime-0.51/tools DateTime-0.51/tools/leap_seconds_header.pl DateTime-0.51/c DateTime-0.51/c/leap_seconds.h DateTime-0.51/c/ppport.h DateTime-0.51/lib DateTime-0.51/lib/DateTime.xs DateTime-0.51/lib/DateTime.pm DateTime-0.51/lib/DateTimePPExtra.pm DateTime-0.51/lib/DateTimePP.pm DateTime-0.51/lib/DateTime DateTime-0.51/lib/DateTime/Duration.pm DateTime-0.51/lib/DateTime/Infinite.pm DateTime-0.51/lib/DateTime/Helpers.pm DateTime-0.51/lib/DateTime/LeapSecond.pm Package seems to come without Makefile.PL. (The test -f "/Users/macbill/.cpan/build/DateTime-0.51/Makefile.PL" returned false.) Writing one on our own (setting NAME to DateTime) CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.51.tar.gz Checking if your kit is complete... Looks good Writing Makefile for DateTime cp lib/DateTime.pm blib/lib/DateTime.pm cp lib/DateTime.xs blib/lib/DateTime.xs cp lib/DateTimePP.pm blib/lib/DateTimePP.pm cp lib/DateTime/Duration.pm blib/lib/DateTime/Duration.pm cp lib/DateTime/Helpers.pm blib/lib/DateTime/Helpers.pm cp lib/DateTimePPExtra.pm blib/lib/DateTimePPExtra.pm cp lib/DateTime/Infinite.pm blib/lib/DateTime/Infinite.pm cp lib/DateTime/LeapSecond.pm blib/lib/DateTime/LeapSecond.pm Manifying blib/man3/DateTime.3 Manifying blib/man3/DateTime::Helpers.3 Manifying blib/man3/DateTime::Duration.3 Manifying blib/man3/DateTime::Infinite.3 Manifying blib/man3/DateTime::LeapSecond.3 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible ========================== Web Server ========================== Show quoted text
cpan> install DateTime
Running install for module DateTime Running make for D/DR/DROLSKY/DateTime-0.51.tar.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/D/DR/DROLSKY/DateTime -0.51.tar.gz CPAN: Digest::MD5 loaded ok Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/D/DR/DROLSKY/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime-0.51.tar.gz ok Scanning cache /root/.cpan/build for sizes DateTime-0.51 DateTime-0.51/META.yml DateTime-0.51/Changes DateTime-0.51/README DateTime-0.51/TODO DateTime-0.51/MANIFEST DateTime-0.51/CREDITS DateTime-0.51/SIGNATURE DateTime-0.51/leaptab.txt DateTime-0.51/LICENSE DateTime-0.51/Build.PL DateTime-0.51/t DateTime-0.51/t/35rd_values.t DateTime-0.51/t/15jd.t DateTime-0.51/t/42duration_class.t DateTime-0.51/t/27delta.t DateTime-0.51/t/02last_day.t DateTime-0.51/t/31formatter.t DateTime-0.51/t/01sanity.t DateTime-0.51/t/22from_doy.t DateTime-0.51/t/03components.t DateTime-0.51/t/21bad_params.t DateTime-0.51/t/41cldr_format.t DateTime-0.51/t/20infinite.t DateTime-0.51/t/39no-so.t DateTime-0.51/t/19leap_second.t DateTime-0.51/t/28dow.t DateTime-0.51/t/38local-subtract.t DateTime-0.51/t/06add.t DateTime-0.51/t/pod.t DateTime-0.51/t/11duration.t DateTime-0.51/t/26dt_leapsecond_pm.t DateTime-0.51/t/37local-add.t DateTime-0.51/t/36invalid_local.t DateTime-0.51/t/10subtract.t DateTime-0.51/t/40leap-years.t DateTime-0.51/t/00load.t DateTime-0.51/t/05set.t DateTime-0.51/t/07compare.t DateTime-0.51/t/04epoch.t DateTime-0.51/t/12week.t DateTime-0.51/t/09greg.t DateTime-0.51/t/16truncate.t DateTime-0.51/t/17set_return.t DateTime-0.51/t/18today.t DateTime-0.51/t/30future_tz.t DateTime-0.51/t/13strftime.t DateTime-0.51/t/32leap_second2.t DateTime-0.51/t/33seconds_offset.t DateTime-0.51/t/24from_object.t DateTime-0.51/t/pod-coverage.t DateTime-0.51/t/29overload.t DateTime-0.51/t/34set_tz.t DateTime-0.51/t/23storable.t DateTime-0.51/t/25add_subtract.t DateTime-0.51/t/14locale.t DateTime-0.51/tools DateTime-0.51/tools/leap_seconds_header.pl DateTime-0.51/c DateTime-0.51/c/leap_seconds.h DateTime-0.51/c/ppport.h DateTime-0.51/lib DateTime-0.51/lib/DateTime.xs DateTime-0.51/lib/DateTime.pm DateTime-0.51/lib/DateTimePPExtra.pm DateTime-0.51/lib/DateTimePP.pm DateTime-0.51/lib/DateTime DateTime-0.51/lib/DateTime/Duration.pm DateTime-0.51/lib/DateTime/Infinite.pm DateTime-0.51/lib/DateTime/Helpers.pm DateTime-0.51/lib/DateTime/LeapSecond.pm Package seems to come without Makefile.PL. (The test -f "/root/.cpan/build/DateTime-0.51/Makefile.PL" returned false.) Writing one on our own (setting NAME to DateTime) CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.51.tar.gz Checking if your kit is complete... Looks good Writing Makefile for DateTime cp lib/DateTime.xs blib/lib/DateTime.xs cp lib/DateTime.pm blib/lib/DateTime.pm cp lib/DateTimePP.pm blib/lib/DateTimePP.pm cp lib/DateTime/Duration.pm blib/lib/DateTime/Duration.pm cp lib/DateTime/Helpers.pm blib/lib/DateTime/Helpers.pm cp lib/DateTimePPExtra.pm blib/lib/DateTimePPExtra.pm cp lib/DateTime/Infinite.pm blib/lib/DateTime/Infinite.pm cp lib/DateTime/LeapSecond.pm blib/lib/DateTime/LeapSecond.pm Manifying blib/man3/DateTime.3 Manifying blib/man3/DateTime::Helpers.3 Manifying blib/man3/DateTime::Duration.3 Manifying blib/man3/DateTime::Infinite.3 Manifying blib/man3/DateTime::LeapSecond.3 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. *** Error code 2 Stop in /root/.cpan/build/DateTime-0.51. /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Subject: Re: [rt.cpan.org #51621] Can't install DateTime-0.51 with CPAN
Date: Tue, 17 Nov 2009 14:25:21 -0600 (CST)
To: Bill Stephenson via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 17 Nov 2009, Bill Stephenson via RT wrote: Show quoted text
> Below is the output from the CPAN installs on both boxes. Any help you > can give will be much appreciated.
I think this is a bad interaction between Module::Build and older versions of ExtUtils::MakeMaker. If you upgrade the latter module that will fix the problem. Or it might be a problem with CPAN.pm itself. Are you using a very old version, because they didn't know how to install modules which used Module::Build, but that's been fixed for a really long time. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Subject: Re: [rt.cpan.org #51621] Can't install DateTime-0.51 with CPAN
Date: Tue, 17 Nov 2009 19:16:13 -0600
To: bug-DateTime [...] rt.cpan.org
From: Bill Stephenson <bills [...] perlhelp.com>
On Nov 17, 2009, at 2:25 PM, autarch@urth.org via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=51621 > > > On Tue, 17 Nov 2009, Bill Stephenson via RT wrote: >
>> Below is the output from the CPAN installs on both boxes. Any help you >> can give will be much appreciated.
> > I think this is a bad interaction between Module::Build and older > versions > of ExtUtils::MakeMaker. If you upgrade the latter module that will fix > the > problem. > > Or it might be a problem with CPAN.pm itself. Are you using a very old > version, because they didn't know how to install modules which used > Module::Build, but that's been fixed for a really long time.
You nailed it. It was my old CPAN. I'd been putting off updating forever. I got both CPAN updated and DateTime installed on my Mac, now I'll have to do the same on the web server. I really want to thank you for both your hard work on DateTime and the help installing it. I promise I'll send some beer money as soon as I get through this task. Kindest Regards, -- Bill Stephenson ezInvoice.com 417-546-8390