This is the output of my build run. So apparently I am building version 1.2.28 with XLC 10.1 and Apache 2.2.13
#./httpd -v Server version: Apache/2.2.13 (Unix) Server built: Sep 22 2009 13:27:47 # gmake -v GNU Make 3.80 /home/strickll/tomcat-connectors-1.2.28-src/native bash-3.00# CC="cc_r -qlanglvl=extc89" ./configure --with-apxs=/usr/local/apache2/bin/apxs checking build system type... powerpc-ibm-aix6.1.2.0 checking host system type... powerpc-ibm-aix6.1.2.0 checking target system type... powerpc-ibm-aix6.1.2.0 checking for a BSD-compatible install... scripts/build/unix/install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes 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 need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl APRINCLUDEDIR is -I/usr/local/apache2/include -I/usr/local/apache2/include building connector for "apache-2.0" checking for gcc... cc_r -qlanglvl=extc89 checking for C compiler default output file name... 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... no checking whether cc_r -qlanglvl=extc89 accepts -g... yes checking for cc_r -qlanglvl=extc89 option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc_r -qlanglvl=extc89... none checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for non-GNU ld... /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 dependent libraries... pass_all checking how to run the C preprocessor... cc_r -qlanglvl=extc89 -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... yes 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 for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 131072 checking command to parse /usr/bin/nm -B output from cc_r -qlanglvl=extc89 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc_r -qlanglvl=extc89 static flag works... yes checking for cc_r -qlanglvl=extc89 option to produce PIC... checking if cc_r -qlanglvl=extc89 supports -c -o file.o... yes checking whether the cc_r -qlanglvl=extc89 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... aix6.1.2.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... no 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 for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no 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 dynamic linker characteristics... aix6.1.2.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) yes checking whether a program can dlopen itself... (cached) no appending configuration tag "F77" to libtool LIBTOOL="/usr/local/apache2/build/libtool --silent" checking for char... yes checking size of char... 1 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for short... yes checking size of short... 2 checking for long double... yes checking size of long double... 8 checking for long long... yes checking size of long long... 8 checking for longlong... no checking size of longlong... 0 checking size of pid_t... 4 checking for snprintf... yes checking for vsnprintf... yes checking for flock... no checking for setsockopt in -lsocket... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking whether to use SO_RCVTIMEO with setsockopt()... yes checking whether to use SO_SNDTIMEO with setsockopt()... yes checking for target platform... unix no apache given no netscape 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 common/jk_types.h config.status: creating jni/Makefile config.status: creating common/portable.h config.status: common/portable.h is unchanged config.status: executing depfiles commands bash-3.00# gmake Making all in common gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_connect.c -o jk_connect.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_msg_buff.c -o jk_msg_buff.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_util.c -o jk_util.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp13.c -o jk_ajp13.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_pool.c -o jk_pool.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_worker.c -o jk_worker.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_lb_worker.c -o jk_lb_worker.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_sockbuf.c -o jk_sockbuf.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_map.c -o jk_map.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp14.c -o jk_ajp14.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_md5.c -o jk_md5.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_shm.c -o jk_shm.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_ajp_common.c -o jk_ajp_common.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_context.c -o jk_context.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_url.c -o jk_url.lo /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I /usr/java6/include -I /usr/java6/include/ -c jk_status.c -o jk_status.lo gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' Making all in apache-2.0 gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' /usr/local/apache2/build/libtool --silent --mode=compile cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -DUSE_APACHE_MD5 -I ../common -I /usr/java6/include -I /usr/java6/include/unix -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -g -qHALT=E -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -c mod_jk.c -o mod_jk.lo /usr/local/apache2/build/libtool --silent --mode=link cc_r -qlanglvl=extc89 -I/usr/local/apache2/include -g -DUSE_APACHE_MD5 -I ../common -I /usr/java6/include -I /usr/java6/include/unix -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -g -qHALT=E -DHAVE_APR -I/usr/local/apache2/include -I/usr/local/apache2/include -g -g -qHALT=E -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -o mod_jk.la -module -rpath /usr/local/apache2/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 ../common/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_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo ../scripts/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool --silent' mod_jk.la `pwd` rm -f /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/mod_jk.so /usr/local/apache2/build/libtool --silent --mode=install cp mod_jk.la /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/ libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' Warning! dlname not found in /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/mod_jk.la. Assuming installing a .so rather than a libtool archive. gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native' gmake[1]: Nothing to be done for `all-am'. gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native' target="all"; \ list='common apache-2.0'; \ for i in $list; do \ echo "Making $target in $i"; \ if test "$i" != "."; then \ (cd $i && gmake $target) || exit 1; \ fi; \ done; Making all in common gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' Making all in apache-2.0 gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' ../scripts/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool --silent' mod_jk.la `pwd` rm -f /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/mod_jk.so /usr/local/apache2/build/libtool --silent --mode=install cp mod_jk.la /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/ libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules' Warning! dlname not found in /home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0/mod_jk.la. Assuming installing a .so rather than a libtool archive. gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' bash-3.00# gmake install Making install in common gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' gmake[1]: Nothing to be done for `install'. gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/common' Making install in apache-2.0 gmake[1]: Entering directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' Installing files to Apache Modules Directory... /usr/local/apache2/bin/apxs -i mod_jk.la /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' mod_jk.la /usr/local/apache2/modules rm -f /usr/local/apache2/modules/mod_jk.so /usr/local/apache2/build/libtool --mode=install cp mod_jk.la /usr/local/apache2/modules/ cp .libs/mod_jk.lai /usr/local/apache2/modules/mod_jk.la cp .libs/libmod_jk.a /usr/local/apache2/modules/libmod_jk.a chmod 644 /usr/local/apache2/modules/libmod_jk.a ranlib /usr/local/apache2/modules/libmod_jk.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/apache2/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: See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Warning! dlname not found in /usr/local/apache2/modules/mod_jk.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/mod_jk.so chmod: /usr/local/apache2/modules/mod_jk.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . gmake[1]: *** [install_dynamic] Error 1 gmake[1]: Leaving directory `/home/strickll/tomcat-connectors-1.2.28-src/native/apache-2.0' gmake: *** [install-recursive] Error 1 -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, September 24, 2009 11:54 AM To: Tomcat Users List Subject: Re: Has anyone been successful building mod_jk on AIX 6.1 ? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Larry, On 9/24/2009 11:58 AM, Strickland, Lawrence P wrote: > Has anyone been successful building mod_jk on AIX 6.1 ? > If so, do you have any tips for me? I can't seem to get it to go. > It fails to build mod_jk.so Could you provide some more details? How about providing us with the output of 'configure' and 'make'? Also, what version are you trying to build? What C compiler are you using, and what version? Are you using GNU make? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkq7pAoACgkQ9CaO5/Lv0PD9AQCgwJSfbJ0DmNasa70+cR9l9mtJ oGcAoKqlGAp9D/qq2NcI3I5Hka4r7mMD =KBkJ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org