Re: What is the current state of installing DateTime?

2004-08-17 Thread Yitzchak Scott-Thoennes
On Mon, Aug 16, 2004 at 09:34:16PM -0700, Ron Pero [EMAIL PROTECTED] wrote:
 I will ask ActiveState about a better version of the DateTime module for
 their repository.

You can look at what their automated build came up with at:
http://ppm.activestate.com/BuildStatus/5.8-D.html
(5.8 builds for modules beginning with D).

Looking at the failure for windows, you see:

failed building DateTime prerequisite DateTime-Locale
aborting build of DateTime: failed prerequisites

and DateTime-Locale fails because it uses a passthrough Makefile.PL
that requires user interaction to download Module::Build.
(Activestate's build process does check dependencies and would process
Module::Build first if it were a listed as a dependency, but it's
not.)  This is a fundamental problem with passthrough or small
compatibility Makefile.PLs, and an excellent reason to not use them.


Re: What is the current state of installing DateTime?

2004-08-17 Thread Dave Rolsky
On Tue, 17 Aug 2004, Yitzchak Scott-Thoennes wrote:

 and DateTime-Locale fails because it uses a passthrough Makefile.PL
 that requires user interaction to download Module::Build.
 (Activestate's build process does check dependencies and would process
 Module::Build first if it were a listed as a dependency, but it's
 not.)  This is a fundamental problem with passthrough or small
 compatibility Makefile.PLs, and an excellent reason to not use them.

They could just install Module::Build once on their machines and be done
with this problem!

I did nag an ActiveState person about this at OSCON and he said that
someone was working on re(writing|factoring) the auto-PPM tool.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: What is the current state of installing DateTime?

2004-08-17 Thread Yitzchak Scott-Thoennes
On Tue, Aug 17, 2004 at 03:56:07AM -0500, Dave Rolsky [EMAIL PROTECTED] wrote:
 On Tue, 17 Aug 2004, Yitzchak Scott-Thoennes wrote:
 
  and DateTime-Locale fails because it uses a passthrough Makefile.PL
  that requires user interaction to download Module::Build.
  (Activestate's build process does check dependencies and would process
  Module::Build first if it were a listed as a dependency, but it's
  not.)  This is a fundamental problem with passthrough or small
  compatibility Makefile.PLs, and an excellent reason to not use them.
 
 They could just install Module::Build once on their machines and be done
 with this problem!

AFAICT, they do each build in a clean environment with only those
modules that are listed as dependencies installed.  And the
ExtUtils::MakeMaker Way of Doing Things is that Makefile.PL has to be
run *first* and then dependencies be checked.  This makes
non-traditional compatibility Makefile.PL's something of a joke, since
there is no way for them to be compatible under automated build tools.

 I did nag an ActiveState person about this at OSCON and he said that
 someone was working on re(writing|factoring) the auto-PPM tool.

One thing you can do is add build_requires: Module::Build to
META.yml.  Don't know if their tool even checks this file, but
it seems to me incorrect to not have it listed.


Install problems: Can't call method set_time_zone on an undefined value

2004-08-17 Thread Bill Moseley
This is on Debian sid and some DateTime packages are installed via the
deibian package system:

[EMAIL PROTECTED]:~$ COLUMNS=180 dpkg -l | grep libdatetime
ii  libdatetime-format-pg-perl  0.07-1
ii  libdatetime-format-strptime-perl1.04-1
ii  libdatetime-locale-perl 0.09-2
ii  libdatetime-perl0.22-1
ii  libdatetime-timezone-perl   0.28-1

(well, strptime and pg I build a .deb with dh-make-perl)

But some are not packaged and I'm trying to install via CPAN or
manually.

I'm getting stuck with DateTime::Event::Recurrence (a requirement for
::ICal):

bumby:~/.cpan/build/DateTime-Event-Recurrence-0.13# perl -Iblib/lib -Iblib/arch 
t/05set.t 
1..9
ok 1 - next union
ok 2 - next union
ok 3 - next union
ok 4 - next union
ok 5 - next intersection
Can't call method set_time_zone on an undefined value at 
/usr/local/share/perl/5.8.4/DateTime/Set.pm line 55.
# Looks like you planned 9 tests but only ran 5.
# Looks like your test died just after 5.
bumby:~/.cpan/build/DateTime-Event-Recurrence-0.13# fgrep 'VERSION =' 
/usr/local/share/perl/5.8.4/DateTime/Set.pm
$VERSION = '0.1603';

Anyone seen this?  Suggestions for debugging?






-- 
Bill Moseley
[EMAIL PROTECTED]