Mod_python
Dominic Mitchell
dom at happygiraffe.net
Wed Jun 16 20:58:14 BST 2004
On Wed, Jun 16, 2004 at 02:09:49PM +0100, Jonathan wrote:
>
> FreeBSD 5.2.1
> I can't find much info about installing the mod_python so if any one can
> help that would be good
>
>
> Apache 2.0.48
> Python 2.3.2_3
> Mod_python-3.0.3
>
> I get an error message when I try to start my Apache server
> Syntax error on line 263 of /usr/local/etc/apache2/httpd.conf:
> Cannot load /usr/local/libexec/apache2/mod_phthon.so into server
> /usr/local/lib
> pthread_attr_init"
>
>
> I installed the mod_python though the sysinstall add packages it
> looked like it installed all the extra bits like expat-1.95.6_1
It sounds like mod_python or python is compiled with threads, but apache
isn't. Try recompiling python without threads. If you cd to
/usr/ports/lang/python and do "make config", it should give you the
option.
-Dom
More information about the Ukfreebsd
mailing list