[mod_python] How is the Python version selected?

Mike Bell mike at mikebell.org
Thu Aug 9 23:13:25 EST 2001

On Fri, Aug 10, 2001 at 11:29:29AM +1200, John Pallister wrote:
> I presume this is because the mod_python in
> libapache-mod-python was linked against the Python in
> python2-base. So there's no point in installing (say)
> ActivePython's 2.1.1 .deb. I guess I should really build
> Python 2.1.1, mod_python and Apache-SSL altogether from the
> sources. This would also mean that I could also compile up
> PygreSQL and/or PoPy, such that they actually work from
> mod_python...
> Can anyone comment on this summary, before I spend several
> hours on this (and give up the advantages of the packages)?
> And does anyone have an opinion on the ActiveState Python
> stuff?

Debian's packages will have been compiled with threads. Just compile your
own copy of python and mod_python and install the module. It shouldn't break
anything of debian's, because I can't recally any debian package that
depends on mod_python.

More information about the Mod_python mailing list