Skip Menu |

This queue is for tickets about the Thread-Semaphore CPAN distribution.

Report information
The Basics
Id: 33341
Status: resolved
Priority: 0/
Queue: Thread-Semaphore

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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



Subject: Shadowed By the Core Version
Dear Jerry D. Hedden, Hi. This is imacat from Taiwan. I found that your Thread-Semaphore-2.04 was shadowed from the core Thread::Semaphore 2.01 supplied by Perl 5.8.8. imacat@rinse ~ % find /opt/perl/5.8.8/ -name Semaphore.pm /opt/perl/5.8.8/lib/site_perl/5.8.8/Thread/Semaphore.pm /opt/perl/5.8.8/lib/5.8.8/x86_64-linux-thread-multi-ld/IPC/Semaphore.pm /opt/perl/5.8.8/lib/5.8.8/Thread/Semaphore.pm imacat@rinse ~ % grep '$VERSION = ' /opt/perl/5.8.8/lib/site_perl/5.8.8/Thread/Semaphore.pm /opt/perl/5.8.8/lib/5.8.8/Thread/Semaphore.pm /opt/perl/5.8.8/lib/site_perl/5.8.8/Thread/Semaphore.pm:our $VERSION = '2.04'; /opt/perl/5.8.8/lib/5.8.8/Thread/Semaphore.pm:our $VERSION = '2.01'; imacat@rinse ~ % /opt/perl/5.8.8/bin/perl -mThread::Semaphore -e'print $Thread::Semaphore::VERSION;'; echo 2.01 imacat@rinse ~ % I tried to make a simple patch in the hope that it helps. Please tell me if you need any more information, or if I could be of any help.
Subject: Thread-Semaphore-2.04-installdirs.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Thread-Semaphore-2.04.orig/Makefile.PL Thread-Semaphore-2.04/Makefile.PL - --- Thread-Semaphore-2.04.orig/Makefile.PL 2008-02-15 06:07:33.000000000 +0800 +++ Thread-Semaphore-2.04/Makefile.PL 2008-02-18 01:25:56.000000000 +0800 @@ -21,6 +21,7 @@ 'Scalar::Util' => 1.10, 'Test::More' => 0.50, }, + 'INSTALLDIRS' => ($] >= 5.005 ? 'perl' : 'site'), ((ExtUtils::MakeMaker->VERSION() lt '6.25') ? ('PL_FILES' => { }) : ()), -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAke4boYACgkQi9gubzC5S1yyQQCgiJb1i0ljlQPqoumJ7ajChfRL zjsAn3u36hyqNWSD/mflvAylcHjjoClX =uA25 -----END PGP SIGNATURE-----
Fixed in recently uploaded version 2.05. Thanks.