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: Jean Uwacu <jean dot uwacu at freemindconsulting dot com>
Subject: DBD::Sybase FreeTDS 0.63 , DBD-Sybase-1.05: Make Ok, Make Test Fails, Solaris 9, Perl 5.8.5
Date: Jul 4 2005 12:55PM

I've installed FreeTDS 0.63 and would it to work with DBD-Sybase-1.05.
After my installation of DBI which goes well, i begin installing DBD-Sybase.
I added in the CONFIG file : EXTRA_LIBS=ltli needed for Solaris 5.9 and 
linked the lib dynamically.
But make test failed with the following outputs:
Could it be possible to work with it ?
 

Thanks,

Jean Uwacu.  

DBD-Sybase-1.05> make test  produces:

>> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>> t/autocommit....ok 1/5cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/autocommit....ok 4/5#     Failed test (t/autocommit.t at line 61)
>> t/autocommit....NOK 5# Looks like you failed 1 tests of 5.
>> t/autocommit....dubious
>>        Test returned status 1 (wstat 256, 0x100)
>> DIED. FAILED test 5
>>        Failed 1/5 tests, 80.00% okay
>> t/base..........cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/base..........ok
>> t/exec..........ok 1/17cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/exec..........ok 4/17#     Failed test (t/exec.t at line 39)
>> t/exec..........dubious
>>        Test returned status 0 (wstat 139, 0x8b)
>>        test program seems to have generated a core
>> DIED. FAILED tests 5, 7-17
>>        Failed 12/17 tests, 29.41% okay
>> t/fail..........ok 1/12cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/fail..........ok 3/12#     Failed test (t/fail.t at line 35)
>> t/fail..........ok 6/12ct_result(ct_dynamic(CS_PREPARE)) returned 15 
>> at blib/lib/DBD/Sybase.pm line 133.
>> Can't call method "execute" on an undefined value at t/fail.t line 53.
>> # Looks like you planned 12 tests but only ran 6.
>> # Looks like your test died just after 6.
>> t/fail..........dubious
>>        Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED tests 4, 7-12
>>        Failed 7/12 tests, 41.67% okay
>> t/login.........ok 1/4cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/login.........ok
>> t/main..........ok 1/29cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/main..........ok 4/29Use of uninitialized value in numeric gt (>) 
>> at t/main.t line 48.
>> t/main..........ok 6/29#     Failed test (t/main.t at line 48)
>> Can't use an undefined value as an ARRAY reference at t/main.t line 49.
>> t/main..........NOK 7# Looks like you planned 29 tests but only ran 7.
>> # Looks like your test died just after 7.
>> t/main..........dubious
>>        Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED tests 7-29
>>        Failed 23/29 tests, 20.69% okay
>> t/multi_sth.....ok 1/43cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/multi_sth.....ok 7/43ct_result(ct_dynamic(CS_PREPARE)) returned 15 
>> at /opt/downloads/DBD-Sybase-1.05/blib/lib/DBD/Sybase.pm line 133.
>> t/multi_sth.....ok 8/43#     Failed test (t/multi_sth.t at line 83)
>> t/multi_sth.....ok 9/43ct_result(ct_dynamic(CS_PREPARE)) returned 15 
>> at /opt/downloads/DBD-Sybase-1.05/blib/lib/DBD/Sybase.pm line 133.
>> t/multi_sth.....NOK 10#     Failed test (t/multi_sth.t at line 85)
>> Can't call method "execute" on an undefined value at t/multi_sth.t 
>> line 87.
>> t/multi_sth.....NOK 11# Looks like you planned 43 tests but only ran 11.
>> # Looks like your test died just after 11.
>> t/multi_sth.....dubious
>>        Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED tests 10-43
>>        Failed 34/43 tests, 20.93% okay
>> t/nsql..........ok 1/7cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/nsql..........NOK 4#     Failed test (t/nsql.t at line 25)
>> t/nsql..........ok 5/7#     Failed test (t/nsql.t at line 41)
>> t/nsql..........NOK 6# Looks like you failed 2 tests of 7.
>> t/nsql..........dubious
>>        Test returned status 2 (wstat 512, 0x200)
>> DIED. FAILED tests 4, 6
>>        Failed 2/7 tests, 71.43% okay
>> t/place.........ok 1/13cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/place.........ok 4/13ct_result(ct_dynamic(CS_PREPARE)) returned 15 
>> at /opt/downloads/DBD-Sybase-1.05/blib/lib/DBD/Sybase.pm line 133.
>> t/place.........NOK 5#     Failed test (t/place.t at line 31)
>> Can't call method "execute" on an undefined value at t/place.t line 33.
>> # Looks like you planned 13 tests but only ran 5.
>> # Looks like your test died just after 5.
>> t/place.........dubious
>>        Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED tests 5-13
>>        Failed 9/13 tests, 30.77% okay
>> t/thread........skipped
>>        all skipped: this perl 5.008005 not configured to support 
>> iThreads
>> t/xblk..........ok 1/62cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/xblk..........ok 4/62#     Failed test (t/xblk.t at line 73)
>> t/xblk..........NOK 5Can't call method "execute" on an undefined 
>> value at t/xblk.t line 83.
>> # Looks like you planned 62 tests but only ran 5.
>> # Looks like your test died just after 5.
>> t/xblk..........dubious
>>        Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED tests 5-62
>>        Failed 58/62 tests, 6.45% okay
>> t/xblob.........ok 1/11cs_config(CS_LOC_PROP) failed at 
>> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 253.
>> t/xblob.........ok 5/11Setting of CS_OPT_TEXTSIZE failed. at 
>> t/xblob.t line 56.
>> #     Failed test (t/xblob.t at line 79)
>> t/xblob.........ok 9/11Setting of CS_OPT_TEXTSIZE failed. at 
>> t/xblob.t line 129.
>> #     Failed test (t/xblob.t at line 153)
>> t/xblob.........ok 11/11# Looks like you failed 2 tests of 11.
>> t/xblob.........dubious
>>        Test returned status 2 (wstat 512, 0x200)
>> DIED. FAILED tests 6, 10
>>        Failed 2/11 tests, 81.82% okay
>> Failed Test    Stat Wstat Total Fail  Failed  List of Failed
>> ------------------------------------------------------------------------------- 
>>
>> t/autocommit.t    1   256     5    1  20.00%  5
>> t/exec.t          0   139    17   23 135.29%  5 7-17
>> t/fail.t        255 65280    12   13 108.33%  4 7-12
>> t/main.t        255 65280    29   45 155.17%  7-29
>> t/multi_sth.t   255 65280    43   66 153.49%  10-43
>> t/nsql.t          2   512     7    2  28.57%  4 6
>> t/place.t       255 65280    13   17 130.77%  5-13
>> t/xblk.t        255 65280    62  115 185.48%  5-62
>> t/xblob.t         2   512    11    2  18.18%  6 10
>> 1 test skipped.
>> Failed 9/12 test scripts, 25.00% okay. 148/208 subtests failed, 
>> 28.85% okay.
>> make: *** [test_dynamic] Error 2
>