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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Bad compilation
Date: Nov 26 2002 4:04PM

On Mon, 2002-11-25 at 18:33, Matthew O. Persico wrote:
> 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

Hmmm - I wonder if this is the problem?

> Sybase.c:218:24: Driver_xst.h: No such file or directory

I've never seen this - and I build with 5.6.0, 5.6.1, 5.8.0 and DBI 1.30
(and various previous versions).

Can you do a locate to see if Driver_xst.h is anywhere on your system?

It *should* be in
/opt/perl/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI

If it's not there then I suspect something went wrong when building DBI.

Michael
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!