pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Per Erik Rønne <per@husumtoften.dk>
To: pgsql-odbc-owner@postgresql.org
Subject: ODBC and MacOS X
Date: Wed, 06 Apr 2005 04:58:55 +0200
Message-ID: <BE791D0F.1402%per@husumtoften.dk> (raw)

I have downloaded and installed PostgreSQL 8.01 on my Macintosh with no
problems, but want to install ODBC too in order to make useful user
interfaces. Consequently I have downloaded ODBC from:

http://gborg.postgresql.org/project/psqlodbc/genpage.php?downloads

and since no Macintosh version was available {only Windows}, I downloaded
the source code instead. But it simply doesn¹t work.

My Macintosh runs MacOS X 10.3.8, a BSD UNIX system.

And a listing of what happens in the shell:

G4:~/psqlodbc per$ ./configure

...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
G4:~/psqlodbc per$ make
make  all-am
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g
-O2 -MT info.lo -MD -MP -MF ".deps/info.Tpo" \
  -c -o info.lo `test -f 'info.c' || echo './'`info.c; \
then mv -f ".deps/info.Tpo" ".deps/info.Plo"; \
else rm -f ".deps/info.Tpo"; exit 1; \
fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF
.deps/info.Tpo -c info.c  -fno-common -DPIC -o .libs/info.o
In file included from info.c:19:
psqlodbc.h:46:23: sqlucode.h: No such file or directory
In file included from info.c:19:
psqlodbc.h:326: error: parse error before '*' token
psqlodbc.h:327: error: parse error before '*' token
psqlodbc.h:328: error: parse error before "SQLWCHAR"
info.c: In function `PGAPI_GetInfo':
info.c:752: error: `SQLWCHAR' undeclared (first use in this function)
info.c:752: error: (Each undeclared identifier is reported only once
info.c:752: error: for each function it appears in.)
info.c:757: error: parse error before ')' token
info.c:757: error: parse error before ')' token
make[1]: *** [info.lo] Error 1
make: *** [all] Error 2
G4:~/psqlodbc per$ 
-- 
Per Erik Rønne, MSc
Frederikssundsvej 308B, DK-2700 Brønshøj
Telephone & fax 38 89 00 16, mobile 28 23 09 92
Denmark

Message-ID: <BE791D0F.1402%per@husumtoften.dk>
Permalink:  ../BE791D0F.1402%25per@husumtoften.dk/
Also on:    postgresql.org/message-id/BE791D0F.1402%per@husumtoften.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: per@husumtoften.dk, pgsql-odbc-owner@postgresql.org
  Subject: Re: ODBC and MacOS X
  In-Reply-To: <BE791D0F.1402%per@husumtoften.dk>
  References: <BE791D0F.1402%per@husumtoften.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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