Skip Menu |

This queue is for tickets about the Socket-GetAddrInfo CPAN distribution.

Report information
The Basics
Id: 54675
Status: resolved
Priority: 0/
Queue: Socket-GetAddrInfo

People
Owner: Nobody in particular
Requestors: chris [...] wolfwings.us
Cc:
AdminCc:

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



Subject: CentOS 5.X cannot (re)install Socket::GetAddrInfo automatically via CPAN
Date: Tue, 16 Feb 2010 13:28:11 -0600
To: bug-Socket-GetAddrInfo [...] rt.cpan.org
From: Chris Armstrong <chris [...] wolfwings.us>
While attempting to install FCGI::Async 0.19, the following issue was encountered: It tried to (re)install IO::Async, which (re)installs Socket::GetAddrInfo 0.15 in this case. CPAN.pm: Going to build P/PE/PEVANS/Socket-GetAddrInfo-0.15.tar.gz # running Build.PL /usr/bin/perl Build.PL OS unsupported - missing ExtUtils::CChecker at Build.PL line 6. Couldn't run Build.PL: at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Compat.pm line 258. It appears that Socket::GetAddrInfo does not properly reference ExtUtils::CChecker as a dependancy. Manually running CPAN to install ExtUtils::CChecker resolved the issues. - Chris Armstrong
On Tue Feb 16 14:29:50 2010, chris@wolfwings.us wrote: Show quoted text
> /usr/bin/perl Build.PL > OS unsupported - missing ExtUtils::CChecker at Build.PL line 6. > Couldn't run Build.PL: at > /usr/lib/perl5/site_perl/5.8.8/Module/Build/Compat.pm line 258. > > It appears that Socket::GetAddrInfo does not properly reference > ExtUtils::CChecker as a dependancy. Manually running CPAN to install > ExtUtils::CChecker resolved the issues.
Interesting. It's listed as a configure_requires: configure_requires: ExtUtils::CChecker: 0 (see http://cpansearch.perl.org/src/PEVANS/Socket-GetAddrInfo-0.15/META.yml ) It could just be that your CPAN.pm is too old to recognise the relatively-new configure_requires META.yml key? What version do you have? Try $ perl -MCPAN -e'die $CPAN::VERSION' 1.9402 at -e line 1. -- Paul Evans
On Wed Feb 17 18:13:30 2010, PEVANS wrote: Show quoted text
> It could just be that your CPAN.pm is too old to recognise the > relatively-new configure_requires META.yml key? > > What version do you have? Try > > $ perl -MCPAN -e'die $CPAN::VERSION' > 1.9402 at -e line 1.
Also I'm informed you'll need a version at least 1.91_54 for this to work. -- Paul Evans
Subject: Re: [rt.cpan.org #54675] CentOS 5.4 cannot (re)install Socket::GetAddrInfo automatically via CPAN
Date: Wed, 17 Feb 2010 19:51:50 -0600
To: bug-Socket-GetAddrInfo [...] rt.cpan.org
From: Chris Armstrong <chris [...] wolfwings.us>
On Wed, Feb 17, 2010 at 17:27, Paul Evans via RT < bug-Socket-GetAddrInfo@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=54675 > > > On Wed Feb 17 18:13:30 2010, PEVANS wrote:
> > It could just be that your CPAN.pm is too old to recognise the > > relatively-new configure_requires META.yml key? > > > > What version do you have?
>
Ah, CPAN hadn't actually been upgraded from the stock version shipped with CentOS 5.4 (as verified from /etc/redhat-release), so it was still 1.7602 (and the 'die' line did work just fine on that version.) Sorry for the false bug report, though I'm surprised the problem CPAN module didn't complain that CPAN itself wasn't updated enough. Or is that the issue, only newer versions of CPAN allow for describing the correct form of dependencies to mark such a problem in the first place if I'm understanding things correctly? - Chris Armstrong
This appears to be sorted now, so I'm closing the ticket. Feel free to reopen it if there's anything outstanding. -- Paul Evans