Re: Problem installing extensions on Lion

From: Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem installing extensions on Lion
Date: 2012-06-14 13:41:49
Message-ID: 2637FCE1-C3EF-412D-B9BB-0494AC557B89@unep.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 the problem 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Schwarzer 2012-06-14 13:48:09 Re: Error message "psql: could not connect to server: No such file or directory"
Previous Message Adrian Klaver 2012-06-14 13:39:12 Re: Error message "psql: could not connect to server: No such file or directory"