mod_python & "please recompile it with -DEAPI" apache warning
ggg at gg.com
ggg at gg.com
Wed Mar 9 03:40:18 EST 2005
In article <1110239295.586156.58180 at f14g2000cwb.googlegroups.com>,
grahamd at dscpl.com.au says...
> ggg at gg.com wrote:
> > 2) added to MakeFile after config:
> > EXTRA_CFLAGS=-DEAPI
>
> You can do this, but it should be to "src/Makefile" and added
> to "CFLAGS" and not "EXTRA_CFLAGS" as the latter doesn't exist.
>
>
Thanks I forgot to say I already tried just plain CFLAGS like:
CFLAGS=-DEAPI
..but that still doesn't work.
Here's what I did:
make clean
./configure --with-apxs=/www/bin/apxs
vi MakeFile
added CFLAGS=-DEAPI to MakeFile
make
make install
/etc/init.d/apachectl configtest
..and that still returns:
[Wed Mar 9 00:35:27 2005] [warn] Loaded DSO libexec/mod_python.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)
More information about the Python-list
mailing list