PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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

garyw@uunet.pipex.com wrote:
> 
> 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[1]: Leaving directory `/usr/local/src/sybperl-2.08/DBlib'
> make[1]: 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)
> t/sybperl...........ok
> Failed 1 test script, 50.00% okay. 30/60 subtests failed, 50.00% okay.
> make[1]: *** [test_dynamic] Error 29
> make[1]: 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
module.

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
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler