You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Petry Roman, ITS-IT" <Ro...@dillinger.de> on 2001/11/14 14:00:13 UTC
mod_webapp compiling problems
Hello,
i have some serious problems compiling mod_webapp on my Suse 7.2 System..
I downloaded APACHE 1.3.22, Tomcat 4.0.1, PHP4 and mod_perl, compiled each
of them and they work..
Tomcat works standalone and Apache also..
Then i tried to connect Apache and Tomcat with the mod_webapp module.. I
downloaded the glib2.2 binary from the jakarta site, but the only thing it
does is a segmentation fault...
then i thought.. maybe the source is with you .. and i downloaded the
webapp-module-20011112.tar.gz
but i had no luck...
-- snipp ---
nrz86:~/webapp-module-20011112 # ./configure
--with-apxs=/usr/local/apache/bin/apxs
Finishing up
checking for APR compilation flags... ok
checking for Makefile targets... lib apr apache-1.3
updating cache ./config.cache
creating ./config.status
creating ./Makefile
creating ./Makedefs
creating ./lib/Makefile
creating ./java/Constants.java
creating ./apache-1.3/Makefile
All done. Now you can issue "make". Good luck.
-- snipp ----
then a make breaks with the following error...
--- snip ---
APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
/usr/local/apache/bin/apxs \
-S CFLAGS="${APXS_CFLAGS}" \
-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
-o "mod_webapp.so" \
-c "mod_webapp.c" \
"/root/webapp-module-20011112/lib/libwebapp.a" \
"/root/webapp-module-20011112/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
make[2]: Leaving directory `/root/webapp-module-20011112/apache-1.3'
make[1]: Exiting directory "apache-1.3"
make[1]: *** [template] Error 2
make[1]: Leaving directory `/root/webapp-module-20011112'
make: *** [apache-1.3-build] Error 2
-- snipp ---
I tried to tweak the Makefile a little bit, but i had no luck..
Could anyone help me please..A search in the Archive had no luck..
thanks in advance...
mfg
Roman Petry
Microsoft Certified Systems Engineer (MCSE)
ITS-IT
AG der Dillinger Huettenwerke
Tel.: 0049-6831-474670
Fax.: 0049-6831-473505
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: mod_webapp compiling problems
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
"Petry Roman, ITS-IT" wrote:
>
> Hello,
>
> i have some serious problems compiling mod_webapp on my Suse 7.2 System..
> I downloaded APACHE 1.3.22, Tomcat 4.0.1, PHP4 and mod_perl, compiled each
> of them and they work..
>
> Tomcat works standalone and Apache also..
>
> Then i tried to connect Apache and Tomcat with the mod_webapp module.. I
> downloaded the glib2.2 binary from the jakarta site, but the only thing it
> does is a segmentation fault...
>
> then i thought.. maybe the source is with you .. and i downloaded the
> webapp-module-20011112.tar.gz
> but i had no luck...
>
> -- snipp ---
> nrz86:~/webapp-module-20011112 # ./configure
> --with-apxs=/usr/local/apache/bin/apxs
>
> Finishing up
> checking for APR compilation flags... ok
> checking for Makefile targets... lib apr apache-1.3
> updating cache ./config.cache
> creating ./config.status
> creating ./Makefile
> creating ./Makedefs
> creating ./lib/Makefile
> creating ./java/Constants.java
> creating ./apache-1.3/Makefile
>
> All done. Now you can issue "make". Good luck.
>
> -- snipp ----
>
> then a make breaks with the following error...
>
> --- snip ---
>
> APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
> /usr/local/apache/bin/apxs \
> -S CFLAGS="${APXS_CFLAGS}" \
> -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
> -o "mod_webapp.so" \
> -c "mod_webapp.c" \
> "/root/webapp-module-20011112/lib/libwebapp.a" \
> "/root/webapp-module-20011112/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
> make[2]: Leaving directory `/root/webapp-module-20011112/apache-1.3'
> make[1]: Exiting directory "apache-1.3"
> make[1]: *** [template] Error 2
> make[1]: Leaving directory `/root/webapp-module-20011112'
> make: *** [apache-1.3-build] Error 2
> -- snipp ---
>
> I tried to tweak the Makefile a little bit, but i had no luck..
>
> Could anyone help me please..A search in the Archive had no luck..
?
It seems you have a broken apache-1.3, at least a broken apxs - reinstall apache
-
>
> thanks in advance...
>
> mfg
> Roman Petry
> Microsoft Certified Systems Engineer (MCSE)
> ITS-IT
> AG der Dillinger Huettenwerke
> Tel.: 0049-6831-474670
> Fax.: 0049-6831-473505
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>