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.


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 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-16 Thread Ron Pero
Thanks for your reply. To be more detailed, what I meant by:
"attempting to install DateTime itself via nmake etc"
was using the standard command line make sequence:
   perl Makefile.PL
   make
   make test
   make install

During make test I got many results like this (Does "Can't locate loadable
object" point to a solution?):

t\01sanity..Can't locate loadable object for module DateTime in
@INC
 (@INC contains: D:/Downloads/perlmodules/DateTime-0.22/blib/arch
D:/Downloads/p
erlmodules/DateTime-0.22/blib/lib C:\Perl\lib C:/Perl/lib C:/Perl/site/lib .
C:/
Perl/lib C:/Perl/site/lib .) at C:\Perl\lib/XSLoader.pm line 44
BEGIN failed--compilation aborted at
D:/Downloads/perlmodules/DateTime-0.22/blib
/lib/DateTime.pm line 44.
Compilation failed in require at t\01sanity.t line 7.
BEGIN failed--compilation aborted at t\01sanity.t line 7.
t\01sanity..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t\02last_dayCan't locate loadable object for module DateTime in
@INC
 (@INC contains: D:/Downloads/perlmodules/DateTime-0.22/blib/arch
D:/Downloads/p
erlmodules/DateTime-0.22/blib/lib C:\Perl\lib C:/Perl/lib C:/Perl/site/lib .
C:/
Perl/lib C:/Perl/site/lib .) at C:\Perl\lib/XSLoader.pm line 44
BEGIN failed--compilation aborted at
D:/Downloads/perlmodules/DateTime-0.22/blib
/lib/DateTime.pm line 44.
Compilation failed in require at t\02last_day.t line 7.
BEGIN failed--compilation aborted at t\02last_day.t line 7.
t\02last_daydubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-73
Failed 73/73 tests, 0.00% okay
t\03components..Can't locate loadable object for module DateTime in
@INC
 (@INC contains: D:/Downloads/perlmodules/DateTime-0.22/blib/arch
D:/Downloads/p
erlmodules/DateTime-0.22/blib/lib C:\Perl\lib C:/Perl/lib C:/Perl/site/lib .
C:/
Perl/lib C:/Perl/site/lib .) at C:\Perl\lib/XSLoader.pm line 44
BEGIN failed--compilation aborted at
D:/Downloads/perlmodules/DateTime-0.22/blib
/lib/DateTime.pm line 44.
Compilation failed in require at t\03components.t line 7.
BEGIN failed--compilation aborted at t\03components.t line 7.
t\03components..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-122
Failed 122/122 tests, 0.00% okay

I will ask ActiveState about a better version of the DateTime module for
their repository.

Thanks again.

Ron

> -Original Message-
> From: John Peacock [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 16, 2004 7:16 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: What is the current state of installing DateTime?
>
>
> Ron Pero wrote:
> > When finally attempting to install DateTime itself via nmake etc, I get
> > multiple multiple failures.
>
> Could you be more specific?
>
> > When attempting to install it via ppm, it fails
> > with this message:
> > Error installing package 'datetime': Read a PPD for 'datetime',
> but it is
> > not in
> > tended for this build of Perl (MSWin32-x86-multi-thread).
>
> That means that Activestate hasn't got a version of DateTime for
> Win32, but they
> do for some other platform (probably Linux).  It's a really
> stupid error message.
>
> Most of the ppm's that Activestate maintains are done so
> automatically, so if
> there is any problem whatsoever, in any dependency, they don't
> always go back
> and see what was the problem.
>
> John
>
> --
> John Peacock
> Director of Information Research and Technology
> Rowman & Littlefield Publishing Group
> 4720 Boston Way
> Lanham, MD 20706
> 301-459-3366 x.5010
> fax 301-429-5747
>
>
>
>


My mailbox is spam-free with ChoiceMail, the leader in personal and corporate 
anti-spam solutions. Download your free copy of ChoiceMail from www.choicemailfree.com


Re: What is the current state of installing DateTime?

2004-08-16 Thread John Peacock
Ron Pero wrote:
When finally attempting to install DateTime itself via nmake etc, I get
multiple multiple failures. 
Could you be more specific?
When attempting to install it via ppm, it fails
with this message:
Error installing package 'datetime': Read a PPD for 'datetime', but it is
not in
tended for this build of Perl (MSWin32-x86-multi-thread).
That means that Activestate hasn't got a version of DateTime for Win32, but they 
do for some other platform (probably Linux).  It's a really stupid error message.

Most of the ppm's that Activestate maintains are done so automatically, so if 
there is any problem whatsoever, in any dependency, they don't always go back 
and see what was the problem.

John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747


What is the current state of installing DateTime?

2004-08-16 Thread Ron Pero
Am running perl 5.6 on WindowsXP, and have searched the mail list archive
for install problems. And have read the readme/pod etc at search.cpan.com.
The net result is it is not clear to me how to install DateTime.

I have just installed all (or almost all) of the dependencies, both with
nmake etc, and via ppm.

When finally attempting to install DateTime itself via nmake etc, I get
multiple multiple failures. When attempting to install it via ppm, it fails
with this message:
Error installing package 'datetime': Read a PPD for 'datetime', but it is
not in
tended for this build of Perl (MSWin32-x86-multi-thread).

Any suggestions?

All I really want to use is the Event::Recurrence module, and probably a
couple related modules.

Thanks,

Ron


My mailbox is spam-free with ChoiceMail, the leader in personal and corporate 
anti-spam solutions. Download your free copy of ChoiceMail from www.choicemailfree.com