Re: Failing to compile DBD::Sybase on Suse 9.2

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Sun, 2005-01-23 at 13:20, Klaus Danker wrote:
> Hi there,
> I'm trying to compile DBD-Sybase 1.05 on my Suse 9.2 Linux box with FreeTDS
> 0.62.4. I end up with a lot of error messages when trying to use it
> afterwards.


> =============================================================
>  And this is the result of "make test"
> 
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/autocommit....cs_config(CS_LOC_PROP) failed at

This can be cleared by removing the warn() function call in syb_init()
(around line 878 of dbdimp.c). The problem is that FreeTDS doesn't
implement cs_config() for CS_LOCALE, and returns CS_FAIL instead of
silently ignoring the issue.

> t/fail..........cs_config(CS_LOC_PROP) failed at
> /usr/lib/perl5/5.8.5/i586-linux-thread-multi/DynaLoader.pm line 253.
> src/tds/login.c: tds_connect: 192.168.1.114:1433: Verbindungsaufbau
> abgelehnt

Hmmm - if my German is good enough that means that the connection to the
server couldn't be established. Are you sure that the user/pwd is
correct?

Michael
-- 
Michael Peppler  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
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.