Hi, I now resend the patch to report mod_webapp version.
The new file "wa_version.h" should be placed under "include/" directory. However, it is for httpd-2.0 only. I will make another patch for 1.3 once my patch is accepted. JF, could you please take a look on this patch? You can see what's running on my server: http://uptime.netcraft.com/up/graph/?mode_u=off&mode_w=on&site=punknix.homei p.net&submit=Examine The Response Header should look like this: ===================================================== HTTP/1.1 200 OK Date: Mon, 28 Jan 2002 02:45:54 GMT Server: Apache/2.0.31-dev (Unix) mod_webapp/1.0.2 Content-Location: index.html.en Vary: negotiate,accept,accept-language,accept-charset TCN: choice Last-Modified: Mon, 14 Jan 2002 16:00:19 GMT ETag: "4cfe3-5b0-5f830ac0;4d021-94f-5f830ac0" Accept-Ranges: bytes Content-Length: 1456 Connection: close Content-Type: text/html; charset=ISO-8859-1 Content-Language: en Expires: Mon, 28 Jan 2002 02:45:54 GMT ===================================================== - Punky > GOMEZ Henri wrote: > > > > I could build webapp for Apache 1.3 on my Redhat 7.2 box > > but build for Apache 2.0 failed : > > > > My Linux is using a recent libtool 1.4 ... > > That could be the problem... I am using: > +++ > jfclere@vtxclere:~ > libtool --version > ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27) > jfclere@vtxclere:~ > > +++ > or > +++ > $ libtool --version > ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) > +++ > > > > > BTW: what is the version number for this release of webapp ? > > 1.0.2 > > > > > ---- > > > > make[1]: Entering directory `/root/webapp-module-1.0.2-tc402' > > > > make[1]: Entering directory "lib" > > make[1]: Invoking "make build" > > make[2]: Entering directory `/root/webapp-module-1.0.2-tc402/lib' > > make[2]: Generating "pr_warp_defs.h" from > > "/root/webapp-module-1.0.2-tc402/java/Constants.java" > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "wa_main.c" > > mkdir .libs > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_main.c -fPIC -DPIC -o > > .libs/wa_main.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_main.c -o wa_main.o > > >/dev/null 2>&1 > > mv -f .libs/wa_main.lo wa_main.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "wa_config.c" > > rm -f .libs/wa_config.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_config.c -fPIC -DPIC -o > > .libs/wa_config.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_config.c -o wa_config.o > > >/dev/null 2>&1 > > mv -f .libs/wa_config.lo wa_config.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "wa_request.c" > > rm -f .libs/wa_request.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_request.c -fPIC -DPIC > > -o .libs/wa_request.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c wa_request.c -o > > wa_request.o >/dev/null 2>&1 > > mv -f .libs/wa_request.lo wa_request.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "pr_info.c" > > rm -f .libs/pr_info.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_info.c -fPIC -DPIC -o > > .libs/pr_info.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_info.c -o pr_info.o > > >/dev/null 2>&1 > > mv -f .libs/pr_info.lo pr_info.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "pr_warp.c" > > rm -f .libs/pr_warp.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp.c -fPIC -DPIC -o > > .libs/pr_warp.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp.c -o pr_warp.o > > >/dev/null 2>&1 > > mv -f .libs/pr_warp.lo pr_warp.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "pr_warp_packet.c" > > rm -f .libs/pr_warp_packet.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_packet.c -fPIC > > -DPIC -o .libs/pr_warp_packet.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_packet.c -o > > pr_warp_packet.o >/dev/null 2>&1 > > mv -f .libs/pr_warp_packet.lo pr_warp_packet.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "pr_warp_network.c" > > rm -f .libs/pr_warp_network.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_network.c -fPIC > > -DPIC -o .libs/pr_warp_network.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_network.c -o > > pr_warp_network.o >/dev/null 2>&1 > > mv -f .libs/pr_warp_network.lo pr_warp_network.lo > > /etc/httpd2/build/libtool /usr/bin/gcc -static -g -O2 > > -I/usr/include/apache2/ -I/root/webapp-module-1.0.2-tc402/include -c > > "pr_warp_config.c" > > rm -f .libs/pr_warp_config.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_config.c -fPIC > > -DPIC -o .libs/pr_warp_config.lo > > /usr/bin/gcc -g -O2 -I/usr/include/apache2/ > > -I/root/webapp-module-1.0.2-tc402/include -c pr_warp_config.c -o > > pr_warp_config.o >/dev/null 2>&1 > > mv -f .libs/pr_warp_config.lo pr_warp_config.lo > > make[2]: Creating library "libwebapp.la" > > /etc/httpd2/build/libtool /usr/bin/gcc -rpath > > /root/webapp-module-1.0.2-tc402/lib -static -o libwebapp.la wa_main.lo > > wa_config.lo wa_request.lo pr_info.lo pr_warp.lo pr_warp_packet.lo > > pr_warp_network.lo pr_warp_config.lo > > rm -fr .libs/libwebapp.la .libs/libwebapp.* .libs/libwebapp.* > > ar cru .libs/libwebapp.a wa_main.o wa_config.o wa_request.o pr_info.o > > pr_warp.o pr_warp_packet.o pr_warp_network.o pr_warp_config.o > > ranlib .libs/libwebapp.a > > creating libwebapp.la > > (cd .libs && rm -f libwebapp.la && ln -s ../libwebapp.la libwebapp.la) > > /etc/httpd2/build/libtool --silent --mode=install \ > > /root/webapp-module-1.0.2-tc402/support/install.sh -c \ > > libwebapp.la \ > > /root/webapp-module-1.0.2-tc402/lib > > PATH="$PATH:/sbin" ldconfig -n /root/webapp-module-1.0.2-tc402/lib > > ---------------------------------------------------------------------- > > Libraries have been installed in: > > /root/webapp-module-1.0.2-tc402/lib > > > > If you ever happen to want to link against installed libraries > > in a given directory, LIBDIR, you must either use libtool, and > > specify the full pathname of the library, or use `-LLIBDIR' > > flag during linking and do at least one of the following: > > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > > during execution > > - add LIBDIR to the `LD_RUN_PATH' environment variable > > during linking > > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > > > See any operating system documentation about shared libraries for > > more information, such as the ld(1) and ld.so(8) manual pages. > > ---------------------------------------------------------------------- > > /etc/httpd2/build/libtool --silent --mode=finish \ > > /root/webapp-module-1.0.2-tc402/lib > > make[2]: Leaving directory `/root/webapp-module-1.0.2-tc402/lib' > > make[1]: Exiting directory "lib" > > make[1]: Leaving directory `/root/webapp-module-1.0.2-tc402' > > make[1]: Entering directory `/root/webapp-module-1.0.2-tc402' > > > > make[1]: Entering directory "apache-2.0" > > make[1]: Invoking "make build" > > make[2]: Entering directory `/root/webapp-module-1.0.2-tc402/apache-2.0' > > Compiling and Linking Apache 2.0 WebApp Module > > /usr/sbin/apxs2 -I../include -c -L ../lib -lwebapp mod_webapp.c > > /etc/httpd2/build/libtool --silent --mode=compile gcc -O2 -march=i386 > > -mcpu=i686 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT > > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I/usr/include/db1 > > -pthread -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../include -c -o > > mod_webapp.lo mod_webapp.c && touch mod_webapp.slo > > /etc/httpd2/build/libtool --silent --mode=link gcc -o mod_webapp.la > > -rpath /usr/lib/apache2 -module -avoid-version -I../include -L../lib > > -lwebapp mod_webapp.lo > > > > *** Warning: This library needs some functionality provided by -lwebapp. > > *** I have the capability to make that library automatically link in > > when > > *** you link to this library. But I can only do this if you have a > > *** shared version of the library, which you do not appear to have. > > > > *** Warning: libtool could not satisfy all declared inter-library > > *** dependencies of module mod_webapp. Therefore, libtool will create > > *** a static module, that should work as long as the dlopening > > *** application is linked with the -dlopen flag. > > make[2]: Leaving directory `/root/webapp-module-1.0.2-tc402/apache-2.0' > > make[1]: Exiting directory "apache-2.0" > > make[1]: Leaving directory `/root/webapp-module-1.0.2-tc402' > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
mod_webapp.c.patch
Description: Binary data
wa_version.h
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>