Skip to Content.
Sympa Menu

freetds - Re: Using DBD::Sybase and Sybperl to access MS SQL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds
  • Subject: Re: Using DBD::Sybase and Sybperl to access MS SQL
  • Date: Tue, 14 Sep 1999 16:14:15


Hi,

You should grab a recent snapshot of CVS. Alot of work was done on getting
freetds to play nice with DBD::Sybase since the 0.46 release. I have not
tested DBD::Sybase 0.20, but 0.19 works quite nicely.

The unknown property warning is harmless. FreeTDS has no locales support,
so when the application attempt to set the locale the warning is printed.


Cheers,

Brian

On 09/14/99, "Adriano Nagelschmidt Rodrigues <anr AT ime.usp.br>" wrote:
> Hello list,
>
> I have to access a MS SQL 6.5 server from my Linux Redhat 5.2 machine (using
> Perl).
>
> I installed FreeTDS 4.6 and am trying to make either DBD::Sybase or Sybperl
> work, but without any success.
>
> DBD::Sybase 0.19 compiles ok (I removed all references to libtcl from
> Makefile.PL), but make test fails:
>
> [snoopy2:~/src/DBD-Sybase-0.19] $ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
> -I/usr/lib/perl5/i386-linux/5.00405 -I/usr/lib/perl5 -e 'use Test::Harness
> qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/autocommit........Unknown property 7
> Unknown property 13
>
> DBD::Sybase 0.20 fails to compile:
>
> [snoopy2:~/src/DBD-Sybase-0.20] $ make
> cc -c -I/usr/local/freetds/include
> -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -Dbool=char -DHAS_BOOL -O2
> -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fpic
> -I/usr/lib/perl5/i386-linux/5.00405/CORE dbdimp.c
> dbdimp.c: In function `syb_init':
> dbdimp.c:436: `CS_VER_STRING' undeclared (first use this function)
>
> With sybperl 2.10, make test generates
>
> PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
> -I/usr/lib/perl5/i386-linux/5.00405 -I/usr/lib/perl5 -e 'use Test::Harness
> qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/bcp...............Can't call method "sql" on an undefined value at t/bcp.t
> line 47.
> dubious
> Test returned status 22 (wstat 5632, 0x1600)
> DIED. FAILED tests 2-9
> Failed 8/9 tests, 11.11% okay
>
> Any ideas? Maybe something I missed in the CONFIG file?
>
> Thanks a lot,
>
> --
> Adriano




Archive powered by MHonArc 2.6.24.

Top of Page