Skip Menu |

This queue is for tickets about the Params-Util CPAN distribution.

Report information
The Basics
Id: 55668
Status: resolved
Priority: 0/
Queue: Params-Util

People
Owner: Nobody in particular
Requestors: miyagawa [...] gmail.com
Cc:
AdminCc:

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



Subject: can_cc() in Makefile.PL is broken
Date: Wed, 17 Mar 2010 12:44:32 -0700
To: bug-Params-Util [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
its Makefile.PL is doing can_cc() to check if an user has a working compiler but it has bugs when ported from Module::Install, resulting it's always checking if one of the directories in PATH exists and has -x bit which should always be true. 12:39 xdg: miyagawa, can_cc and can_run look OO but are being called as functions 12:39 xdg: So can_run("cc") => $self = "cc" and $cmd = '' 12:39 miyagawa: haha! 12:39 miyagawa: xdg++ 12:39 xdg: Fresh pair of eyes 12:40 xdg: I'm guessing it was copied out of M::I 12:40 miyagawa: yeah the comment says that 12:40 miyagawa: but in case of M::I it's auto turned into a method call by AUTOLOAD I guess 12:42 miyagawa: right, then $abs is always a bin directory 12:42 miyagawa: and -x $abs is right -- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #55668] AutoReply: can_cc() in Makefile.PL is broken
Date: Wed, 17 Mar 2010 12:53:22 -0700
To: bug-Params-Util [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Alias, I committed a fix with r11635 on your SVN trunk. Make a release whenever it's convenient for you. Thanks.
Fixed in Params::Util 1.01