pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
7.4 include file conflict
3+ messages / 2 participants
[nested] [flat]

* 7.4 include file conflict
@ 2003-12-04 20:02  Ray Aspeitia <aspeitia@sells.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Ray Aspeitia @ 2003-12-04 20:02 UTC (permalink / raw)
  To: pgsql-odbc

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.



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

* Re: 7.4 include file conflict
@ 2003-12-04 20:38  Richard Huxton <dev@archonet.com>
  parent: Ray Aspeitia <aspeitia@sells.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Richard Huxton @ 2003-12-04 20:38 UTC (permalink / raw)
  To: Ray Aspeitia <aspeitia@sells.com>; pgsql-odbc

On Thursday 04 December 2003 20:02, Ray Aspeitia wrote:
>
> I have a question regarding the 7.4 library include file called
> /usr/local/pgsql/include/sqltypes.h
[snip]
> 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.

This has been picked up by at least one other person too - might be worth 
linking up with them. Can't remember what list the posting was on, but it was 
in the last week or two.

-- 
  Richard Huxton
  Archonet Ltd



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

* Re: 7.4 include file conflict
@ 2003-12-04 21:27  Ray Aspeitia <aspeitia@sells.com>
  parent: Richard Huxton <dev@archonet.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Ray Aspeitia @ 2003-12-04 21:27 UTC (permalink / raw)
  To: Richard Huxton <dev@archonet.com>; +Cc: pgsql-odbc

Richard,

I'll dig a bit deeper.

I did a search in the archives but sqltypes alone returns a lot of 
entries and I think the search is broken because it ignores the match 
criteria.

If you remember a keyword they used or the section it was in, that 
would be appreciated.

Thanks for the info.

Ray A.


At 8:38 PM +0000 12/4/03, Richard Huxton wrote:
>On Thursday 04 December 2003 20:02, Ray Aspeitia wrote:
>>
>>  I have a question regarding the 7.4 library include file called
>>  /usr/local/pgsql/include/sqltypes.h
>[snip]
>>  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.
>
>This has been picked up by at least one other person too - might be worth
>linking up with them. Can't remember what list the posting was on, but it was
>in the last week or two.
>
>--
>   Richard Huxton
>   Archonet Ltd




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


end of thread, other threads:[~2003-12-04 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-04 20:02 7.4 include file conflict Ray Aspeitia <aspeitia@sells.com>
2003-12-04 20:38 ` Richard Huxton <dev@archonet.com>
2003-12-04 21:27   ` Ray Aspeitia <aspeitia@sells.com>

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