compiling psqlodbc for unixodbc -- problems - Mailing list pgsql-odbc

From Duane Winner
Subject compiling psqlodbc for unixodbc -- problems
Date
Msg-id 1078776860.15865.6.camel@localhost
Whole thread Raw
Responses Re: compiling psqlodbc for unixodbc -- problems
Re: compiling psqlodbc for unixodbc -- problems
List pgsql-odbc
Can anybody provide me with some help on this issue?

I'm attempting to build psqlodbc-07.03.0200 in an attempt to use this
driver with unixodbc.

I first configure:
# ./configure --with-unixodbc
I don't see any errors when I do this.

Then I "make":
#make

And this is what I get:

make  all-am
source='info.c' object='info.lo' libtool=yes  depfile='.deps/info.Plo'
tmpdepfile='.deps/info.TPlo'  depmode=gcc /usr/local/bin/bash ./depcomp
/usr/local/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.      -g -O2 -c -o info.lo `test -f 'info.c' || echo './'`info.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c info.c
-Wp,-MD,.deps/info.TPlo  -fPIC -DPIC -o info.lo
In file included from info.c:19:
psqlodbc.h:41: sql.h: No such file or directory
psqlodbc.h:42: sqlext.h: No such file or directory
psqlodbc.h:52: odbcinst.h: No such file or directory
*** Error code 1

Stop in /root/psqlodbc-07.03.0200.
*** Error code 1

Stop in /root/psqlodbc-07.03.0200.


I am running FreeBSD-4.9-RELEASE-p3
Postgresql-7.3.5_1 (installed from ports)
unixODBC-2.2.8 (installed from ports)

Thanks for any input you can provide.

-DW



pgsql-odbc by date:

Previous
From: Duane Winner
Date:
Subject: unixodbc - postgresql: broken pipes, malloc, ksqo and other errors
Next
From: Ray Aspeitia
Date:
Subject: Re: compiling psqlodbc for unixodbc -- problems