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: "Matthew O dot Persico" <persicom at acedsl dot com>
Subject: Bad compilation
Date: Nov 26 2002 2:33AM

Using perl 5.6.1 and DBI 1.30 and DBD-Sybase 0.95:

$ perl Makefile.PL 
Sybase OpenClient 12.5 found.
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: sybserv01): 
User ID to log in to Sybase (default: sa): 
Password (default: **********): 
Checking if your kit is complete...
Looks good
Multiple copies of Driver.xst found in: /opt/perl/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI at Makefile.PL line 55
Using DBI 1.30 installed in /opt/perl/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
Writing Makefile for DBD::Sybase

$ make test
cp Sybase.pm blib/lib/DBD/Sybase.pm
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" < /opt/perl/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI/Driver.xst > Sybase.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c
cc -c -I/opt/sybase-12.5/OCS/include -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -fpic -I/usr/lib/perl5/5.6.1/i386-linux/CORE  Sybase.c
Sybase.c:218:24: Driver_xst.h: No such file or directory
Sybase.xsi: In function `XS_DBD__Sybase__db_selectall_arrayref':
Sybase.xsi:86: warning: assignment makes pointer from integer without a cast
Sybase.xsi:95: warning: assignment makes pointer from integer without a cast
Sybase.xsi:113: warning: assignment makes pointer from integer without a cast
Sybase.xsi: In function `XS_DBD__Sybase__db_selectrow_arrayref':
Sybase.xsi:130: warning: assignment makes pointer from integer without a cast
Sybase.xsi: In function `XS_DBD__Sybase__st_fetchall_arrayref':
Sybase.xsi:448: warning: assignment makes pointer from integer without a cast
Sybase.xsi:451: warning: assignment makes pointer from integer without a cast
make: *** [Sybase.o] Error 1

--
Matthew