You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Craig McDaniel <cr...@nplus1.net> on 2001/12/13 16:17:43 UTC

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.
/_/_/_\ craigm@nplus1.net
/_/_/_/_\ (502) 479-5557
 
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>