Re: Problem installing extensions on Lion - Mailing list pgsql-general

From Stefan Schwarzer
Subject Re: Problem installing extensions on Lion
Date
Msg-id 2637FCE1-C3EF-412D-B9BB-0494AC557B89@unep.org
Whole thread Raw
In response to Re: Problem installing extensions on Lion  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Problem installing extensions on Lion
List pgsql-general
On Jun 14, 2012, at 3:32 PM, Adrian Klaver wrote:

> On 06/14/2012 04:47 AM, Stefan Schwarzer wrote:
>>> In file included from /usr/local/pgsql-9.1/include/server/postgres.h:47,
>>>                  from tablefunc.c:33:
>>> /usr/local/pgsql-9.1/include/server/c.h:67:19: error: stdio.h: No such file or directory
>>> /usr/local/pgsql-9.1/include/server/c.h:68:20: error: stdlib.h: No such file or directory
>>> /usr/local/pgsql-9.1/include/server/c.h:69:20: error: string.h: No such file or directory
>
> 1) Do the above files actually exist in the above location?

Yes, the c.h exist in the mentioned location. However, as it does not indicate where it looks for the stdio.h, perhaps
theproblem lies there. I can see that file in several places in 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/...

and in

/usr/include/c++/4.2.1/tr1/stdio.h
/usr/include/stdio.h


> 2)  If they do not exist there, do they exist anywhere on the machine?
>
> 3) How was Postgres installed?

Postgres was installed using the Kyngchaos libraries.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Error message "psql: could not connect to server: No such file or directory"
Next
From: Stefan Schwarzer
Date:
Subject: Re: Error message "psql: could not connect to server: No such file or directory"