PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
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.
rob@sypron.nl



cpan[1]> install DBD::Sybase

...
...

Checking if your kit is complete...
Looks good
Using DBI 1.32 installed in 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
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 Sybase.pm blib/lib/DBD/Sybase.pm
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" < 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver.xst 
 > 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 
 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
 -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:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h: 
In function `get_dbistate':
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413: 
`my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413: 
(Each undeclared identifier is reported only once
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413: 
for each function it appears in.)
In file included from Sybase.c:352:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h: 
In function `dbixst_bounce_method':
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:14: 
`my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h: 
In function `dbdxst_bind_params':
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:54: 
`my_perl' undeclared (first use in this function)
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h: 
In function `dbdxst_fetchall_arrayref':
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:80: 
`my_perl' undeclared (first use in this function)
make: *** [Sybase.o] Error 1
  MEWP/DBD-Sybase-1.08.tar.gz
  /usr/bin/make -- NOT OK