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: <dweyer at cox dot net>
Subject: make test not working for Sybase::Simple
Date: Feb 11 2005 5:15PM

I went ahead and got the sybperl compiled and linked and send out using su to the proper directories.  Now when trying to do the same for Sybase::Simple I am getting the following errors when running "make test".   All test worked fine on the sybperl installation.  I am using the 64-bit HP   version of Openclient but if sybperl works this should work as well I thought since it is built on top of sybperl.  I would appreciate your input as I use Sybase::Simple in almost all my scripts and am getting behind trying to figure this out on an HP platform.  Works great on Linux and Solaris!  Line 107 is just the database connection handling so I am confused.



ahdsedstap01 41: tar xvf Sybase-Simple-0.56.tar
x Sybase-Simple-0.56/, 20325 bytes, 40 tape blocks
x Sybase-Simple-0.56/t/main.t, 3033 bytes, 6 tape blocks
x Sybase-Simple-0.56/README, 1133 bytes, 3 tape blocks
x Sybase-Simple-0.56/PWD, 212 bytes, 1 tape blocks
x Sybase-Simple-0.56/Makefile.PL, 1891 bytes, 4 tape blocks
x Sybase-Simple-0.56/Changes, 513 bytes, 2 tape blocks
x Sybase-Simple-0.56/MANIFEST, 59 bytes, 1 tape blocks
ahdsedstap01 42: cd Sybase-Simple-0.56
ahdsedstap01 43: ls
Changes      MANIFEST     Makefile.PL  PWD          README    t
ahdsedstap01 44: perl Makefile.PL
The Sybase::Simple module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: troll): SPS_COMFISC_PROD
User ID to log in to Sybase (default: sa): deyer
Password (default: undef): password
Checking if your kit is complete...
Looks good
Writing Makefile for Sybase::Simple
ahdsedstap01 45: make
cp blib/lib/Sybase/
AutoSplitting blib/lib/Sybase/ (blib/lib/auto/Sybase/Simple)
Manifying blib/man3/Sybase::Simple.3
ahdsedstap01 46: make test
        PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/main....ok 1/11OC: 4 5 ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
connection failed... at /emc/workspace/deyer/perl_utils/Sybase-Simple-0.56/blib/lib/Sybase/ line 107.
Can't call method "Scalar" on an undefined value at t/main.t line 60.
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-11
        Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
t/main.t     255 65280    11   19 172.73%  2-11
Failed 1/1 test scripts, 0.00% okay. 10/11 subtests failed, 9.09% okay.
*** Error exit code 2