Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Problems building DBD-Sybase-1.05
Date: Apr 28 2005 5:08AM
On Wed, 2005-04-27 at 22:03, Andy Cravens wrote:
> I'm having trouble building DBD-Sybase-1.05 on Solaris 7 with perl
> 5.005_03 and DBI-1.28
> $ make
> gcc -B/usr/ccs/bin/ -c -I/opt/common/sybase/include
> -D_REENTRANT -I/opt/local/include -I/opt/gnu/include -O3 -funroll-loops
> -fstrength-reduce -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -fPIC
> -I/opt/gnu/perl5.005_03/lib/5.00503/sun4-solaris-thread/CORE dbdimp.c
> dbdimp.c: In function `st_next_result':
> dbdimp.c:3045: parameter `thr' is initialized
> dbdimp.c:3045: declaration for parameter `thr' but no such parameter
> gcc: file path prefix `/usr/ccs/bin/' never used
> *** Error code 1
> make: Fatal error: Command failed for target `dbdimp.o'
Try to add a
declaration macro to the st_next_result() function.
I note that you are using the threaded version of 5.005... that's really
quite risky - I seem to remember that this was pretty unstable!
> I have three questions:
> 1) Does DBD-Sybase require a newer perl? The README doesn't have any
> info on this.
I haven't tested this with older versions of perl - I don't think
there's anything obvious that I've done that will break, though.
> 2) Because we are using an old version of perl, I'm forced to stick with
> DBI-1.28 or older. Will DBD-Sybase work with DBI-1.28?
It should, though I haven't tested this either.
> 3) Is there a search option for searching the mail archives for this
> list? I couldn't find one on the peppler web site.
The search box is at the bottom.
Michael Peppler - firstname.lastname@example.org - http://www.peppler.org/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html