I took this adventure home to my Mandrake 8.1 box and was able to
compile mod_webapp just fine. All the other machines I tried it on
were running Debian Woody, and the apxs script did not work on any of
these. Are there any Debian gurus on this list who have compiled
mod_webapp and/or experienced these difficulties?

On Thu, Dec 13, 2001 at 09:44:01AM -0600, Brian Adams wrote:
> It looks like there may by a problem with your apxs script.
> if you don't know wa.h is in the webapps include and I see it here being -I
> I had problems with apxs and had to change some lines in it.  1.3.22 sounds
> kinda new, I am surprised that it did not work there.
> maybe you can INCLUDE the includes in the Makfile in apache1.3 directory.
> just a thought.
> B
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 9:18 AM
> To: Tomcat Users List
> Subject: Errors building mod_webapp for Apache 1.3
> 
> 
> I have checked out the latest cvs version of jakarta-tomcat-connectors
> and followed the build instructions for webapp. On two different
> systems (apache 1.3.9/22), I consitenly get the following error:
> 
> ----------------------------------------------------------------
> make[2]: Entering directory
> `/home/craigm/src/jakarta-tomcat-connectors/webapp/apache-1.3'
> { APXS_LDFLAGS_SHLIB="`/usr/bin/apxs -q LDFLAGS_SHLIB` \
>          \
>         -lm -lcrypt -lnsl -ldl" ; \
>     APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
>     APXS_CFLAGS="`/usr/bin/apxs -q CFLAGS` \
>         -g -O2 \
>         -g -O2 \
>          \
>         -DLINUX=2 -D_REENTRANT \
>         -I/home/craigm/src/jakarta-tomcat-connectors/webapp/apr/include \
>         -I/home/craigm/src/jakarta-tomcat-connectors/webapp/include \
>         " ; \
>     APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
>     /usr/bin/apxs \
>         -S CFLAGS="${APXS_CFLAGS}" \
>         -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
>         -o "mod_webapp.so" \
>         -c "mod_webapp.c" \
>         "/home/craigm/src/jakarta-tomcat-connectors/webapp/lib/libwebapp.a"
> \
>         "/home/craigm/src/jakarta-tomcat-connectors/webapp/lib/libapr.a" ; \
> }
> Bareword found where operator expected at (eval 6) line 1, near ""-DLINUX=22
> -DEAPI -DTARGET="apache"
>         (Missing operator before apache?)
> String found where operator expected at (eval 6) line 1, at end of line
> gcc -DLINUX=22 -DEAPI -DTARGET="apache" -I/usr/include/db1 -DUSE_HSREGEX
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fpic -DSHARED_MODULE
> -I/usr/include/apache-1.3  -c mod_webapp.c
> mod_webapp.c:70: wa.h: No such file or directory
> apxs:Break: Command failed with rc=1
> 
> etc...
> ------------------------------------------------------------------
> 
> 
> So what's the deal? Please tell me I am not a moron.
> 
> Later,
> -- 
> \ Craig "Cowboy" McDaniel
> /_\ Software Engineer
> /_/_\ n + 1, Inc.
> /_/_/_\ [EMAIL PROTECTED]
> /_/_/_/_\ (502) 479-5557
>  
> MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools
> Teenagers
> 
> 
> 
> --
> 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]>

-- 
\ Craig "Cowboy" McDaniel
/_\ Software Engineer
/_/_\ n + 1, Inc.
/_/_/_\ [EMAIL PROTECTED]
/_/_/_/_\ (502) 479-5557
 
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers

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

Reply via email to