psqlodbc compile problem on Solaris 9 - Mailing list pgsql-odbc

From Shields, Rusty (IMS)
Subject psqlodbc compile problem on Solaris 9
Date
Msg-id 2BC5FD62664664429FF92FBE2BD40A7808723E@granite.omni.imsweb.com
Whole thread Raw
Responses Re: psqlodbc compile problem on Solaris 9
List 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

pgsql-odbc by date:

Previous
From: Marko Ristola
Date:
Subject: Re: rollback to savepoint support
Next
From: "Anoop Kumar"
Date:
Subject: libpq enabled psqlodbc