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

From Edoardo Panfili
Subject Re: unable to build postgres-9.4 in os x 10.9 with python
Date
Msg-id 5388C639.6060105@aspix.it
Whole thread Raw
In response to unable to build postgres-9.4 in os x 10.9 with python  (reiner peterke <zedaardv@drizzle.com>)
Responses Re: unable to build postgres-9.4 in os x 10.9 with python  (reiner peterke <zedaardv@drizzle.com>)
List pgsql-general
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: Tom Lane
Date:
Subject: Re: Fwd: libpq: indefinite block on poll during network problems
Next
From: Tom Lane
Date:
Subject: Re: unable to build postgres-9.4 in os x 10.9 with python