Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Rob Verschoor" <rob at sypron dot nl>
Subject: Re: Need some help -- trying ot install Sybperl
Date: May 25 2007 1:40PM

There seems to be something wrong with today....
I managed to install Sybase::CTlib correctly with the hitns from Michael, 
so my next attempt is DBD::Sybase. Here I get a compilation error about a 
missing 'my_perl' symbol. I've googled and searched in the mailing list 
archive but I cannot find an answer so far.

In the dialog I chose not to use chained mode, and as recommended to use 
the normal libraries (instead of the threaded ones).

Any hints much appreciated!

Rob V.

cpan[1]> install DBD::Sybase


Checking if your kit is complete...
Looks good
Using DBI 1.32 installed in 
Writing Makefile for DBD::Sybase
Could not read '/root/.cpan/build/DBD-Sybase-1.08-FdCImL/META.yml'. 
Falling back to other methods to determine prerequisites
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
cp blib/lib/DBD/
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" < 
 > Sybase.xsi
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.0/ExtUtils/typemap  Sybase.xs > Sybase.xsc && mv 
Sybase.xsc Sybase.c
gcc -c  -I/opt/sybase1501/OCS-15_0/include -DNO_CHAINED_TRAN=1 -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI 
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
 -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" 
 -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   Sybase.c
In file included from Sybase.h:16,
                 from Sybase.xs:14:
In function `get_dbistate':
`my_perl' undeclared (first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)
In file included from Sybase.c:352:
In function `dbixst_bounce_method':
`my_perl' undeclared (first use in this function)
In function `dbdxst_bind_params':
`my_perl' undeclared (first use in this function)
In function `dbdxst_fetchall_arrayref':
`my_perl' undeclared (first use in this function)
make: *** [Sybase.o] Error 1
  /usr/bin/make -- NOT OK