Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id:
23868
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
wyant [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
  • 1.96
  • 1.97
  • 1.9701
  • 1.9702
Fixed in:
(no value)



Subject: nanosleep not detected under Mac OS 10.3.9 starting with Time::HiRes 1.96
Beginning with Time::HiRes 1.96, Makefile.PL's has_nanosleep() test fails to compile under Mac OS 10.3.9, Perl 5.8.8. I apologize for not reporting this sooner, but I don't use nanosleep(), and did not notice the difference in Makefile.PL output until installing 1.9702. I did not actually test 1.9701, but will vouch that the problem is in 1.97. The problem appears to be the change in the C program that does the test from main () { to main _((int argc, char** argv, char** env)) { I'm not familiar with the construct being used, but note that the original code compiles, and produces a working Time::HiRes::nanosleep(). So does main (int argc, char** argv, char** env) { I have attached three files: Makefile-1.95.log is the output of perl Makefile.PL >Makefile-1.95.log
Show quoted text
2>&1 being done in a directory containing Time::HiRes 1.95, with the
VERBOSE environment variable set to 1; Makefile-1.96.log is the same for Time::HiRes 1.96; perl-V.log is the output of perl -V. I will be happy to provide whatever further information you need. Thank you for you time and trouble. Tom Wyant
Subject: Makefile-1.96.log

Message body not shown because it is not plain text.

Subject: Makefile-1.95.log

Message body not shown because it is not plain text.

Subject: perl-V.log

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #23868] nanosleep not detected under Mac OS 10.3.9 starting with Time::HiRes 1.96
Date: Sat, 09 Dec 2006 19:47:31 -0500
To: bug-Time-HiRes@rt.cpan.org
From: Jarkko Hietaniemi <jhi@iki.fi>
Please see Time-HiRes 1.9703.
On Sat Dec 09 19:47:50 2006, jhi@iki.fi wrote:
Show quoted text
> Please see Time-HiRes 1.9703.
Thank you very much. 1.9703 works for me. For completeness, I have attached the output of Makefile.PL, and appended the output of an extremely crude test to try to demonstrate that nanosleep() actually works. $ perl <<eod
Show quoted text
> use Time::HiRes qw{nanosleep}; > print "Time::HiRes version ", Time::HiRes->VERSION, "\n"; > print scalar localtime, "\n"; > nanosleep (1e10); > print scalar localtime, "\n"; > eod
Time::HiRes version 1.9703 Sun Dec 10 12:08:43 2006 Sun Dec 10 12:08:53 2006 I appreciate your extremely prompt action. Thanks again. Tom Wyant

Message body not shown because it is not plain text.



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.