tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject compiling latest webapp for TC 4.0.2b2
Date Fri, 25 Jan 2002 07:41:59 GMT
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 ...

BTW: what is the version number for this release of webapp ?

----

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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message