From: | Jason Tishler <jason(at)tishler(dot)net> |
---|---|
To: | Nupur Pande <npande(at)vt(dot)edu> |
Cc: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: postgres.h |
Date: | 2003-11-03 21:41:37 |
Message-ID: | 20031103214137.GE800@tishler.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
Nupur,
On Mon, Nov 03, 2003 at 04:12:37PM -0500, Nupur Pande wrote:
> I'm trying to compile and run some external functions on postgres. The
> code seems to compile and run fine on linux machine. But on cygwin, it
> gave me errors saying it couldn't find some files such as
> "postgres.h", "server/executor/executor.h", "server/executor/spi.h"
>
> Could someone please tell me where to find these files. My
> /usr/include/postgresql/ only includes 1 folder called internal. I
> checked google for these files and it seems they should be in a folder
> ../postgresql/server But I don't see that in my directories. I have
> postgresql 7.3.4 installed.
When I package Cygwin PostgreSQL, I only do a "make install". From
src/include/Makefile, we have the following:
# 'make install' installs only those headers needed for client-side
# programming. 'make install-all-headers' installs the whole
# contents of src/include.
Hence, the short-term workaround is to download and unpack the source
tarball.
For the long-term, does anyone having any opinions on whether or not I
should include the "install-all-headers" headers too?
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-11-03 21:45:54 | Re: postgres.h |
Previous Message | Nupur Pande | 2003-11-03 21:12:37 | postgres.h |