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

From: Edoardo Panfili <edoardo(at)aspix(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: unable to build postgres-9.4 in os x 10.9 with python
Date: 2014-05-30 17:56:09
Message-ID: 5388C639.6060105@aspix.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-05-30 18:52:48 Re: [GENERAL] unable to build postgres-9.4 in os x 10.9 with python
Previous Message Tom Lane 2014-05-30 17:46:33 Re: Fwd: libpq: indefinite block on poll during network problems

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-05-30 18:36:28 Re: Proposal for CSN based snapshots
Previous Message Teodor Sigaev 2014-05-30 17:47:06 Re: jsonb access operators inefficiency