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

From Adrian Klaver
Subject Re: Problem installing extensions on Lion
Date
Msg-id 4FD9E7EA.5040508@gmail.com
Whole thread Raw
In response to Re: Problem installing extensions on Lion  (Stefan Schwarzer <stefan.schwarzer@unep.org>)
Responses Re: Problem installing extensions on Lion
List pgsql-general
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?

2)  If they do not exist there, do they exist anywhere on the machine?

3) How was Postgres installed?

>
>
> Still trying to figure it out. I did a complete fresh install of Lion. Added Xcode too.
>
> After looking around, it seems that the problem is arising from Xcode 4.3+ not being installed anymore under
"/Developer/..."but " /Applications/Xcode.app". 
>
> I found a website [1] stating that the solution would be to use something like this:
>
>         "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/"
>
> But I have still the same problem… Can anyone give me a hint what I should do? Uninstall Xcode and install just a
stand-alonecompiler? 
>
> Thanks for any help. I am really stuck!
>
> Stef
>
> [1] http://blog.bitemyapp.com/2012/03/20/fix-fs-events-stdio.h-not-found.html


--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

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