Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Boyd Adamson" <boyd-adamson at usa dot net>
Subject: make test fails in dblib.t
Date: Mar 15 2001 4:28AM

I have a problem with the make test phase of sybperl installation. I have
been through the FAQ for all the make test problems and also can't see the
matching problem on a search of the net.

Here's the error:

# make test
Files=2, Tests=52,  1 wallclock secs ( 0.50 cusr +  0.17 csys =  0.67 CPU)
/usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/lib/perl5/5.6.0/sun4
-solaris -I/usr/local/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dblib.............ok 19/22FAILED tests 20-22
        Failed 3/22 tests, 86.36% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
t/dblib.t                    22    3  13.64%  20-22
Failed 1/2 test scripts, 50.00% okay. 3/35 subtests failed, 91.43% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /var/tmp/sybperl-2.13/DBlib
*** Error code 1
make: Fatal error: Command failed for target `test'

Some system info:

Sybperl version 2.13
# uname -a
SunOS fume 5.6 Generic_105181-21 sun4u sparc SUNW,Ultra-2
# echo $SYBASE
# perl -V:libs
libs='-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec';
# find / -name 'libtcl.*'

I've tracked the problem down to the fact that the dbpoll(-1) call in
t/dblib is returning the reason code 3 (which on my system is DBTIMEOUT),
even though I thought that the -1 parameter should make it never time out.
Anyway, changing to dbpoll(2000) makes everything work. Have I missed
something? Can I safely ignore this?

Thanks is advance,


Boyd Adamson