Problem compiling DBD::Sybase with CentOS 4.5

Problem compiling DBD::Sybase with CentOS 4.5

am 23.07.2007 14:39:45 von bpassendon

------=_Part_106192_8092013.1185194385688
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi.
I am failing completely to get DBD::Sybase running, and annoyingly I can't
see why! This is normally pretty painless.

[root@box DBD-Sybase-1.08]# make
gcc -c -I/opt/sybase/OCS-12_5/include
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Sybase.c
In file included from Sybase.c:352:
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbixst_bounce_method':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: `my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: (Each undeclared identifier is reported only once
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: for each function it appears in.)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbdxst_bind_params':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:54:
error: `my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbdxst_fetchall_arrayref':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:75:
error: `my_perl' undeclared (first use in this function)
make: *** [Sybase.o] Error 1

# rpm -qa "libdbi*"
libdbi-0.6.5-10.RHEL4.1
libdbi-devel-0.6.5-10.RHEL4.1

# echo $LANG
C
# echo $SYBASE
/opt/sybase

Sybase 12.5.3/EBF 13332 ESD#7.

Can anyone suggest anything?

------=_Part_106192_8092013.1185194385688--

Re: Problem compiling DBD::Sybase with CentOS 4.5

am 24.07.2007 07:36:38 von michael.peppler

--=_alternative 001ED230C1257322_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"

Unfortunately in DBD::Sybase 1.08 I removed some code that allowed it to
work with older DBI versions.

DBD::Sybase 1.08 requires a fairly recent version of DBI (I haven't check
the exact version). If you upgrade your DBI to the current version you
should have no problems.

Michael




Extranet
bpassendon@gmail.com - 23.07.2007 14:39


To: dbi-users
cc:
Subject: Problem compiling DBD::Sybase with CentOS 4.5

Hi.
I am failing completely to get DBD::Sybase running, and annoyingly I can't
see why! This is normally pretty painless.

[root@box DBD-Sybase-1.08]# make
gcc -c -I/opt/sybase/OCS-12_5/include
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/a uto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Sybase.c
In file included from Sybase.c:352:
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbixst_bounce_method':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: `my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: (Each undeclared identifier is reported only once
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:14:
error: for each function it appears in.)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbdxst_bind_params':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:54:
error: `my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:
In function `dbdxst_fetchall_arrayref':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/aut o/DBI/Driver_xst.h:75:
error: `my_perl' undeclared (first use in this function)
make: *** [Sybase.o] Error 1

# rpm -qa "libdbi*"
libdbi-0.6.5-10.RHEL4.1
libdbi-devel-0.6.5-10.RHEL4.1

# echo $LANG
C
# echo $SYBASE
/opt/sybase

Sybase 12.5.3/EBF 13332 ESD#7.

Can anyone suggest anything?

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.

--=_alternative 001ED230C1257322_=--