pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psqlodbc compile problem on Solaris 9
2+ messages / 2 participants
[nested] [flat]

* psqlodbc compile problem on Solaris 9
@ 2005-06-29 19:20 Shields, Rusty (IMS) <ShieldsR@imsweb.com>
  2005-06-30 11:56 ` Re: psqlodbc compile problem on Solaris 9 Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Shields, Rusty (IMS) @ 2005-06-29 19:20 UTC (permalink / raw)
  To: 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: psqlodbc compile problem on Solaris 9
  2005-06-29 19:20 psqlodbc compile problem on Solaris 9 Shields, Rusty (IMS) <ShieldsR@imsweb.com>
@ 2005-06-30 11:56 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2005-06-30 11:56 UTC (permalink / raw)
  To: Shields, Rusty (IMS) <ShieldsR@imsweb.com>; +Cc: pgsql-odbc

Am Mittwoch, 29. Juni 2005 21:20 schrieb Shields, Rusty (IMS):
> 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.

Apparently, all those header files.  They should have been included in the 
unixODBC installation.  Perhaps you need to add -I/usr/local/include 
somewhere?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-06-30 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29 19:20 psqlodbc compile problem on Solaris 9 Shields, Rusty (IMS) <ShieldsR@imsweb.com>
2005-06-30 11:56 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox