Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 16793
Status: resolved
Priority: 0/
Queue: version

People
Owner: jpeacock [...] cpan.org
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

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



Subject: Switch installer to Module::Install?
People are going to have problem with Module::Build, have you considered switching over to Module::Install, since you don't seem to do anything hugely weird. That would mean that people could run either Makefile.PL with makemaker, or Build.PL with Module::Build as they see fit. And it means everyone dependending on this can do non-root PREFIX installs again.
[ADAMK - Thu Dec 29 15:18:15 2005]: Show quoted text
> People are going to have problem with Module::Build, have you > considered switching over to Module::Install, since you don't seem > to do anything hugely weird.
I'll have to research this. Show quoted text
> And it means everyone dependending on this can do non-root PREFIX > installs again.
This has already been fixed in the latest Module::Build 0.27_04 beta which will shortly become 0.28, as I understand it. John
I'm going to mark this as WONTFIX. I don't actually see any documentation for Module::Install on how to perform complicated XS compilation; it seems more focused on pure Perl modules. In addition, the upcoming 0.54 release will polymophically install either an XS version object or a pure Perl version object (depending on whether the user has a working compiler). I don't think I could do things nearly as cleanly in Module::Install (or EU::MM for that matter) as I can in Module::Build. Thanks John
Subject: Re: [rt.cpan.org #16793] Switch installer to Module::Install?
Date: Tue, 14 Feb 2006 21:44:52 +1100
To: bug-version [...] rt.cpan.org
From: Adam Kennedy <adam [...] phase-n.com>
Right. I'm writing the documentation, and I'm still getting the details for this to put together the documentation for XS and compilation. For the polymorphic one, it's basically just. if ( can_cc() ) { # Do something } else { # Do something else } The can_cc function is a true/false "is there a compiler available" flag. I'll try to get you some more information on the compiler functionality in Module::Install, once I know enough to document it. Adam K via RT wrote: Show quoted text
> I'm going to mark this as WONTFIX. I don't actually see any > documentation for Module::Install on how to perform complicated XS > compilation; it seems more focused on pure Perl modules. > > In addition, the upcoming 0.54 release will polymophically install > either an XS version object or a pure Perl version object (depending on > whether the user has a working compiler). I don't think I could do > things nearly as cleanly in Module::Install (or EU::MM for that matter) > as I can in Module::Build. > > Thanks > > John