From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem installing extensions on Lion |
Date: | 2012-06-14 13:32:26 |
Message-ID: | 4FD9E7EA.5040508@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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-alone compiler?
>
> 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(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2012-06-14 13:39:12 | Re: Error message "psql: could not connect to server: No such file or directory" |
Previous Message | Stefan Schwarzer | 2012-06-14 13:30:28 | Error message "psql: could not connect to server: No such file or directory" |