[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-datetime
Subject: Re: Problem installing DateTime::Event::SolarTerm
From: Daisuke Maki <daisuke () wafu ! ne ! jp>
Date: 2004-07-23 22:56:28
Message-ID: 4101979C.1090001 () wafu ! ne ! jp
[Download RAW message or body]
Looks like I need to do something with DateTime::Infinite objets being
passed from DateTime::Set (and I do remember some discussion about it on
the list).
I suppose I should also change all the other methods to check for
->is_inifite() on the datetime arguments and return the inifinite value
without doing any calculations...
fix coming.
--d
Allan Dyer wrote:
> I'm having a problem installing DateTime::Event::SolarTerm using cpan, the make
> test fails on the first test, it appears the test trys to create a new date
> object with invalid data:
> t/01-sanity....ok 1/0The 'second' parameter ("-1") to DateTime::new did not
> pass the 'is between 0 and 61' callback
> (see below for the full log). Where should I look for the problem?
> I notice there is a warning:
> Unknown 'build_class', defaulting to 'Module::Build'
> is there another Build module I should be using instead?
>
> Thanks
> Allan Dyer
>
> -------------------------------------------------------------------------
> cpan> install DateTime::Event::SolarTerm
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Tue, 20 Jul 2004 15:20:16 GMT
> Running install for module DateTime::Event::SolarTerm
> Running make for D/DM/DMAKI/DateTime-Event-SolarTerm-0.03.tar.gz
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /root/.cpan/sources/authors/id/D/DM/DMAKI/DateTime-Event-SolarTerm-
> 0.03.tar.gz ok
> Scanning cache /root/.cpan/build for sizes
> DateTime-Event-SolarTerm-0.03/
> DateTime-Event-SolarTerm-0.03/t/
> DateTime-Event-SolarTerm-0.03/t/01-sanity.t
> DateTime-Event-SolarTerm-0.03/lib/
> DateTime-Event-SolarTerm-0.03/lib/DateTime/
> DateTime-Event-SolarTerm-0.03/lib/DateTime/Event/
> DateTime-Event-SolarTerm-0.03/lib/DateTime/Event/SolarTerm.pm
> DateTime-Event-SolarTerm-0.03/SIGNATURE
> DateTime-Event-SolarTerm-0.03/LICENSE
> DateTime-Event-SolarTerm-0.03/README
> DateTime-Event-SolarTerm-0.03/Build.PL
> DateTime-Event-SolarTerm-0.03/Makefile.PL
> DateTime-Event-SolarTerm-0.03/META.yml
> DateTime-Event-SolarTerm-0.03/CHANGES
> DateTime-Event-SolarTerm-0.03/MANIFEST
> Removing previously used /root/.cpan/build/DateTime-Event-SolarTerm-0.03
>
> CPAN.pm: Going to build D/DM/DMAKI/DateTime-Event-SolarTerm-0.03.tar.gz
>
> /usr/bin/perl5.8.0 Build.PL
> Checking whether your kit is complete...
> Looks good
> Creating new 'Build' script for 'DateTime-Event-SolarTerm' version '0.03'
> Unknown 'build_class', defaulting to 'Module::Build'
> /usr/bin/perl5.8.0 Build --makefile_env_macros 1
> lib/DateTime/Event/SolarTerm.pm -> blib/lib/DateTime/Event/SolarTerm.pm
> Manifying blib/lib/DateTime/Event/SolarTerm.pm ->
> blib/libdoc/DateTime::Event::SolarTerm.3
> /usr/bin/make -- OK
> Running make test
> /usr/bin/perl5.8.0 Build --makefile_env_macros 1 test
> t/01-sanity....
> *** This test takes a *long* time. Please be patient! ***
> t/01-sanity....ok 1/0The 'second' parameter ("-1") to DateTime::new did not
> pass the 'is between 0 and 61' callback
> at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 140
> # Looks like your test died just after 1.
> t/01-sanity....dubious
> Test returned status 255 (wstat 65280, 0xff00)
> after all the subtests completed successfully
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> t/01-sanity.t 255 65280 1 0 0.00% ??
> Failed 1/1 test scripts, 0.00% okay. 0/1 subtests failed, 100.00% okay.
> make: *** [test] Error 2
> /usr/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
>
> cpan>
> -------------------------------------------------------------------------
>
>
> --------------------------------------------------------------------
> Allan Dyer, CISSP, MHKCS, DFCAE | adyer@yuikee.com.hk
> Chief Consultant | http://www.yuikee.com.hk/
> Yui Kee Computing Ltd. |
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic