473,508 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2394
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2405
by: Mage | last post by:
Hello! create or replace function trigger_keywords_maintain() returns trigger as $$ return 'MODIFY' $$ language plpythonu; update table set id = id where id = 7; ERROR: invalid input...
2
1546
by: David Garamond | last post by:
Does it currently work? src/backend/utils/mb/conversion_procs/*/ is not building anything, and 'make install' fails because it tries to copy *.so files. -- dave ...
6
5561
by: Josué Maldonado | last post by:
Hello list, First of all excuse me if this question is so obvius, I have not found the info I need on this. I installed pg 7.4.1 from source, now I need to add plpython lang, should I have to...
3
7552
by: Clodoaldo Pinto Neto | last post by:
Hi all, I'm restoring a database from 7.3.4 FC1 to 7.4.2 FC2: $ pg_restore -d KakaoStats KakaoStats.dump pg_restore: could not execute query: ERROR: could not access file...
5
1841
by: Sim Zacks | last post by:
I have the following function and I am getting an invalid syntax error when I try to run it. I have tried the function a number of ways including with named parameters and non-named parameters...
0
2674
by: RL | last post by:
Hi, I am trying to implement a few functions in Plpython (in Postgresql 8.0.1). However, I could find the solution in the documentation, so I would appreciate your help. My question is how to...
1
1937
by: Gerardo Herzig | last post by:
Hi all, sory if this is kind of , but cannot find the answer for this behaviour Im programming a db function using plpython...i have a db called 'sessions', and a postgres 8.1.2 database called...
4
5658
by: Alchemist | last post by:
I am using Python 2.4 and Postgresql 8.2 database server. On the database I have created a stored function, example, CREATE OR REPLACE FUNCTION calculateaverage() I created a new python script...
0
1202
by: Gerardo Herzig | last post by:
Hi all. Im having a hard time trying to compile the plpython package. This is the error make gives me: gherzig@vdb:/usr/local/src/postgresql-8.2.5/src/pl/plpythonmake gcc -O2 -Wall...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.