Re: Apache2 + mod_python problems

2005-06-29 Thread Chad Morland
On 6/23/05, Csaba Henk [EMAIL PROTECTED] wrote:
 Can it be that you have installed mod_python with thread support
 enabled, but your python is w/o thread support?
 
 I had mysterious errors with mod_python (the error messages had nothing
 to do with threads) until I disabled threads both in python and
 mod_python.

Threads were the problem, but not with Python itself. I had to build
the apache2 port with --enable-threads specified.

Apache starts up fine after being recompiled with that option.

-CM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache2 + mod_python problems

2005-06-23 Thread Chad Morland
I am having problems getting mod_python and apache2 ports to work properly.

Here are the relevant ports that I have installed:
apache-2.0.54
mod_python-3.1.4_1
python-2.4.1_1

When I try and start apache I get the following:

pxetest# apachectl start
Syntax error on line 276 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/mod_python.so into server:
/usr/local/libexec/apache2/mod_python.so: Undefined symbol
pthread_attr_init

Line 276 is the mod_python LoadModule line. I've changed my LogLevel
to debug but nothing is printed in the error_log.

Thanks in advance for the help!

-CM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache2 + mod_python problems

2005-06-23 Thread Csaba Henk
On Thu, Jun 23, 2005 at 12:18:49PM -0400, Chad Morland wrote:
 I am having problems getting mod_python and apache2 ports to work properly.
 
 Here are the relevant ports that I have installed:
 apache-2.0.54
 mod_python-3.1.4_1
 python-2.4.1_1
 
 When I try and start apache I get the following:
 
 pxetest# apachectl start
 Syntax error on line 276 of /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/libexec/apache2/mod_python.so into server:
 /usr/local/libexec/apache2/mod_python.so: Undefined symbol
 pthread_attr_init

Can it be that you have installed mod_python with thread support
enabled, but your python is w/o thread support?

I had mysterious errors with mod_python (the error messages had nothing
to do with threads) until I disabled threads both in python and
mod_python.

Csaba
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]