psqlodbc compile problem on Solaris 9

From: "Shields, Rusty (IMS)" <ShieldsR(at)imsweb(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: psqlodbc compile problem on Solaris 9
Date: 2005-06-29 19:20:31
Message-ID: 2BC5FD62664664429FF92FBE2BD40A7808723E@granite.omni.imsweb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I'm having trouble getting psqlodbc to compile under sun-sparc-solaris9.

I've got postgresql 7.4.3 compiled with gcc 3.

unixODBC-2.2.11 seems to have compiled just fine using the following
sequence.

# ./configure --prefix=/opt/net/utils/unixODBC-2.2.11
# make
# make install

I'm doing the following with psqlodbc-08.00.0101;

# ./configure --with-unixodbc
--with-odbcinst=/opt/net/utils/unixODBC-2.2.11
# make

The response to the make command is:

make all-am
make[1]: Entering directory `/opt/net/source/psqlodbc-08.00.0101'
source='info.c' object='info.lo' libtool=yes \
depfile='.deps/info.Plo' tmpdepfile='.deps/info.TPlo' \
depmode=none /bin/ksh ./depcomp \
/bin/ksh ./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 -fPIC -DPIC -o
.libs/info.o
In file included from info.c:19:
psqlodbc.h:43:17: sql.h: No such file or directory
psqlodbc.h:44:20: sqlext.h: No such file or directory
psqlodbc.h:46:23: sqlucode.h: No such file or directory
psqlodbc.h:52:22: odbcinst.h: No such file or directory
In file included from info.c:19:
psqlodbc.h:277: error: parse error before "SDWORD"
...


What am I missing? Thanks.

Rusty

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Anoop Kumar 2005-06-30 05:01:31 libpq enabled psqlodbc
Previous Message Rodrigo Miranda Carvalhaes 2005-06-27 13:36:25 Compile error PSQLODBC 08.00.0101]