Issue with Sybase DBD installation

Prasanth Sasidharan <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <F4A46DD21496904FA0AB64701D373F1408957DD5FA@CHNSHLMBX03.ad.infosys.com>
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
make: Fatal error: Command failed for target `dbdimp.o'

Now, I looked at some websites for help, and found that I can add  '#declare CS_LOGIN_STATUS' to dbdimp.c.. Tried it, but no use..Should I set LD_LIBRARY_PATH?? Any pointers??

Regs,
Prasanth Sasidharan.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.