Re: Issue with Sybase DBD installation
Prasanth Sasidharan <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <F4A46DD21496904FA0AB64701D373F1408957DD740@CHNSHLMBX03.ad.infosys.com> |
Thnks for the reply Fred..I got it solved finally.. I got a recent version of FreeTDS and it worked.. Have a good day:) -----Original Message----- From: Frédéric Marchal [mailto:[email protected]] Sent: Tuesday, May 25, 2010 5:46 PM To: [email protected] Cc: Prasanth Sasidharan Subject: Re: [freetds] Issue with Sybase DBD installation On Tuesday 25 May 2010, Prasanth Sasidharan wrote: > Hi all, > I need to install DBD for Sybase in PERL 5.8.8.. I am > having DBD-Sybase-1.10... Yeah, also I am using DBI-1.611.. All this is > runnin on Sun Solaris .. Now, I start off, by setting the SYBASE env > variable to '/usr/local/lib/sybase' .. After this, I am running 'perl > MakeFile.PL'.. Till this step things are fine.. Then the disaster strikes.. > I get an error on running 'make'.. > Please find the error and its details below(on running make).. > > gcc -c -I/usr/local/lib/sybase/include -DNO_BLK=1 > -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" > -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" Sybase.c gcc -c > -I/usr/local/lib/sybase/include -DNO_BLK=1 > -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" > -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c dbdimp.c: > In function `clientmsg_cb': > dbdimp.c:358: error: `CS_LOGIN_STATUS' undeclared (first use in this > function) dbdimp.c:358: error: (Each undeclared identifier is reported only > once dbdimp.c:358: error: for each function it appears in.) > *** Error code 1 CS_LOGIN_STATUS is defined in cspublic.h and was added there more than 5 years ago. Defining it yourself may not help as the program you are compiling may actually need some features that were added in FreeTDS around or after that time. Is your version of FreeTDS recent enough ? Could you be compiling your program with an old set of include files (coming from a development package not up to date or installed manually) ? Frederic