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: persicom at acedsl dot com
Subject: Re: Bad compilation
Date: Nov 26 2002 4:28PM

Quoting Michael Peppler :

> 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.
> 

After posting last night, I uninstalled the 1.30 version of DBI that I had 
installed and went with the 1.20 version that came pre-installed as an RPM. All 
was well. Then it got too late and I had to go to bed. I will reinstall DBI 1.30 
tonight and compare/contrast all files and their locations between 1.20 and 1.30 
and let the list know.

Thanks.

--
Matt