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: michael dot peppler at bnpparibas dot com
Subject: Re: Need some help -- trying ot install Sybperl
Date: May 25 2007 1:53PM

Mea culpa... Unfortunately there is a missing dependency in DBD::Sybase 
1.08. It requires DBI 1.51 or more recent.

You can update DBI from the CPAN interface.


Internet - 25.05.2007 15:40
Please respond to
Sent by:
To:     sybperl-l
Subject:        Re: Need some help -- trying ot install Sybperl

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/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"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

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. 


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.