[mod_python] Apache 1.3, mod_python, and threads

Mateusz Korniak mateusz at ant.gliwice.pl
Wed Nov 13 13:22:38 EST 2002


On Wednesday 13 November 2002 11:49, Gary Benson wrote:

> > I pretty sure _I'm_ _able_ to build, and extensively use mod_python
> > with both python 2.2.1 and 2.2.2, and both compiled with threads.
>
> This is with Apache 1.3?  I have Apache 1.3.23, Python 2.2 and
> mod_python 2.7.8.  If I build Python with threads then Apache dies on
> startup with the malformed error message "alize: can't make modules
> dictionary"

[matkor at appserver ~]$ rpm -q apache
apache-1.3.27-3
[matkor at appserver ~]$ rpm -q apache-mod_python
apache-mod_python-2.7.8-6
[matkor at appserver ~]$ rpm -q python
python-2.2.2-1

( All specs used to build those rpms are on http://www.pld.org.pl/devel/cvs/ 
there should be alse src rpms ...)

[matkor at appserver ~]$ python
Python 2.2.2 (#1, Nov  9 2002, 21:07:57)
[GCC 2.95.4 20010319 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import thread
>>>

> Maybe the problem is Python 2.2 as opposed to 2.2.1/2.2.2.  I'll try
> with one of those.

I had only problems with mod_python itself but only  when I tried use 
mod_python dynlinked .. but symptoms ware different - segfault on first use 
of mod_python.


-- 
Mateusz Korniak





More information about the Mod_python mailing list