On Sat, 2004-06-26 at 02:33, Eric Wimer wrote:
> We're running Solaris 2.8 with the Sybase ASE v12.5.1 client installed
> on it. I've confirmed that we can connect to a remote database using
> isql. Our current interfaces file:
>
> -------------file starts--------------
> foo
> query tli tcp /dev/tcp \x000207f1a98982020000000000000000
> master tli tcp /dev/tcp \x000207f1a98982020000000000000000
> -------------file ends----------------
>
> My working isql command:
>
> isql -P baz -S foo -U bar -D news
>
> My PWD file in the build directory:
>
> -------------file starts--------------
> # This file contains optional login id, passwd and server info for the
> test
> # programs:
> # You probably don't want to have it lying around after you've made
> # sure that everything works OK.
>
> PWD=baz
> SRV=foo
> UID=bar
> DB=news
> -------------file ends----------------
>
> I built DBD::Sybase v1.02 using DBI v1.14 with no problems reported.
> However, I get the following errors when I run make test:
>
> -------------command starts--------------
> make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0
> -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
> @ARGV;' t/*.t
> t/autocommit........Can't call method "do" on an undefined value at
> t/autocommit.t line 29.
> t/autocommit........dubious
Hmmm - weird.
Just try to run t/main.t for me please:
perl -Mblib t/main.t
and send me (not the list) the output.
Also - try the following:
#!/usr/bin/perl -w
use blib;
use DBI;
DBI->trace(4);
$dbh = DBI->connect("dbi:Sybase:server=foo;database=news", "bar",
"baz");
__END__
run it from the DBD::Sybase source directory, and send me the output.
Michael
--
Michael Peppler Data Migrations, Inc.
[EMAIL PROTECTED] http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html