PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Failing to compile DBD::Sybase on Suse 9.2
Date: Jan 24 2005 4:59AM

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  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html