develooper Front page | perl.dbi.users | Postings from February 2001

DBI ODBC

Thread Next
From:
eugene.yi
Date:
February 11, 2001 06:54
Subject:
DBI ODBC
Message ID:
9117CCE51A38D411A85F00508BCFCFC402EB88BA@exchangemail.inspinc.ad
Hi!
I'm trying to access a remote Win2K MS SQL Server from a Linux server using
a Perl module.  I read some articles and came to a conclusion that I need to
install DBD-ODBC-0.28.  When I run make, I get the following msg.:

>>>>>
cc -c -I. -I/export/perl/lib/site_perl/i686-linux/auto/DBI
-I/export/perl/lib/si
te_perl/i686-linux/auto/DBI/include -Dbool=char -DHAS_BOOL
-I/usr/local/include
-O2    -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic
-I/export/perl/lib/i686-li
nux/5.00404/CORE  ODBC.c
cc -c -I. -I/export/perl/lib/site_perl/i686-linux/auto/DBI
-I/export/perl/lib/si
te_perl/i686-linux/auto/DBI/include -Dbool=char -DHAS_BOOL
-I/usr/local/include
-O2    -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic
-I/export/perl/lib/i686-li
nux/5.00404/CORE  dbdimp.c
In file included from In file included from ODBC.h:9,
                 from ODBC.xs:1:
dbdodbc.h:6: ODBC.hlibudbc.h: No such file or directory
:9,
                 from dbdimp.c:12:
dbdodbc.h:6: libudbc.h: No such file or directory
make: *** [ODBC.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [dbdimp.o] Error 1
>>>>>


Do I need to install ubdc or something to have odbc on Linux?  I'm lost.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About