Skip to Content.
Sympa Menu

freetds - Re: [freetds] DBD::Sybase make errors

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] DBD::Sybase make errors
  • Date: Thu, 22 Jul 2004 20:24:55 +0200

On Thu, 2004-07-22 at 19:09, jonasb AT alum.rpi.edu wrote:
> Hi -
>
> I have freetds installed with the SYBASE env variable set to
> /usr/local/freetds
> I also have DBI installed
>
> I went to install the sybperl module as the DBD::Sybase README states
> that I need the CTLib module, and I get the following make error:

The DBD::Sybase module doesn't need the CTlib module.

> If I try to make the DBD::Sybase module directly, I get the following
> error:
>
> gcc -c -I/usr/local/freetds/include -DNO_THREADS
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686
> -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fpic
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
> dbdimp.c:3655: parse error before '*' token
> dbdimp.c: In function `to_binary':
> dbdimp.c:3659: `CS_BINARY' undeclared (first use in this function)

Hmmm - don't know why that wouldn't be defined. That particular bit of
code isn't new, so FreeTDS should have it defined somewhere.

Which version of FreeTDS do you have?

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org 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






Archive powered by MHonArc 2.6.24.

Top of Page