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/auto/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/auto/DBI/Driver_xst.h:
In function `dbixst_bounce_method':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/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/auto/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/auto/DBI/Driver_xst.h:14:
error: for each function it appears in.)
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI/Driver_xst.h:
In function `dbdxst_bind_params':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/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/auto/DBI/Driver_xst.h:
In function `dbdxst_fetchall_arrayref':
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/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?

Relevant Pages

  • Re: ls * not working
    ... On Nov 14, 12:45 pm, David J Dachtera ... Not only 'ls' failing with wildcards, ... Can I assume that "echo *" also returns nothing? ...
    (comp.unix.aix)
  • RE: Numeric Overflow of Column of datatype Money
    ... Sybase driver is failing on the column, long before it reaches SQL Server. ... That I have serveral column with datatype money that didnt have the ...
    (microsoft.public.sqlserver.dts)
  • Re: ls * not working
    ... Not only 'ls' failing with wildcards, ... # set -o noglob ... Actually, echo * returns... ...
    (comp.unix.aix)
  • Re: ls * not working
    ... Not only 'ls' failing with wildcards, ... # echo * ... working correectly on parent directories that are not this mounted ...
    (comp.unix.aix)
  • Problem with Blk_init
    ... I am new to Sybase and I am using the Sybase API's to do a bulk copy. ... But the blk_init function keeps on failing for me. ... CS_DATAFMT datafmt; ...
    (comp.databases.sybase)