You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2002/01/25 08:47:34 UTC

Re: Problems building webapp_module

"Gonzalez, Federico" wrote:
> 
> I get the following error when trying to build webapp_module
> 
> make[1]: Entering directory "apache-1.3"
> make[1]: Invoking "make  build"
> make[2]: Entering directory `/tmp/webapp-module-1.0.1-tc401/apache-1.3'
> { APXS_LDFLAGS_SHLIB="`/apache/bin/apxs -q LDFLAGS_SHLIB` \
>          \
>         -lm -lcrypt -lnsl -ldl" ; \
>     APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
>     APXS_CFLAGS="`/apache/bin/apxs -q CFLAGS` \
>         -g -O2 \
>         -g -O2 \
>          \
>         -DLINUX=2 -D_REENTRANT \
>         -I/tmp/webapp-module-1.0.1-tc401/apr/include \
>         -I/tmp/webapp-module-1.0.1-tc401/include \
>         " ; \
>     APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
>     /apache/bin/apxs \
>         -S CFLAGS="${APXS_CFLAGS}" \
>         -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
>         -o "mod_webapp.so" \
>         -c "mod_webapp.c" \
>         "/tmp/webapp-module-1.0.1-tc401/lib/libwebapp.a" \
>         "/tmp/webapp-module-1.0.1-tc401/lib/libapr.a" ; \
> }
> apxs:Error: no config variable LDFLAGS_SHLIB
> Usage: apxs -g [-S <var>=<val>] -n <modname>
>        apxs -q [-S <var>=<val>] <query> ...
>        apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
>                [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
>                [-Wl,<flags>] <files> ...
>        apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
>        apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
> make[2]: *** [mod_webapp.so] Error 1
> 
> Any idea what is missing or wrong.
> Please send answers back to fgonzalez@goyaike.com.ar
> 
> Thanks in advance.

Your installation Apache is broken... The new webapp will stop in the configure
and claim he is not happy with your Apache installation.

> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>