[mod_python] Threads...

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue May 13 10:24:27 EST 2003


IIRC this has to do with -lutil missing from the compile command on some
systems - try hacking the Makefile and adding it manually.

Grisha

On Mon, 12 May 2003, Vio wrote:

> Greetings,
> since python adaptors to the 3 RDBMS I've tried so far all require
> python "with" thread support, I've recompiled python "without-threads"
> specifically for mod_python (but without "installing" it).
>
> Then
>
> ./configure
> --with-apache=/q/apache_1.3.27
> --with-python=/q/Python-2.2.2
> --with-apxs=/usr/local/apache/bin/apxs
>
> compiles OK, installs OK.
> But then apache chokes on new mod_python with:
>
> .../apachectl start
>
> Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_python.so into server:
> /usr/local/apache/libexec/mod_python.so: undefined symbol: openpty
>
> Line 210 of httpd.conf is simply the 'LoadModule' directive for
> mod_python.so
>
>
> So, provided this error is related to the thread support issue (from my
> corner of the globe it sure smell like it), how is the list juggling
> with different versions of python (some apps depending on python "with"
> thread support, some depending on python "without" ... and I needing
> "both")? Or is there a simpler solution I simply missed while going
> through the docs?
>
> Cheers,
> Vio
>
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list