Skip to Content.
Sympa Menu

freetds - compile DBD-ODBC with freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Keith A. Clay" <clayk AT nicanor.acu.edu>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: compile DBD-ODBC with freetds
  • Date: Wed, 03 Mar 1999 14:16:28 -0600


Folks,

I have freetds compiled and am trying to compile the DBD-ODBC with it and
here are the errors. What do I need to change to get this to compile??


keith

===output


DBI_DSN=dbi:ODBC:Uniprint:myhost
DBI_PASS=
ODBCHOME=/usr/local/freetds
DBI_USER=sa
PWD=/home/clayk/work/DBD-ODBC-0.20
clayk:sam> 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.06 installed in
/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/DBI
Using ODBC in /usr/local/freetds

Umm, this looks like a type of driver manager.

*** WARNING ***
Unknown driver manager. Using default build process.
This will almost certainly fail at some point.
In which case you will need to edit/hack the Makefile.PL
to suit your needs. (Specifically to locate your odbc
library and header files.)


Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lodbc
Using DBI 1.06 installed in
/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/DBI
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:
DBI_DSN=dbi:ODBC:Uniprint:boaz.acu.edu e.g. dbi:ODBC:demo
DBI_USER=sa
DBI_PASS=

clayk:sam> make
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/ODBC
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/ODBC
mkdir blib/man3
cp ODBC.pm blib/lib/DBD/ODBC.pm
cp kac02.pl blib/lib/DBD/kac02.pl
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" <
/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl -I/opt/perl/lib/5.00502/sun4-solaris -I/opt/perl/lib/5.00502
/opt/perl/lib/5.00502/ExtUtils/xsubpp -typemap
/opt/perl/lib/5.00502/ExtUtils/typemap ODBC.xs >ODBC.tc && mv ODBC.tc ODBC.c
gcc -c -I. -I/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/DBI
-I/usr/local/include -O -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC
-I/opt/perl/lib/5.00502/sun4-solaris/CORE ODBC.c
In file included from ODBC.h:9,
from ODBC.xs:1:
dbdodbc.h:6: sql.h: No such file or directory
dbdodbc.h:7: sqlext.h: No such file or directory
ODBC.xs:2: isqlext.h: No such file or directory
make: *** [ODBC.o] Error 1




________________________________________
Keith A. Clay, clayk AT nicanor.acu.edu
Abilene Christian Univeristy
System Administrator, Academic Computing
UNIX and NT Administration
291 Center for Teaching Excellence
(915) 674-2187
(915) 674-2834 (fax)
________________________________________
"...continue to walk like that One walked..."




Archive powered by MHonArc 2.6.24.

Top of Page