develooper Front page | perl.perl5.porters | Postings from April 2010

test failure regression on MacOS 10.6

Thread Next
From:
John Napiorkowski
Date:
April 14, 2010 13:34
Subject:
test failure regression on MacOS 10.6
Message ID:
z2ob62523391004141334z61458296na44fdbdabb415149@mail.gmail.com
I noticed a regression introduced sometime between 5.12rc2 and the final
version which is very similar to:

http://groups.google.com/group/perl.perl5.porters/browse_thread/thread/6dcaf949ff22c786/aa756d217366502b?lnk=raot

The actually error I am seeing is:

++++++++++++++
./cpan/CPANPLUS-Dist-Build/t/01_CPANPLUS-Dist-Build-Constants.t .. ok
===(    3595;129  41/58  4/?
)==========================================[ERROR]
Build.PL failed: perl version 5.12.0 can't run /usr/bin/cpanp-run-perl.  Try
the
alternative(s):

/usr/bin/cpanp-run-perl5.10.0 (uses perl 5.10.0)

Run "man perl" for more information about multiple version support in
Mac OS X.

[ERROR] Unable to create a new distribution object for 'Foo::Bar' -- cannot
continue

#   Failed test '   Preparing module'
#   at t/02_CPANPLUS-Dist-Build.t line 112.

#   Failed test '   Prepared status registered'
#   at t/02_CPANPLUS-Dist-Build.t line 119.
===(    3608;130  41/58  17/?  0/?
)====================================[ERROR]
Build.PL failed: perl version 5.12.0 can't run /usr/bin/cpanp-run-perl.  Try
the
alternative(s):

/usr/bin/cpanp-run-perl5.10.0 (uses perl 5.10.0)

Run "man perl" for more information about multiple version support in
Mac OS X.
[ERROR] Unable to create a new distribution object for 'Foo::Bar' -- cannot
continue
++++++++++

I found that the suggested solution of: "chmod +x cpan/CPANPLUS/bin/* " did
fix this problem.  I'd happy to try and help see this in 5.12.1 since it
seems to affect every MacOS machine I've tried to install 5.12 on.  Not sure
how hard this fix would be, but it seems like something pretty innocuous.
Thanks!

-- 
John Napiorkowski
Software Engineer
Shutterstock
60 Broad Street, 30th Floor
New York, NY 10004
p:  646-710-3392

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About