Re: mod_webapp compiling problems
On 14/11/2001 04:17 pm, Petry Roman, ITS-IT [EMAIL PROTECTED] wrote: Hello... first.. tnaks for your fast answers.. Apachetoolbox is a nice shell-script, which helps you to compile Apache with a lot of modules, if you want.. nice thing.. btw.. Well, apparently it screws things up Ok.. But back to tomcat.. I deleted from the makefile, in the Apache-1.3 dir, the following line.. -S LDFLAGS_SHLIB=${APXS_LDFLAGS_SHLIB} \ Very bad idea... You won't be able to link the compiled module... and now the thing runs a little bit more.. BUT.. -o mod_webapp.so mod_webapp.o /root/webapp-module-2002/lib/libwebapp.a /ro ot/webapp-module-2002/lib/libapr.a apxs:Break: Command failed with rc=16777215 make[2]: *** [mod_webapp.so] Error 1 make[2]: Leaving directory `/root/webapp-module-2002/apache-1.3' make[1]: Exiting directory apache-1.3 And indeed... :) and now.. was it wrong to delete the line ?? or is this a new problem which has nothing to to with the deleted line..?? Your problem is that that ApacheToolBox is corrupting APXS, and it builds an APXS that doesn't really look good... Do things the good old way... Pier -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
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-2002.tar.gz but i had no luck... -- snipp --- nrz86:~/webapp-module-2002 # ./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-2002/lib/libwebapp.a \ /root/webapp-module-2002/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-2002/apache-1.3' make[1]: Exiting directory apache-1.3 make[1]: *** [template] Error 2 make[1]: Leaving directory `/root/webapp-module-2002' 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: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp compiling problems
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-2002.tar.gz but i had no luck... -- snipp --- nrz86:~/webapp-module-2002 # ./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-2002/lib/libwebapp.a \ /root/webapp-module-2002/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-2002/apache-1.3' make[1]: Exiting directory apache-1.3 make[1]: *** [template] Error 2 make[1]: Leaving directory `/root/webapp-module-2002' 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: 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]
RE: mod_webapp compiling problems
Hello, i compiled apache as follows... I need php and mod_perl.. nothing more and Tomcat of course.. export CFLAGS= export LIBS= export INCLUDES= ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=nobody \ --enable-module=so \ --enable-module=access \ --disable-module=auth_db \ --disable-module=digest \ --enable-module=imap \ --enable-module=mime \ --enable-module=setenvif \ --disable-module=usertrack \ --enable-module=auth \ --disable-module=cern_meta \ --disable-module=expires \ --enable-module=log_config \ --disable-module=proxy \ --disable-module=vhost_alias \ --disable-module=auth_anon \ --enable-module=cgi \ --disable-module=headers \ --disable-module=log_referer \ --disable-module=rewrite \ --enable-module=userdir \ --enable-module=asis \ --enable-module=autoindex \ --disable-module=example \ --disable-module=log_agent \ --enable-module=negotiation \ --enable-module=status \ --enable-module=actions \ --disable-module=auth_dbm \ --enable-module=dir \ --enable-module=include \ --disable-module=mime_magic \ --disable-module=unique_id \ --enable-module=alias \ --disable-module=auth_digest \ --enable-module=env \ --disable-module=info \ --disable-module=mmap_static \ --disable-module=speling \ --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a \ --activate-module=src/modules/php4/libphp4.a \ i used the Apachetoolbox-1.5.44 to build the Apache, and it seems to look good.. apxs returns the following results. apxs -q LDFLAGS_SHLIB returns nothing, i gave no special config for the shlib.. Is it nessecary to put the webapp Directory in the Apache src dir.. thanks Roman -Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 4:11 PM To: Tomcat Users List Subject: Re: mod_webapp compiling problems 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-2002.tar.gz but i had no luck... -- snipp --- nrz86:~/webapp-module-2002 # ./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-2002/lib/libwebapp.a \ /root/webapp-module-2002/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-2002/apache-1.3' make[1]: Exiting directory apache-1.3 make[1]: *** [template] Error 2 make[1]: Leaving directory `/root/webapp-module-2002' 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: 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] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp compiling problems
On 14/11/2001 03:26 pm, Petry Roman, ITS-IT [EMAIL PROTECTED] wrote: Hello, i compiled apache as follows... I need php and mod_perl.. nothing more and Tomcat of course.. export CFLAGS= export LIBS= export INCLUDES= ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=nobody \ --enable-module=so \ --enable-module=access \ --disable-module=auth_db \ --disable-module=digest \ --enable-module=imap \ --enable-module=mime \ --enable-module=setenvif \ --disable-module=usertrack \ --enable-module=auth \ --disable-module=cern_meta \ --disable-module=expires \ --enable-module=log_config \ --disable-module=proxy \ --disable-module=vhost_alias \ --disable-module=auth_anon \ --enable-module=cgi \ --disable-module=headers \ --disable-module=log_referer \ --disable-module=rewrite \ --enable-module=userdir \ --enable-module=asis \ --enable-module=autoindex \ --disable-module=example \ --disable-module=log_agent \ --enable-module=negotiation \ --enable-module=status \ --enable-module=actions \ --disable-module=auth_dbm \ --enable-module=dir \ --enable-module=include \ --disable-module=mime_magic \ --disable-module=unique_id \ --enable-module=alias \ --disable-module=auth_digest \ --enable-module=env \ --disable-module=info \ --disable-module=mmap_static \ --disable-module=speling \ --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a \ --activate-module=src/modules/php4/libphp4.a \ That seems right.. i used the Apachetoolbox-1.5.44 to build the Apache, and it seems to look good.. What's that thing? apxs returns the following results. apxs -q LDFLAGS_SHLIB returns nothing, i gave no special config for the shlib.. Although you didn't set anything the variable should be there... Is it nessecary to put the webapp Directory in the Apache src dir.. Nope. Pier -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_webapp compiling problems
Hello... first.. tnaks for your fast answers.. Apachetoolbox is a nice shell-script, which helps you to compile Apache with a lot of modules, if you want.. nice thing.. btw.. Ok.. But back to tomcat.. I deleted from the makefile, in the Apache-1.3 dir, the following line.. -S LDFLAGS_SHLIB=${APXS_LDFLAGS_SHLIB} \ and now the thing runs a little bit more.. BUT.. ---snipp --- APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \ /usr/local/apache/bin/apxs \ -S CFLAGS=${APXS_CFLAGS} \ -o mod_webapp.so \ -c mod_webapp.c \ /root/webapp-module-2002/lib/libwebapp.a \ /root/webapp-module-2002/lib/libapr.a ; \ } cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -D NO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI LE_OFFSET_BITS=64 -g -O2 -g -O2 -DLINUX=2 -D_REENTRANT -I/root/webapp-module-200 2/apr/include -I/root/webapp-module-2002/include -I/usr/local/apache/in clude -c mod_webapp.c *Initialization*:1: warning: `LINUX' redefined *Initialization*:1: warning: this is the location of the previous definition -o mod_webapp.so mod_webapp.o /root/webapp-module-2002/lib/libwebapp.a /ro ot/webapp-module-2002/lib/libapr.a apxs:Break: Command failed with rc=16777215 make[2]: *** [mod_webapp.so] Error 1 make[2]: Leaving directory `/root/webapp-module-2002/apache-1.3' make[1]: Exiting directory apache-1.3 -- snipp--- and now.. was it wrong to delete the line ?? or is this a new problem which has nothing to to with the deleted line..?? Thanks.. bye Roman -Original Message- From: Pier Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 4:41 PM To: Tomcat Users List Subject: Re: mod_webapp compiling problems On 14/11/2001 03:26 pm, Petry Roman, ITS-IT [EMAIL PROTECTED] wrote: Hello, i compiled apache as follows... I need php and mod_perl.. nothing more and Tomcat of course.. export CFLAGS= export LIBS= export INCLUDES= ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=nobody \ --enable-module=so \ --enable-module=access \ --disable-module=auth_db \ --disable-module=digest \ --enable-module=imap \ --enable-module=mime \ --enable-module=setenvif \ --disable-module=usertrack \ --enable-module=auth \ --disable-module=cern_meta \ --disable-module=expires \ --enable-module=log_config \ --disable-module=proxy \ --disable-module=vhost_alias \ --disable-module=auth_anon \ --enable-module=cgi \ --disable-module=headers \ --disable-module=log_referer \ --disable-module=rewrite \ --enable-module=userdir \ --enable-module=asis \ --enable-module=autoindex \ --disable-module=example \ --disable-module=log_agent \ --enable-module=negotiation \ --enable-module=status \ --enable-module=actions \ --disable-module=auth_dbm \ --enable-module=dir \ --enable-module=include \ --disable-module=mime_magic \ --disable-module=unique_id \ --enable-module=alias \ --disable-module=auth_digest \ --enable-module=env \ --disable-module=info \ --disable-module=mmap_static \ --disable-module=speling \ --enable-module=ssl \ --activate-module=src/modules/perl/libperl.a \ --activate-module=src/modules/php4/libphp4.a \ That seems right.. i used the Apachetoolbox-1.5.44 to build the Apache, and it seems to look good.. What's that thing? apxs returns the following results. apxs -q LDFLAGS_SHLIB returns nothing, i gave no special config for the shlib.. Although you didn't set anything the variable should be there... Is it nessecary to put the webapp Directory in the Apache src dir.. Nope. Pier -- 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]