From: Ray Aspeitia <aspeitia@sells.com>
To: pgsql-odbc@postgresql.org
Subject: 7.4 include file conflict
Date: Thu, 4 Dec 2003 14:02:09 -0600
Message-ID: <p06001805bbf54086a829@[192.168.5.55]> (raw)
Hello,
I have a question regarding the 7.4 library include file called
/usr/local/pgsql/include/sqltypes.h
It seems to only include supplementary type defs.
The problem is that I installed the client libraries on a Mac XSERVE
10.3 server that comes with iODBC libraries in /usr/include. I was
compiling PHP with iODBC support as well as with PgSQL support and it
kept dying with syntax errors on the iODBC make.
I found that the compiler was looking in the pgsql include directory
first and found its version of sqltypes.h
I was able to get around the errors by renaming the pg header file to
something else, but I still have not checked if that had some impact
on the pg functionality that was built.
Is it necessary to have this include file named this or could it be
renamed to something more specific to like pgsqltypes.h
More info on this file would be appreciated.
Thanks much.
Ray A.
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: aspeitia@sells.com
Subject: Re: 7.4 include file conflict
In-Reply-To: <p06001805bbf54086a829@[192.168.5.55]>
References: <p06001805bbf54086a829@[192.168.5.55]>
* 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