Skip to Content.
Sympa Menu

freetds - RE: Version 0.45

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Version 0.45
  • Date: Fri, 9 Jul 1999 07:47:23 -0400 (EDT)




On Fri, 9 Jul 1999, Craig Burton wrote:

> Brian,
>
> Sorry for the hiatus - had some other devel to do,
> but am now back on the process of making my perl
> script talk to MSSQL7.0.
>
> Can you please remind me of whether I need to recompile
> perl without -ldbm etc as Michael Peppler says?
>
> I actually use ndbm in this script - I guess this means
> all by db stuff becomes sql... can one not use ndbm
> and sybperl together some how?
>
>From my understanding you can not run sybperl and dbm at the same time
(not sure whether gdbm suffers the same problem). Basically the issue is
that both libraries have a dbopen() fuction. If there is no other way (by
the way...I seem to have DBD::Sybase working other than some prepared
statement stuff doesn't work, but it is severely not tested)...anyway if
you are absolutely between a rock and a hard place on this...(drum roll
please!) Tada! the beauty of source. edit freetds change all references
for dbopen() to sybdbopen() or some such, do the same for sybperl and
recompile and install both. Not reccomended, by it does in a pinch.

Hope this helps!

Brian
> Thanks!
>
> -----Original Message-----
> From: bounce-freetds-92240 AT franklin.oit.unc.edu
> [mailto:bounce-freetds-92240 AT franklin.oit.unc.edu]On Behalf Of Brian
> Bruns
> Sent: Saturday, June 26, 1999 9:46 AM
> To: TDS Development Group
> Subject: [freetds] RE: Version 0.45
>
>
>
> Ok, I think I've sorted out all the issues with sybperl (well not ALL the
> issues, but you get the point). It should at least compile now without
> any special magic and dblib should run! All the changes are in CVS.
>
> Brian
>
> On Wed, 23 Jun 1999, Craig Burton wrote:
>
> > Can build Sybase::DBlib in sybperl with /usr/local/freetds
> > as the Sybase lib. When I try to use the DBlib.pm,
> > it wanted it under the perl5 heirarchy, but in order
> > to run anthing trying to 'use' it, it expected
> > there to be a DBlib/autosplit.ix, which was not made
> > with DBlib. thus:
> >
> > Can't locate auto/Sybase/DBlib/autosplit.ix in @INC (@INC contains:
> > /usr/lib/perl5/i386-linux/5.0040
> > 4 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux
> > /usr/lib/perl5/site_perl . /usr/lib/perl5/site_
> > perl/i386-linux/auto/DBD) at /usr/lib/perl5/AutoLoader.pm line 85.
> >
> > I know little about what perl modules install with
> > xs etc, so am not sure how to use the DBlib.pm I made.
> > Doesn't it need something linked into perl itself a la
> > the rest of sybperl?
> >
> > Make in sybperl as per Ken Oster's instructions fails
> > because I turned CTlib off. Turning it on does not
> > facilitate building of the static perl, as CTlib doesn't
> > want to compile.
> >
> > hmmm....
> >
> > Other people seem to be having more success than myself
> > under RH5.1 and PERL5, going by the mails. Or is this
> > not the case? Anyway, I push on.
> >
> > Best,
> >
> > CB
> >
>
>
> ---
> You are currently subscribed to freetds as: craigb AT ibis.com.au
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page