Skip Menu |

This queue is for tickets about the POE-Component-Client-Ping CPAN distribution.

Report information
The Basics
Id: 19317
Status: resolved
Priority: 0/
Queue: POE-Component-Client-Ping

People
Owner: RCAPUTO [...] cpan.org
Requestors: fraterm [...] ideologies.org
Cc:
AdminCc:

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



Subject: Won't work on cygwin (perhaps solved)
Date: Wed, 17 May 2006 16:02:45 -0500
To: bug-poe-component-client-ping [...] rt.cpan.org
From: Michael Costello <fraterm [...] ideologies.org>
I had some trouble getting my (recently installed) cygwin distribution to use POE::Component::Client::Ping while writing a super-application bent on world domination, luckily I was able to resolve it by altering the module somewhat. The problem lies in the assumption that the "root" user exists on cygwin, it does not necessarily exist, though the userid you operate under may have enough authority to abuse packets appropriately P-C-C-P decides to croak (see line 52 of POE/Component/Client/Ping.pm ) unless you are running on VMS, simply changing this line (52) from: $> and ($^O ne "VMS") and not defined $params{Socket} to: $> and ( $^O ne ("cygwin" or "VMS") ) and not defined $params{Socket} solves the issue of it immediately denying a spawn, it seems to work for me currently with this adjusted only changing Ping.pm and 'use lib' ing in order to point to my version of the module. I'd love my pony made of a million dollars now, I heard 'dngor' was giving those out.
Your change is applied as revision 45. I've uploaded a new version to PAUSE. Thanks for the e-mail. Here's an I.O.U. for the pony. :)