Skip Menu |

This queue is for tickets about the Net-Ping CPAN distribution.

Report information
The Basics
Id: 49629
Status: resolved
Priority: 0/
Queue: Net-Ping

People
Owner: Nobody in particular
Requestors: thatton [...] medtrust-online.com
Cc:
AdminCc:

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



CC: Thomas Hatton <thatton [...] medtrust-online.com>
Subject: v2.36 test and install fails on Mac - "darwin"
Date: Fri, 11 Sep 2009 11:40:30 -0500
To: bug-Net-Ping [...] rt.cpan.org
From: Thomas Hatton <thatton [...] medtrust-online.com>
Hi - Doing some CPAN updates on Mac laptop, saw Net::Ping 2.36 update install fail. Checked, and it seems clear that the reason is the code in 500_ping_icmp.t, line 28 } elsif ($^O eq 'MacOS') { When I ran it under debug, and asked for $^O, it is shown as 'darwin', *not* 'MacOS' So, either the code needs to be something along the lines of: } elsif ($^O eq 'MacOS' || $^O eq 'darwin') { (hopefully you'll think of something much more clever) or, if MacOSX now supports icmp when running as root, then drop the conditional, ... whatever. System: Mac OS X v 10.6 (Snow Leopard) MacBook Pro Intel Core 2 Duo perl -v This is perl, v5.10.0 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) Regards, Tom Thomas Hatton, Ph.D. Sr. Director of Computational Biology MedTrust Online, LLC 9977 N. 90th St., Suite 110 Scottsdale, AZ 85258 thatton@medtrust-online.com Phone: 480-268-2050 Fax: 480-268-2001
The "MacOS" is a holdover from MacPerl, the pre-Mac OS X Perl. This has been removed from the Perl core and is from the tests now as well as part of the 2.39 release. Please try again, but I'm assuming this bug is now resolved.