Yes, I had to do this too, to compile the mod_webapp module with EAPI 
support.  You are just missing one step.  After you get the fresh cvs 
snapshot (like you did ), go forth like this:


# cd jakarta-tomcat-connectors/webapp
# ./support/buildconf.sh
# CFLAGS=-DEAPI
# ./configure --with-apxs=/usr/bin/apxs  
#make

Then copy your compiled mod_webapp.so to where apache is going to look 
for it:


# cp apache-1.3/mod_webapp.so  /usr/local/apache/libexec

After doing so when you startup apache you will not see the EAPI warning.
Hope this helps,

- Charles

[EMAIL PROTECTED] wrote:

>Hi everyone,
>
>Because of an upload file's bug with mod_webapp-1.0-2.i386.rpm, I've
>done a snapshot from cvs to compile my own .so .
>It seems that the bug has diseappered, but when I restart Apache, it
>tells me :
>
>Starting httpd: [Mon Mar  4 09:18:05 2002] [warn] Loaded DSO
>modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash
>under EAPI! (please recompile it with -DEAPI)
>
>
>Here are the steps to compile :
>
>cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
>cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic         checkout
>jakarta-tomcat-connectors/webapp
>cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic         checkout
>apr
>
>cd $SNAPSHOT/webapp
>
>./support/buildconf.sh
>./configure --with-apxs=/usr/bin/apxs --with-apr=./apr/
>make
>
>and I get my mod_webapp.so in $SNAPSHOT/webapp/apache-1.3/
>
>does anyone know where to include the -DEAPI compiling flag ?
>
>I'm using these RPM's on a Linux RedHat 7.1
>
>apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
>mod_bandwidth-2.0.3-2)
>
>tomcat4-4.0.2-3
>
>thanks in advance.
>
>--
>Julien OIX
>Service Informatique de Gestion
>T�l: 02 40 99 83 65
>mail: [EMAIL PROTECTED]
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to