Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Sybperl-2.08 make test failure
Date: Oct 23 1997 4:50PM
> Hi Michael,
> I've just been trying to install Sybperl 2.08 on a Solaris 2.5.1 box with Perl 5.002.
> I get the following errors when I perform the 'make test' portion of the installation. I've
> checked the CONFIG file is correct (to previous installations of 2.07).
> Files=2, Tests=32, 1 secs ( 0.44 cusr 0.06 csys = 0.50 cpu)
> make: Leaving directory `/usr/local/src/sybperl-2.08/DBlib'
> make: Entering directory `/usr/local/src/sybperl-2.08/Sybperl'
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/lib/perl5.002/sun4-solaris/5.002 -I/usr/local/lib/perl5.002 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/dbmoney...........Undefined subroutine &Sybase::Sybperl::dbmnyzero called at t/dbmoney.t line 47.
> FAILED tests 3-32
> Failed 30/32 tests, 6.25% okay
> Test returned status 255 (wstat 65280)
> Failed 1 test script, 50.00% okay. 30/60 subtests failed, 50.00% okay.
> make: *** [test_dynamic] Error 29
> make: Leaving directory `/usr/local/src/sybperl-2.08/Sybperl'
> make: *** [test] Error 2
> Any idea what's actually gone wrong here? The money.t file seems to be quite old (march 96). The tests previous
> to this were ok, and I installed 2.07 to the same machine without incident.
I was able to reproduce the problem here with 5.002. I made a change
to Sybperl.pm to silence some warnings from perl 5.004, and that
seems to have broken the AutoLoading facility for the Sybperl.pm
You can fix this by editing Sybperl.pm and moving the __END__ token
to the very end of the file, or by upgrading to perl5.004_04...
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler