[freetds] DBD::Sybase make errors
mpeppler at peppler.org
Thu Jul 22 14:24:55 EDT 2004
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
> 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
> gcc -c -I/usr/local/freetds/include -DNO_THREADS
> -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 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
More information about the FreeTDS