[mod_python] Why not a Python 2.1 version ?

Bo Lorentsen bl at netgroup.dk
Fri Jun 8 09:08:33 EST 2001


"Gregory (Grisha) Trubetskoy" wrote:

> Brendan -
>
> When you compiled Python, you should have seen a warning about threads.
> Apache uses no threads, whereas most default Python installations do.
> Unfortunately, on some systems this makes mod_python and Apache
> incompatible.
>
> The solution is to compile Python without threads and build mod_python
> against that Python compilation using the --with-python argument to
> configure.

Couldn't you include "-lpthread" when linking the mod_python file, regardless of
the disability to run threads. If the python script tries to run threads, its the
problem for this particular module but not the entire Python system.

/BL




More information about the Mod_python mailing list