X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5C3BA53502 for ; Wed, 6 Apr 2005 04:48:41 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90106-01 for ; Wed, 6 Apr 2005 03:48:35 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 81C7753513 for ; Wed, 6 Apr 2005 04:48:35 +0100 (BST) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 5E76212936D for ; Wed, 6 Apr 2005 00:48:35 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88086-08 for ; Wed, 6 Apr 2005 03:48:29 +0000 (GMT) Received: from ganymede.hub.org (blk-224-181-254.eastlink.ca [24.224.181.254]) by hub.org (Postfix) with ESMTP id E7E71129302 for ; Wed, 6 Apr 2005 00:48:28 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id C24D3342D8; Wed, 6 Apr 2005 00:48:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id BE983342A0 for ; Wed, 6 Apr 2005 00:48:27 -0300 (ADT) X-Return-Path: X-Received: from ganymede.hub.org ([unix socket]) by ganymede.hub.org (Cyrus v2.2.12) with LMTPA; Wed, 06 Apr 2005 00:00:31 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 77A7E33FD6 for ; Wed, 6 Apr 2005 00:00:30 -0300 (ADT) X-Received: from mail.postgresql.org [200.46.204.71] by localhost with IMAP (fetchmail-6.2.5) for scrappy@localhost (single-drop); Wed, 06 Apr 2005 00:00:30 -0300 (ADT) X-Received: from svr1.postgresql.org ([unix socket]) by svr1.postgresql.org (Cyrus v2.2.12) with LMTPA; Wed, 06 Apr 2005 03:59:16 +0100 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EA3995350D for ; Wed, 6 Apr 2005 03:59:15 +0100 (BST) X-Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70249-06 for ; Wed, 6 Apr 2005 02:59:13 +0000 (GMT) X-Received: from postgresql.org (svr1.postgresql.org [200.46.204.71]) by svr1.postgresql.org (Postfix) with ESMTP id 66E905350C for ; Wed, 6 Apr 2005 03:59:13 +0100 (BST) X-Original-To: pgsql-odbc-postgresql.org-owner@localhost.postgresql.org X-Delivered-To: pgsql-odbc-postgresql.org-owner@localhost.postgresql.org X-Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 26B0153506 for ; Wed, 6 Apr 2005 03:59:12 +0100 (BST) X-Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72733-02 for ; Wed, 6 Apr 2005 02:58:55 +0000 (GMT) X-Received: from mail110.dandomain.dk (mail110.dandomain.dk [194.255.46.110]) by svr1.postgresql.org (Postfix) with ESMTP id 5C714534FD for ; Wed, 6 Apr 2005 03:58:54 +0100 (BST) X-Received: from [10.0.0.40] ([217.157.136.78]) by mail110.dandomain.dk (DanDomain Mailserver) with ASMTP id BJA74811 for ; Wed, 06 Apr 2005 04:58:57 +0200 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Wed, 06 Apr 2005 04:58:55 +0200 Subject: ODBC and MacOS X From: Per Erik R=?ISO-8859-1?B?+A==?=nne To: Message-ID: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3195608337_67040" X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org ReSent-Date: Wed, 6 Apr 2005 00:48:23 -0300 (ADT) Resent-From: "Marc G. Fournier" Resent-To: pgsql-odbc@postgresql.org ReSent-Subject: ODBC and MacOS X ReSent-Message-ID: <20050406004823.T18194@ganymede.hub.org> X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.083 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_20_30, HTML_MESSAGE X-Spam-Level: * X-Archive-Number: 200504/23 X-Sequence-Number: 5182 > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3195608337_67040 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable 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=B9t 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=3Dcompile 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$=20 --=20 Per Erik R=F8nne, MSc Frederikssundsvej 308B, DK-2700 Br=F8nsh=F8j Telephone & fax 38 89 00 16, mobile 28 23 09 92 Denmark --B_3195608337_67040 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable ODBC and MacOS X I have down= loaded and installed PostgreSQL 8.01 on my Macintosh with no problems, but w= ant to install ODBC too in order to make useful user interfaces. Consequentl= y 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 t= he 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=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.  &= nbsp;  -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
--B_3195608337_67040--