freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Anand Buddhdev" <arb AT anand.org>
- To: freetds AT franklin.oit.unc.edu
- Subject: Error building perl-DBD-ODBC with FreeTDS
- Date: Mon, 15 Apr 2002 09:56:52 -0400
I'm trying to build perl-DBD-ODBC-0.40 with freetds 0.53 on my RedHat
linux 7.2 system with perl 5.6.1. I have perl-DBI-1.21 installed. I've
compiled nad installed freetds in /usr/local/freetds. And I'm now
following the instructions on the freetds page to build DBD-ODBC. But I
get the following error:
[arb@mobile DBD-ODBC-0.40]$ perl Makefile.PL
Configuring DBD::ODBC ...
>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.
Using DBI 1.21 installed in
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
Using ODBC in /usr/local
Umm, this looks like a udbc type of driver manager.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ludbc
Using DBI 1.21 installed in
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
Writing Makefile for DBD::ODBC
The DBD::ODBC tests will use these values for the database connection:
DBI_DSN=dbi:ODBC:JDBC e.g. dbi:ODBC:demo
DBI_USER=guest
DBI_PASS=sybase
[arb@mobile DBD-ODBC-0.40]$ make
cp ODBC.pm blib/lib/DBD/ODBC.pm
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" <
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc
ODBC.c
gcc -c -I. -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
-I/usr/local/include -fno-strict-aliasing -I/usr/local/include -O2
-march=i386 -mcpu=i686 -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC
-I/usr/lib/perl5/5.6.1/i386-linux/CORE ODBC.c
In file included from ODBC.h:9,
from ODBC.xs:1:
dbdodbc.h:6:21: libudbc.h: No such file or directory
make: *** [ODBC.o] Error 1
What is "udbc" and why is my build failing? I'd appreciate any help.
Anand
-
Error building perl-DBD-ODBC with FreeTDS,
Anand Buddhdev, 04/15/2002
- <Possible follow-up(s)>
- Re: Error building perl-DBD-ODBC with FreeTDS, Brian Bruns, 04/15/2002
Archive powered by MHonArc 2.6.24.