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: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Sybperl 2.0.3 fails 'make test'
Date: Feb 29 1996 7:22AM

> From: Anibal A Acero 
> 
> This is my first attempt to compile sybperl and I don't use it, so please 
> pardon any obvious mistakes.
> 
> I'm trying to get sybperl running on a Sparc10 run SunOS 4.1.3.  I just 
> compiled perl5.002gamma with gcc 2.7.2;

[...deleted...]

> PERL_DL_NONLAZY=1 /home/aacero/local_share/perl5/bin/perl -I../blib/arch/ 
> -I../b
> lib/lib/ -I/home/aacero/local_share/perl5/lib/sun4-sunos/5.002 
> -I/home/aacero/lo
> cal_share/perl5/lib -e 'use Test::Harness qw(&runtests $verbose); 
> $verbose=0; ru
> ntests @ARGV;' t/*.t
> t/dblib.............Subroutine Sybase::DBlib::SUCCEED redefined at (eval 
> 2) line
>  1.
> Subroutine Sybase::DBlib::NO_MORE_RESULTS redefined at (eval 5) line 1.
> Subroutine Sybase::DBlib::FAIL redefined at (eval 8) line 1.
> Aborting test: output counter mismatch [test 12 answered when test 13 
> expected]
> FAILED tests 13-16
>         Failed 4/16 tests, 75.00% okay
> Failed 1 test script, 0.00% okay. 3/16 subtests failed, 81.25% okay.

Two things: One perl5.002gamma has re-interoduced a small bug that
5.002b[1, 2] had resolved, and has to do with pre-declaring subs via
the
    use subs qw(...);
directive. This is not important, and can be solved by editing
DBlib/DBlib.pm and changing the line that reads
	if($] >= 5.002)
to
	if($] >= 5.003)
to get rid of these warnings.

The test failure is due to the Test::Harness module being a lot
pickier. This is not important (I'm certain that your sybperl build is
fine. You can run
	cd /export/home/aacero/sybperl-2.03/DBlib
	perl -I../blib/arch -I../blib/lib t/dblib.t
to make sure if you wish (you should not get any 'not ok' messages).

Michael