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

From: Asif Naeem <anaeem(dot)it(at)gmail(dot)com>
To: reiner peterke <zedaardv(at)drizzle(dot)com>
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-30 17:25:54
Message-ID: CAEB4t-MoxM1r98rbLV3qJX4zRLNPj8KpiX=Yn1D54HBnzK8DCQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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(at)drizzle(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Samonenko 2014-05-30 17:39:36 Re: Fwd: libpq: indefinite block on poll during network problems
Previous Message reiner peterke 2014-05-30 16:49:02 unable to build postgres-9.4 in os x 10.9 with python

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2014-05-30 17:30:05 Re: jsonb access operators inefficiency
Previous Message reiner peterke 2014-05-30 16:49:02 unable to build postgres-9.4 in os x 10.9 with python