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

From Asif Naeem
Subject Re: unable to build postgres-9.4 in os x 10.9 with python
Date
Msg-id CAEB4t-MoxM1r98rbLV3qJX4zRLNPj8KpiX=Yn1D54HBnzK8DCQ@mail.gmail.com
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  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi Reiner,

Latest PG 9.4 source code seems building fine with --with-python option on my OS X 10.9.3 box  i.e.

pc1dotnetpk:inst asif$ find . | grep -i python
./lib/plpython2.so
./share/extension/plpython2u--1.0.sql
./share/extension/plpython2u--unpackaged--1.0.sql
./share/extension/plpython2u.control
./share/extension/plpythonu--1.0.sql
./share/extension/plpythonu--unpackaged--1.0.sql
./share/extension/plpythonu.control
pc1dotnetpk:inst asif$ uname -a
Darwin pc1dotnetpk.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64

Can you please share config.log and complete make log with failure ?.

Regards,
Muhammad Asif Naeem


On Fri, May 30, 2014 at 9:49 PM, reiner peterke <zedaardv@drizzle.com> wrote:
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'

any help would be appreciated.

reiner



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: reiner peterke
Date:
Subject: unable to build postgres-9.4 in os x 10.9 with python
Next
From: Dmitry Samonenko
Date:
Subject: Re: Fwd: libpq: indefinite block on poll during network problems