(unknown)

Greg Earle <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
Hello,

I'm having problems getting the current DBD::Sybase 1.07 to
install on a Solaris 8 system (via CPAN).  The particulars:

     - Perl built on Solaris 7 (first with 5.6.1, now with 5.8.7)
     - "make install" run on Solaris 8
     - Installed newer CPAN (with all pre-reqs) and then DBI (1.48)
       via CPAN as well
     - Sybase/$SYBASE is in /usr/local/sybase; using Sybase 12.5.1

When I go to install DBD::Sybase, it builds OK and then gets
to the tests, and that's where I hit this:

[...]
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....ok
t/base..........ok
t/exec..........NOK 11
#     Failed test (t/exec.t at line 88)
t/exec..........ok 12/22# Looks like you failed 1 test of 22.
t/exec..........dubious
[...]

Ran it manually, and I get the same thing (not surprisingly)

solaris8:1:273 [/.cpan/build/DBD-Sybase-1.07] # perl t/exec.t
1..22
ok 1 - use DBI;
ok 2 - use DBD::Sybase;
ok 3 - Connect
ok 4 - Prepare sp_helpindex
ok 5 - exec sysusers
ok 6 - -1 (create proc)
#
ok 7 - prepare dbitest
ok 8 - execute dbitest 1
ok 9 - exec dbitest 2
ok 10 - exec dbitest 3
not ok 11 - out param 1
#     Failed test (t/exec.t at line 88)
[... other tests OK ...]

This happens with both Perl 5.6.1 and 5.8.7, same exact thing.

I thought at first perhaps my Sybase server/login/password/database
information was incorrect, but I don't think I would've gotten this
far if it hadn't been.

That part of t/exec.t is

[...]
$rc = $sth->execute(undef, 25, 3.2234, "jan 3 2001", 5.4);
ok(defined($rc), "exec dbitest 3");
my @out = $sth->func('syb_output_params');
ok($out[0] == 5.4, "out param 1");

Neither my Perl nor my (non-existent) Sybase knowledge are good
enough to tell what's going on here.  Any ideas, Mike?

Thanks,

     - Greg
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.