Re: Problem installing extensions on Lion

From: Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org>
To: pgsql-general(at)postgresql(dot)org
Cc: William Kyngesburye <kyngchaos(at)kyngchaos(dot)com>
Subject: Re: Problem installing extensions on Lion
Date: 2012-06-14 11:47:30
Message-ID: 49FF9867-09CB-4BF0-8C19-A2F27CADD310@unep.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Evan D. Hoffman 2012-06-14 12:03:49 Re: pg_upgrade: "pg_ctl failed to start the new server"
Previous Message Chris Travers 2012-06-14 09:40:01 Re: Reference with inheritance propagate data