Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBD::Sybase 1.07 install on Solaris 8 - failing t/exec.t test
Date: Nov 2 2005 7:37PM
On Tue, 2005-11-01 at 18:38 -0800, Greg Earle wrote:
> 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:
> 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 == 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?
It looks like the output parameter that should be 5.4 isn't quite that.
I'm not sure what the reason might be, but you could edit the script and
print out the @out list, like this:
right after the $sth->func() call to see what you get.
Michael Peppler - firstname.lastname@example.org - http://www.peppler.org/
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html