Skip to Content.
Sympa Menu

freetds - DBD::FreeTDS installation troubles

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "prosper" <vince AT assurdiscount.com>
  • To: freetds
  • Subject: DBD::FreeTDS installation troubles
  • Date: Thu, 14 Oct 1999 8:24:8


Hi,

First of all, let me apologize for my english, it isn't my native
language.
Here is a short description of the problem:
I must query a Microsoft SQL server from a Linux SuSE 6.1 machine.
My Perl release is 5.00502.
I downloaded FreeTDS and installed the libraries in /usr/local/freetds/lib.
I then ran ldconfig.
Then I surfed the web in order to fetch a DBD driver for FreeTDS. I found
DBD-FreeTDS-0.02, which seems to be the latest version.
Trying to install it, I got the following problem:
=========================================================================
> perl Makefile.PL
Using DBI 1.06 installed in
/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
Writing Makefile for DBD::FreeTDS
> make
gcc -c -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
-I/usr/local/include -Wall -Wmissing-prototypes -ggdb -static -ggdb
-DVERSION=\"0.02\" -DXS_VERSION=\"0.02\"
-I/usr/lib/perl5/5.00502/i586-linux/CORE FreeTDS.c
In file included from /usr/lib/perl5/5.00502/i586-linux/CORE/perl.h:1255,
from
/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/DBIXS.h:14,
from FreeTDS.h:45,
from FreeTDS.xs:35:
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:216: parse error before
`bool'
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:216: warning: no semicolon at
end of struct or union
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:217: warning: type defaults to
`int' in declaration of `sbu_rxtainted'
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:217: warning: data definition
has no type or storage class
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:226: parse error before `}'
/usr/lib/perl5/5.00502/i586-linux/CORE/cop.h:267: field `cx_subst' has
incomplete type
...
=========================================================================
Here are my questions:

1. why does this compilation fail?
2. do I have to download anything else in order to make the whole thing
run?
3. since I don't know much about Microsoft SQL (I must just query a remote
server), do I have to include anything concerning Sybase, which as far as I
know has no direct relation with Microsoft SQL -- sorry if this statement
is false, I don't know windows tools)?

Thanks for replying as soon as possible.

Vince




Archive powered by MHonArc 2.6.24.

Top of Page