Connecting Tech Pros Worldwide Help | Site Map

Python x Postgresql Thrreading Problem

  #1  
Old December 20th, 2005, 05:25 PM
Adam Smith
Guest
 
Posts: n/a
Hello,

I am attempting to compile postgresql from source with python enable. I
have compiled & installed python on my machine according to the
instruction, installation seems fine

My Platform ==>
# uname -a
FreeBSD econ.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov 12
17:41:01 PST 2003
root@standard.dedicated.finance.net:/usr/obj/usr/src/sys/STANDARD i386

Running Python from the shell
# python
Python 2.4.2 (#2, Dec 19 2005, 05:08:47)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.

When I configure Postgresql it stops with a
checking for python... /usr/local/bin/python
checking for Python distutils module... yes
checking Python configuration directory...
/usr/local/lib/python2.4/config
checking how to link an embedded Python application...
-L/usr/local/lib/python2.4/config -lpython2.4 -lutil -lm
checking whether Python is compiled with thread support... yes
configure: error: *** Threaded Python not supported on this platform ***

How can I correct this? is there a non-threaded python installation?
Python is installed on the platform and seems to be functional so I
guess it might be a PostgreSQL interaction

Thanks

Adam
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python x Postgresql Thrreading Problem Adam Smith answers 0 December 20th, 2005 05:25 PM