configuring python with disable-thread in Ubuntu

Deepak Chandran dchandran1 at
Fri May 8 02:05:36 EDT 2009


I am embedding python inside a C++ program. For some reason (I think libxml2), I am getting Segmentation fault at PyThread_release_lock. 

The solution I found online was to configure python with --disable-thread.

I used "apt-get install python-dev" to install python. 
How do I re-configure it using the --disable-thread option?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list