Click here to get back home

Problems installing DBD::Sybase on Mac OS X with SQLAnywhere9

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problems installing DBD::Sybase on Mac OS X with SQLAnywhere9 Matisse Enzer 05-04-2005
Posted by Matisse Enzer on May 4, 2005, 5:11 pm
Please log in for more thread options


Trying to install DBD-Sybase-1.05 on Mac OS X 10.3.9
I have installed the demo version of "SQL Anywhere Studio" and freetds-0.63

The module compiles fine, but make test fails - it cannot connect to the
database.

I wonder if I have the right settings for the connection. My PWD file in
the module directory contains:

SRV=SYBASE
PWD=sql
UID=dba
DB=asademo


Here is some test output. I edited t/autocommit.t to set DBI->trace(2)
and then:

root# perl t/autocommit.t
1..5
ok 1 - use DBI;
cs_config(CS_LOC_PROP) failed at
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm line
249.
ok 2 - use DBD::Sybase;
DBI 1.48-ithread default trace level set to 0x0/2 (pid 942)
-> DBI->connect(dbi:Sybase:server=SYBASE;database=asademo, dba,
****, HASH(0x801180))
-> DBI->install_driver(Sybase) for darwin perl=5.008001 pid=942
ruid=0 euid=0
install_driver: DBD::Sybase version 1.05 loaded from
blib/lib/DBD/Sybase.pm
<- install_driver= DBI::dr=HASH(0x867390)
-> connect for DBD::Sybase::dr (DBI::dr=HASH(0x867390)~0x880404
'server=SYBASE;database=asademo' 'dba' **** HASH(0x838908)) thr#800200
-> DESTROY for DBD::Sybase::db (DBI::db=HASH(0x838938)~INNER)
thr#800200
DESTROY for DBI::db=HASH(0x838938) ignored - handle not
initialised
<- DESTROY= undef at DBI.pm line 598
<- connect= undef at DBI.pm line 598
-> $DBI::errstr (&) FETCH from lasth=HASH
>> DBD::Sybase::dr::errstr
<- $DBI::errstr= undef
DBI connect('server=SYBASE;database=asademo','dba',...) failed:
(no error string)
not ok 3 - Connect
# Failed test (t/autocommit.t at line 29)
Can't call method "do" on an undefined value at t/autocommit.t line 31.
-- DBI::END
-> disconnect_all for DBD::Sybase::dr
(DBI::dr=HASH(0x867390)~0x880404) thr#800200
<- disconnect_all= 1 at DBI.pm line 677
# Looks like you planned 5 tests but only ran 3.
# Looks like your test died just after 3.
! -> DESTROY in DBD::_::common for DBD::Sybase::dr
(DBI::dr=HASH(0x880404)~INNER) thr#800200
! <- DESTROY= undef during global destruction


Similar ThreadsPosted
Error installing DBD::Sybase September 11, 2007, 12:39 pm
Problems while installing win32::api May 15, 2007, 4:34 pm
problems installing XML::Parser::Expat November 3, 2004, 3:50 am
Problems installing DBD::mysql on Solaris 10 November 2, 2005, 8:43 am
Problems Installing Image::Magick September 26, 2006, 3:35 pm
Problems when installing Template Toolkit on Activestate October 13, 2004, 11:06 pm
ASE 12.5 UTF-8 issues with Sybase::DBLib April 5, 2006, 5:05 am
Sybase::Xfer may not see delimiter? September 14, 2006, 3:52 pm
SQL Server triggers (dbi:ODBC vs dbi:Sybase) August 12, 2004, 9:15 am
Sybase Stored Procedure issue June 14, 2006, 12:27 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap