Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 99260 invoked from network); 3 Mar 2003 11:38:05 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Mar 2003 11:38:05 -0000 Received: (qmail 29319 invoked by uid 97); 3 Mar 2003 11:39:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 29312 invoked from network); 3 Mar 2003 11:39:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 Mar 2003 11:39:41 -0000 Received: (qmail 98386 invoked by uid 500); 3 Mar 2003 11:37:54 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 98374 invoked from network); 3 Mar 2003 11:37:54 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Mar 2003 11:37:54 -0000 Received: (qmail 29302 invoked by uid 50); 3 Mar 2003 11:39:31 -0000 Date: 3 Mar 2003 11:39:31 -0000 Message-ID: <20030303113931.29301.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 17332] - Problem in Building mod_jk.so in AIX 4.3.3 (Tomcat 4.0.4)..! X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17332 Problem in Building mod_jk.so in AIX 4.3.3 (Tomcat 4.0.4)..! chitrapandian@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From chitrapandian@yahoo.com 2003-03-03 11:39 ------- I'm tried with, http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/ But, Still the problem exists, But, I'm not succeed in that, following are the list of things I did (CONSOLE OUTPUT). Installed all the required utilities (autoconf, automake, gcc, make, etc.,) System Details :: IBM - AIX 4.3.3 Apache 2.0.40 Jakarta Tomcat Connector 1.2.2 Any help to solve this problem is really appreciated. ------------------------------------------------------------------ bash-2.05a# cd jakarta-tomcat-connectors-jk-1.2.2-src/jk/native/ bash-2.05a# sh buildconf.sh libtoolize --force --automake --copy aclocal automake -a --foreign -i --copy autoconf bash-2.05a# ./configure -with-apxs=/Chithu/test/new/install/bin/apxs checking for a BSD-compatible install... scripts/build/unix/install-sh -c checking whether build environment is sane... yes /Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/scripts/build/unix/missing: Unknown `--run' option Try `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/scripts/build/unix/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking build system type... powerpc-ibm-aix4.3.3.0 checking host system type... powerpc-ibm-aix4.3.3.0 checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... aix4.3.3.0 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... aix4.3.3.0 ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes checking for gcj option to produce PIC... checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... aix4.3.3.0 ld.so checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) no checking for test... /usr/bin/test checking for rm... /usr/bin/rm checking for grep... /usr/bin/grep checking for echo... /usr/bin/echo checking for sed... /usr/bin/sed checking for cp... /usr/bin/cp checking for mkdir... /usr/bin/mkdir checking for libtool... /Chithu/test/new/install/build/libtool need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for "apache-2.0" checking for target platform... unix no apache given configure: creating ./config.status config.status: creating Makefile config.status: creating apache-1.3/Makefile config.status: creating apache-1.3/Makefile.apxs config.status: creating apache-2.0/Makefile config.status: creating apache-2.0/Makefile.apxs config.status: creating common/Makefile config.status: creating common/list.mk config.status: creating jni/Makefile config.status: executing depfiles commands bash-2.05a# make Making all in common make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/common' /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp12_worker.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.o echo timestamp > jk_ajp12_worker.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_connect.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_connect.c - o jk_connect.o echo timestamp > jk_connect.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_msg_buff.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_msg_buff.c -o jk_msg_buff.o echo timestamp > jk_msg_buff.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_util.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_util.c -o jk_util.o echo timestamp > jk_util.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp13.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp13.c -o jk_ajp13.o echo timestamp > jk_ajp13.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_pool.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_pool.c -o jk_pool.o echo timestamp > jk_pool.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_worker.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_worker.c - o jk_worker.o echo timestamp > jk_worker.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp13_worker.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.o echo timestamp > jk_ajp13_worker.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_lb_worker.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_lb_worker.c -o jk_lb_worker.o echo timestamp > jk_lb_worker.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_sockbuf.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_sockbuf.c - o jk_sockbuf.o echo timestamp > jk_sockbuf.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_map.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_map.c -o jk_map.o echo timestamp > jk_map.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_uri_worker_map.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_uri_worker_map.c -ojk_uri_worker_map.o echo timestamp > jk_uri_worker_map.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp14.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp14.c -o jk_ajp14.o echo timestamp > jk_ajp14.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp14_worker.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.o echo timestamp > jk_ajp14_worker.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_md5.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_md5.c -o jk_md5.o echo timestamp > jk_md5.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp_common.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_ajp_common.c -o jk_ajp_common.o echo timestamp > jk_ajp_common.lo /Chithu/test/new/install/build/libtool --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS - D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_context.c gcc -I/Chithu/test/new/install/include -g -O2 -g -O2 -g -O2 -U__STR__ - D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -I /include -I /include/ -c jk_context.c - o jk_context.o echo timestamp > jk_context.lo make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/common' Making all in apache-2.0 make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/apache-2.0' /bin/sh /Chithu/test/new/install/build/libtool --silent --mode=compile gcc - I/Chithu/test/new/install/include -g -O2 -DUSE_APACHE_MD5 -I ../common - I /include-I /include/unix -U__STR__ -D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -g - O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -c mod_jk.c /bin/sh /Chithu/test/new/install/build/libtool --silent --mode=link gcc - I/Chithu/test/new/install/include -g -O2 -DUSE_APACHE_MD5 -I ../common - I /include -I/include/unix -U__STR__ -D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -g - O2 -g -O2 -g -O2 -U__STR__ -D_USE_IRS -D_THREAD_SAFE -D_32KERMODE -o mod_jk.la - module -rpath /Chithu/test/new/install/modules -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_ buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../commo n/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/ jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_aj p14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_ajp_common. lo ../common/jk_context.lo /bin/sh /Chithu/test/new/install/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so libtool: install: warning: remember to run `libtool -- finish /Chithu/test/new/install/modules' make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/apache-2.0' make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native' target="all"; \ list='common apache-2.0'; \ for i in $list; do \ echo "Making $target in $i"; \ if test "$i" != "."; then \ (cd $i && make $target) || exit 1; \ fi; \ done; Making all in common make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/common' Making all in apache-2.0 make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/apache-2.0' /bin/sh /Chithu/test/new/install/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so libtool: install: warning: remember to run `libtool -- finish /Chithu/test/new/install/modules' make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/apache-2.0' bash-2.05a# make install Making install in common make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/common' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/common' Making install in apache-2.0 make[1]: Entering directory `/Chithu/test/new/jakarta-tomcat-connectors-jk- 1.2.2-src/jk/native/apache-2.0' Installing files to Apache Modules Directory... /Chithu/test/new/install/bin/apxs -i mod_jk.la /Chithu/test/new/install/build/instdso.sh SH_LIBTOOL='/Chithu/test/new/install/build/libtool' mod_jk.la /Chithu/test/new/install/modules rm -f /Chithu/test/new/install/modules/mod_jk.so /Chithu/test/new/install/build/libtool --mode=install cp mod_jk.la /Chithu/test/ new/install/modules/ cp .libs/mod_jk.lai /Chithu/test/new/install/modules/mod_jk.la cp .libs/libmod_jk.a /Chithu/test/new/install/modules/libmod_jk.a ranlib /Chithu/test/new/install/modules/libmod_jk.a chmod 644 /Chithu/test/new/install/modules/libmod_jk.a ---------------------------------------------------------------------- Libraries have been installed in: /Chithu/test/new/install/modules 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 the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LIBPATH' environment variable during execution - use the `-Wl,-blibpath:LIBDIR:/usr/lib:/lib' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- mv: 0653-401 Cannot rename /Chithu/test/new/install/modules/ to /Chithu/test/new/install/modules/mod_jk.so: A system call received a parameter that is not valid. chmod 755 /Chithu/test/new/install/modules/mod_jk.so chmod: /Chithu/test/new/install/modules/mod_jk.so: A file or directory in the pa th name does not exist. apxs:Error: Command failed with rc=65536 . make[1]: *** [install_dynamic] Error 1 make[1]: Leaving directory `/Chithu/test/new/jakarta-tomcat-connectors-jk-1.2.2- src/jk/native/apache-2.0' make: *** [install-recursive] Error 1 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org