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 peppler dot org>
Subject: Re: make test fails in dblib.t
Date: Mar 15 2001 2:47PM

Boyd Adamson writes:
 > 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)
 > PERL_DL_NONLAZY=1
 > /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

 > 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?


[ I have to add this to the FAQ...]

There are some EBFs of OpenClient on Solaris (and possibly some other
platforms) where the dbpoll() call fails when called with a -1 timeout
value (as you've found out!)

This is not serious unless you need to use dbpoll(), in which case you
should try to get a more recent EBF for OpenClient.

Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com