in reply to Installing Bit::Vector::Overload on OS X

On my OSX bleadperl:
Running make test PERL_DL_NONLAZY=1 /opt/perl/snap/bin/perl "-MExtUtils::Command::MM" "- +e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00____version....ok + t/01________new....ok + t/02____destroy....ok + t/03_operations....ok + t/04__functions....ok + t/05_____primes....ok + t/06_____subset....ok + t/07____compare....ok + t/08_____resize....ok + t/09_parameters....ok + t/10__intervals....ok + t/11______shift....ok + t/12_____string....ok + t/13__increment....ok + t/14______empty....ok + t/15________add....ok + t/16___subtract....ok + t/17________gcd....ok + t/28__chunklist....ok + t/30_overloaded....ok + t/40__auxiliary....ok + All tests successful. Files=21, Tests=68151, 7 wallclock secs ( 1.09 cusr + 0.14 csys = 1 +.23 CPU) STBEY/Bit-Vector-6.4.tar.gz /usr/bin/make test -- OK
So, maybe it's a problem with the installed Perl?

Replies are listed 'Best First'.
Re^2: Installing Bit::Vector::Overload on OS X
by dhosek (Beadle) on Jun 19, 2007 at 21:22 UTC
    Hmm, my perl install is the standard install from OS X (G4 powerbook, running 10.4.9, perl v5.8.6 with patches 23953, 33990 and SPRINTF0). Is there a newer version of perl I should be running on OS X (I just checked and the newer Intel iMac I have at work has the same perl version).

    Just tried installing it on the iMac and it seems to pass the tests fine... I wonder if this is a bigendian v. littleendian issue or if Randal's spotting an issue with the perl installation.

    Looking at 28__chunklist doesn't seem to especially clear things up as to why things are going wrong, but I haven't taken that close a look at what's happening there either.

      Looking at 28__chunklist doesn't seem to especially clear things up as to why things are going wrong

      You'll get more verbose (and perhaps more meaningful) output if you run the test as:
      perl -Mblib t/28__chunklist.t
      Also, it will probably help if you insert some print statements into the test script that will enable you to see the values that are being obtained and causing the failure.

      The same error is reported by one cpan tester at http://www.nntp.perl.org/group/perl.cpan.testers/2006/10/msg364997.html. Maybe you can work something out regarding the source of the problem by comparing what you both have in common (eg perl version, pre-requisites, etc.). The only Darwin builds reported as failing at http://cpantesters.perl.org/show/Bit-Vector.html#Bit-Vector-6.4 are for perl 5.8.6 - though that doesn't necessarily mean that perl 5.8.6 is the problem.

      Cheers,
      Rob