develooper Front page | perl.makemaker | Postings from March 2005

Re: Last call for MM issues prior to 6.26

Thread Previous | Thread Next
From:
Yitzchak Scott-Thoennes
Date:
March 21, 2005 01:55
Subject:
Re: Last call for MM issues prior to 6.26
Message ID:
20050320200854.GB8184@efn.org
On Sun, Mar 20, 2005 at 12:30:01AM -0800, Michael G Schwern wrote:
> On Sat, Mar 19, 2005 at 10:51:39PM -0800, Yitzchak Scott-Thoennes wrote:
> > I was a little surprised to see t/xs reporting "No compiler found to
> > test XS builds", till I saw that it is checking for Extutils::CBuilder.
> > Could that be added to build_recommends (or whatever the appropriate
> > tag is) in META.yml?  
> 
> There is no equivalent in MakeMaker.  

And you can't hand-alter the META.yml?
 
> Also ExtUtils::CBuilder is not yet reliable on all platforms.  Its getting 
> better but I don't trust that it will install everywhere.
> 
> > And perhaps the skip message could mention the module?  Perhaps 
> > have_compiler could return different things for being unable to *look* for 
> > a compiler vs. unable to *find* one?
> 
> I looked into doing this but it would have required duplicating the
> "if we can't look for a compiler skip with this message, else if there is no
> compiler skip with this message" logic in the tests which needed a compiler
> and I didn't think it was worth it.  If you can come up with something which
> avoids that I'll take it.

Easiest thing to do would be to have have_compiler itself return a string
describing the problem.
 
> But I'm not going to hold up 6.26 for it.

Good. Please don't.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About