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: 56732
Status: rejected
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: mkanat [...] cpan.org
Cc:
AdminCc:

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



Subject: DateTime is not properly installed by old versions of CPAN
Download (untitled) / with headers
text/plain 486b
Before 1.81, CPAN didn't have direct support for Module::Build. (perl 5.8.8 ships with CPAN 1.76_02, so there are many active Perl installs that do not have CPAN support for Module::Build.) This causes these old CPANs to attempt to create their own Makefile.PL for the package, which doesn't compile the XS properly, and I think doesn't even install prerequisites properly. The normal workaround for this is to add this to the Build.PL config: create_makefile_pl => 'passthrough'
Download (untitled) / with headers
text/plain 129b
More info here: http://search.cpan.org/dist/Module- Build/lib/Module/Build/Cookbook.pm#Making_a_CPAN.pm- compatible_distribution
Download (untitled) / with headers
text/plain 110b
I just tested the "passthrough" option in DateTime, and it works, and the XS is properly built and installed.
Download (untitled) / with headers
text/plain 606b
On Mon Apr 19 19:05:18 2010, MKANAT wrote: Show quoted text
> I just tested the "passthrough" option in DateTime, and it works, and the > XS is properly built and installed.
Doh, wasn't paying enough attention in IRC. The passthrough option is deprecated. The small option works, but will only work if Module::Build is already installed, which means it will just give very confusing errors with a fresh Perl 5.8.8, since the CPAN shell will download the module and blow up when the Makefile.PL tries to load Module::Build::Compat. I'm not sure how much of an improvement that would be over the current state of things.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.