DBD::Sybase FreeTDS 0.62.4 , DBD-Sybase-1.05: Make Ok, Make Test Fails, Solaris 7, Perl 5.8.5

Jean Uwacu <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
Hi,
I've installed FreeTDS 0.62.4 on a Solaris 7 and would it to work with DBD-Sybase-1.05.
DBI is installed and detected by Makefile. I added in the CONFIG file : EXTRA_LIBS=ltli needed for Solaris 5.7 and linked the lib dynamically.
But make test failed with the following outputs, ending with "make: Fatal error: Command failed for target `test_dynamic'"
I'am asking what's gone wrong... have you some suggestion?

Thanks,

Jean.



root:/dbi/DBD-Sybase-1.05_02> make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....ok 4/9#     Failed test (t/autocommit.t at line 61)
t/autocommit....ok 9/9# Looks like you failed 1 tests of 9.
t/autocommit....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
        Failed 1/9 tests, 88.89% okay
t/base..........ok
t/exec..........ok 4/22#     Failed test (t/exec.t at line 41)
t/exec..........ok 7/22#     Failed test (t/exec.t at line 68)
t/exec..........NOK 8#     Failed test (t/exec.t at line 73)
t/exec..........NOK 9#     Failed test (t/exec.t at line 77)
t/exec..........NOK 10#     Failed test (t/exec.t at line 79)
t/exec..........NOK 11#     Failed test (t/exec.t at line 95)
t/exec..........NOK 12#     Failed test (t/exec.t at line 99)
t/exec..........NOK 13#     Failed test (t/exec.t at line 103)
t/exec..........NOK 14#     Failed test (t/exec.t at line 108)
t/exec..........NOK 15#     Failed test (t/exec.t at line 112)
t/exec..........NOK 16#     Failed test (t/exec.t at line 116)
t/exec..........ok 18/22# Looks like you planned 22 tests but only ran 18.
t/exec..........dubious
        Test returned status 15 (wstat 3840, 0xf00)
DIED. FAILED tests 5, 8-17, 19-22
        Failed 15/22 tests, 31.82% okay
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
t/main..........ok 5/33Use of uninitialized value in numeric gt (>) at 
t/main.t line 49.
t/main..........ok 6/33#     Failed test (t/main.t at line 49)
t/main..........NOK 7Can't use an undefined value as an ARRAY reference 
at t/main.t line 50.
# Looks like you planned 33 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-33
        Failed 27/33 tests, 18.18% okay
t/multi_sth.....ok 9/43ct_result(ct_dynamic(CS_PREPARE)) returned 15 at 
/dbi/DBD-Sybase-1.05_02/blib/lib/DBD/Sybase.pm line 133.
#     Failed test (t/multi_sth.t at line 83)
t/multi_sth.....NOK 10ct_result(ct_dynamic(CS_PREPARE)) returned 15 at 
/dbi/DBD-Sybase-1.05_02/blib/lib/DBD/Sybase.pm line 133.
#     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..........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..........ok 7/7# 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 4/13ct_result(ct_dynamic(CS_PREPARE)) returned 15 at 
/dbi/DBD-Sybase-1.05_02/blib/lib/DBD/Sybase.pm line 133.
#     Failed test (t/place.t at line 31)
t/place.........NOK 5Can'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 4/62#     Failed test (t/xblk.t at line 73)
Can't call method "execute" on an undefined value at t/xblk.t line 83.
t/xblk..........NOK 5# 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 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     9    1  11.11%  5
t/exec.t         15  3840    22   19  86.36%  5 8-17 19-22
t/fail.t        255 65280    12   13 108.33%  4 7-12
t/main.t        255 65280    33   53 160.61%  7-33
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. 155/221 subtests failed, 29.86% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'





    This is details for perl -V:
    Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
      Platform:
        osname=solaris, osvers=2.7, archname=sun4-solaris
        uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 solaris '
        config_args='-Dcc=gcc -B/usr/ccs/bin/'
        hint=recommended, useposix=true, d_sigaction=define
        usethreads=undef use5005threads=undef useithreads=undef
    usemultiplicity=undef
        useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
        use64bitint=undef use64bitall=undef uselongdouble=undef
        usemymalloc=n, bincompat5005=undef
      Compiler:
        cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
        optimize='-O',
        cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
        ccversion='', gccversion='3.3.2', gccosandvers='solaris2.7'
        intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
        d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
        ivtype='long', ivsize=4, nvtype='double', nvsize=8,
    Off_t='off_t', lseeksize=8
        alignbytes=8, prototype=define
      Linker and Libraries:
        ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
        libpth=/usr/local/lib /usr/lib /usr/ccs/lib
        libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
        perllibs=-lsocket -lnsl -ldl -lm -lc
        libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
        gnulibc_version=''
      Dynamic Linking:
        dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
        cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


    Characteristics of this binary (from libperl):
      Compile-time options: USE_LARGE_FILES
      Built under solaris
      Compiled at Jul 28 2004 04:54:30
      @INC:
        /usr/local/lib/perl5/5.8.5/sun4-solaris
        /usr/local/lib/perl5/5.8.5
        /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
        /usr/local/lib/perl5/site_perl/5.8.5
        /usr/local/lib/perl5/site_perl
        .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.