Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux