You should always specify if you are using Sybase or FreeTDS client 
software - I'm guessing the latter.

You can work around the issue by adding a #define for CS_LOGIN_STATUS in 
dbdimp.c. Alternatively this may already have been solved in a more recent 
version of FreeTDS - you should probably check there. FWIW CS_LOGIN_STATUS 
should be defined to 9104...

Michael




Extranet
[EMAIL PROTECTED] - 15.08.2007 15:43
 

To:     dbi-users
cc: 
Subject:        DBD::Sybase install issue

Im trying to install DBD::Sybase, Im getting past perl Makefile.PL - all
looks normal. When I try to make I get the following output:

cc -c  -I/usr/local/include -DSYB_LP64 -DNO_BLK=1
-I/opt/perl/lib/site_perl/5.8.8/x86_64-linux/auto/DBI -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fpic
"-I/opt/perl/lib/5.8.8/x86_64-linux/CORE"   dbdimp.c
dbdimp.c: In function `clientmsg_cb':
dbdimp.c:328: error: `CS_LOGIN_STATUS' undeclared (first use in this
function)
dbdimp.c:328: error: (Each undeclared identifier is reported only once
dbdimp.c:328: error: for each function it appears in.)
make: *** [dbdimp.o] Error 1

uname -a
Linux corp-alt-47 2.6.5-7.286-smp #1 SMP Thu May 31 10:12:58 UTC 2007 
x86_64
x86_64 x86_64 GNU/Linux

perl -v

This is perl, v5.8.8 built for x86_64-linux

environmental var SYBASE is set to /usr/local

Any help is appreciated

Ted Fiedler

--
If you mess with a thing long enough, it'll break.
-- Schmidt

This message and any attachments (the "message") is intended solely for the 
addressees and is confidential. 
If you receive this message in error, please delete it and immediately notify 
the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole or partial, is 
prohibited except formal approval. 
The internet can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the 
message if modified. 
Do not print this message unless it is necessary, consider the environment.
                ---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a 
l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce 
message par erreur, merci de le detruire et d'en avertir immediatement 
l'expediteur. 
Toute utilisation de ce message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf autorisation 
expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS 
(et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans 
l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.

Reply via email to