From: | Per Erik R=?ISO-8859-1?B?+A==?=nne <per(at)husumtoften(dot)dk> |
---|---|
To: | <pgsql-odbc-owner(at)postgresql(dot)org> |
Subject: | ODBC and MacOS X |
Date: | 2005-04-06 02:58:55 |
Message-ID: | BE791D0F.1402%per@husumtoften.dk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Philippe Lang | 2005-04-06 09:03:27 | MS Access & ODBC driver & Postgresql 8.01 |
Previous Message | yue chen | 2005-04-06 00:07:36 | Problem with download |