470,591 Members | 1,832 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

Building plpython on Mac OSX...

Have any configure experts looked at building plpython.so
on mac os x lately?

The standard configure key "--with-python" fails miserably
(libpython is not a shared lib error message).

I found help on the macosxguru site,

Basically one has to change the python_libspec
to (in Makefile.global)

python_libspec = -framework Python

and then comment out the tests for a shared library
in src/pl/plpython/Makefile

Has this been fixed in version 8?

Thanks

Jerry
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #1
2 2174
Jerry LeVan <je*********@eku.edu> writes:
Have any configure experts looked at building plpython.so
on mac os x lately?


CVS tip builds it properly, with this just-applied patch:

http://developer.postgresql.org/cvsw...1=1.13;r2=1.14

I am not sure if the makefile change is sufficient to make it work
in 7.4, but you could give it a try.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #2
I was able to get it to build with the framework change and commenting
out the shared library test on 7.4.5.

The patch looks a bit cleaner...

Jerry

On Sep 24, 2004, at 4:14 PM, Tom Lane wrote:
Jerry LeVan <je*********@eku.edu> writes:
Have any configure experts looked at building plpython.so
on mac os x lately?


CVS tip builds it properly, with this just-applied patch:

http://developer.postgresql.org/cvsw...server/src/pl/
plpython/Makefile.diff?r1=1.13;r2=1.14

I am not sure if the makefile change is sufficient to make it work
in 7.4, but you could give it a try.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mage | last post: by
6 posts views Thread by Josué Maldonado | last post: by
5 posts views Thread by Sim Zacks | last post: by
1 post views Thread by Gerardo Herzig | last post: by
4 posts views Thread by Alchemist | last post: by
reply views Thread by Gerardo Herzig | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.