Re: unable to build postgres-9.4 in os x 10.9 with python - Mailing list pgsql-general

From reiner peterke
Subject Re: unable to build postgres-9.4 in os x 10.9 with python
Date
Msg-id 12E8AC82-E344-4E44-8D6C-2D494316DF21@drizzle.com
Whole thread Raw
In response to Re: unable to build postgres-9.4 in os x 10.9 with python  (Edoardo Panfili <edoardo@aspix.it>)
List pgsql-general
Hi all,

Thanks for all the responses.

It looks like Edoardo was on the right track,
I hadn’t upgraded the Command Line Developer Tools.
after downloading them from apple and installing them, i was able to build postgres with '--with-python'


reiner

On 30 maj 2014, at 19:56, Edoardo Panfili <edoardo@aspix.it> wrote:

> Il 30/05/14 18:49, reiner peterke ha scritto:
>> Hi,
>>
>> has anyone else had this issue and does any one know the solution?
>>
>> Since upgrading my mac from os x 10.8 to 10.9, i can no long build postgres with '--with-python’.
>>
>> i get the following error.
>>
>> ld: framework not found Python
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[3]: *** [plpython2.so] Error 1
>> make[2]: *** [all-plpython-recurse] Error 2
>> make[1]: *** [all-pl-recurse] Error 2
>> make: *** [all-src-recurse] Error 2
>>
>> my full configure command is
>>
>> configure '--prefix=/usr/local/postgres/9.4' '--with-perl' '--with-python' '--with-libxml' '-with-openssl'
'--with-includes=/opt/local/include/''--with-libraries=/opt/local/lib' 
> I did I try with 9.4beta1 and --with-python using OS X 10.9.3
>
> ./configure --with-python
>
> all goes well, have you installed the command line tools?
>
> xcode-select --install
>
> I did it to compile uuid (with no success) and postgis (with success).
>
> Edoardo



pgsql-general by date:

Previous
From: David G Johnston
Date:
Subject: Re: How is sorting work?
Next
From: Vlad Mihalcea
Date:
Subject: PosgtresSQL master-slave synchronous replication to multiple slaves