"Craig R. McClanahan" wrote:
> 
> Still having problems getting mod_webapp installed and running in my
> environment (RedHat 7.1, JDK 1.3.1).  Here's what I've done:
> 
> (1) Download this morning's tarball of APR and built it per the docs:
> 
>     ./buildconf
>     ./configure --prefix=/usr/local --enable-static --disable-shared
>     make
>     make install
> 
> (2) Download most recent source from jakarta-tomcat-connectors and
>     built it per the docs:
> 
>     cd webapp
>     ./buildconf.sh
>     ./configure --with-apr=/usr/local --with-apxs=/usr/local/apache/bin/apxs
>     make
>     cp apache-1.3/mod_webapp.so /usr/local/apache/libexec/
> 
> (3) Configure my httpd.conf by adding:
> 
>     LoadModule webapp_module libexec/mod_webapp.so
>     AddModule  mod_webapp
> 
>     WebAppConnection warp     warp localhost:8008
>     WebAppDeploy     examples warp /examples/
> 
> (4) Tested configuration (/etc/rc.d/init.d/apache configtest) and got
>     the following error message:
> 
>     Syntax error on line 1027 of /usr/local/apache/conf/httpd.conf:
>     Cannot load /usr/local/apache/libexec/mod_webapp.so into server:
>       /usr/local/lib/libapr.so.0: undefined symbol: mm_create
> 
>     (The line number points at the LoadModule line)
> 
> Has anyone gotten this to work on RedHat 7.1?
> 
> Craig

The modification in the Makefile are the followings (That a dirty work-around):
+++
diff Makefile Makefile.modif
72c72
<       @$(APXS) -c $(APXSFLAGS) mod_webapp.c
---
>       @$(APXS) -c $(APXSFLAGS) -lpthread mod_webapp.c
jakarta@vtxclere:~/jakarta-tomcat-connectors/webapp/apache-1.3 > diff -u 
Makefile Makefile.modif
--- Makefile    Tue Jun 12 13:24:16 2001
+++ Makefile.modif      Tue Jun 12 12:21:34 2001
@@ -69,7 +69,7 @@
 
 mod_webapp.so:
        @echo Linking Apache 1.3.x module
-       @$(APXS) -c $(APXSFLAGS) mod_webapp.c
+       @$(APXS) -c $(APXSFLAGS) -lpthread mod_webapp.c
 
 clean:
        @echo Removing object files $(OBJS) $(MODULE)
+++

Reply via email to