phil suh
phil at munen.net
Sun Nov 12 23:47:31 EST 2000
I'm compiling Apache 1.3.14 w/ mod_so, mod_ssl, mod_perl baked in. I want to add mod_python as a DSO. I had to recompile Python-2.0 without threads since the BeOpen-Python 2.0 has threads turned on. After compiling mod_python, editing httpd.conf, and restarting Apache, it works, but Apache gives a warning: $ sudo /etc/rc.d/init.d/httpd start [Mon Nov 13 00:29:45 2000] [warn] Loaded DSO libexec/mod_python.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) /etc/rc.d/init.d/httpd start: httpd started I searched Google, and found a guy who claims that this is an mod_ssl related thing, and if the mod doesn't use ssl, I don't need to worry about it (http://www.geocrawler.com/archives/3/97/2000/3/0/3511640/). Is this true? Is there a way to recompile w/ -DEAPI? Can someone explain, step by step, how to do it? (I'd rather not have to live with that warning...bugs me). Thanks in advance for your help. Phil Suh Apache compilng-newbie, python enthusiast. P.S. How I compiled mod_python: [phil mod_python-2.6.3] $ pwd /usr/local/src/httpd/mod_python-2.6.3 [phil mod_python-2.6.3] $ ./configure \ > --with-python=/usr/local/src/Python-2.0 \ > --with-apxs=/usr/local/apache.org/httpd/bin/apxs \ > --with-apache=/usr/local/src/httpd/apache_1.3.14 [phil mod_python-2.6.3] $ make dso [phil mod_python-2.6.3] $ sudo make install ================================== phil at munen.net http://munen.net/~phil/
|