Re: unable to build postgres-9.4 in os x 10.9 with python

From: reiner peterke <zedaardv(at)drizzle(dot)com>
To: Edoardo Panfili <edoardo(at)aspix(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unable to build postgres-9.4 in os x 10.9 with python
Date: 2014-05-31 08:01:29
Message-ID: 12E8AC82-E344-4E44-8D6C-2D494316DF21@drizzle.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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(at)aspix(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vlad Mihalcea 2014-05-31 08:30:08 PosgtresSQL master-slave synchronous replication to multiple slaves
Previous Message David G Johnston 2014-05-31 02:56:32 Re: How is sorting work?

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-05-31 14:02:55 Re: Re: Logical slots not mentioned in CREATE_REPLICATION_SLOT for replication protocol docs
Previous Message Amit Kapila 2014-05-31 03:09:54 Re: recovery testing for beta