On Tue, 29 Jul 2003, Joshua Hoblitt wrote: > I think that XSLoader isn't correctly handling the version argument - > it's hard to tell as that is some scary code. :) I know that your not > to blame for XSLoader but your better qualified to determine what the > issue is then I am. Any ideas? > > -- > # perl Makefile.PL --pm > Checking if your kit is complete... > Looks good > Writing Makefile for DateTime > # make > cp lib/DateTime.pm blib/lib/DateTime.pm > cp lib/DateTime/Duration.pm blib/lib/DateTime/Duration.pm > cp lib/DateTimePP.pm blib/lib/DateTimePP.pm > cp lib/DateTimePPExtra.pm blib/lib/DateTimePPExtra.pm > cp lib/DateTime/Infinite.pm blib/lib/DateTime/Infinite.pm > Manifying blib/man3/DateTime.3 > Manifying blib/man3/DateTime::Duration.3 > Manifying blib/man3/DateTime::Infinite.3 > # make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/00load...........# Failed test (t/00load.t at line 6) > # Tried to use 'DateTime'. > # Error: DateTime object version 0.13 does not match bootstrap parameter 0.1402 > at /usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/DynaLoader.pm line 249. > # BEGIN failed--compilation aborted at > /root/.cpan/build/DateTime-0.1402/blib/lib/DateTime.pm line 38. > # Compilation failed in require at (eval 1) line 2. > # Looks like you failed 1 tests of 1. > t/00load...........dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 1 > Failed 1/1 tests, 0.00% okay
I've gotten this as a test failure from one of the automated CPAN tester boxes, also running Solaris. It could just be an @INC problem, in that it's finding the wrong .so file first. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
