You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ca...@lawson.com on 2004/07/09 00:51:28 UTC

AIX 5.2, Apache 2.0.5, Tomcat 4.1.3, (JK2 compile Issue)

Hello Everyone,

        I have scowered the the Jakarta message archives, Jakarta 
instructions, internet, blogs, google, yahoo and am at my wits end.

        I have GCC to 3.3.2 release, M4 to 1.4, autoconf to 2.53, libtool 
to 1.4.2, automake 1.5, java1.4 and all IBM patches current.  Made sure 
the 3.3.2 release was on the path as well as all the others installed. 

        I am on a pseries IBM server with AIX 5.2 Maint Level 2, Apache 
2.0.5, and Tomcat 4.1.3  all running just fine.
        I am able to execute the buildconf.sh just fine.  It is the 
./configure statement that I am unable to get past.

        I have tried many different iterations and I am looking for ideas 
here.  Below is the last run with the last command line for configure that 
I have tried.

CC=gcc ./configure --with-apxs2=/web/apache2/bin/apxs 
--with-apr-lib=/web/apache2/lib --with-tomcat-41=/web/tomcat41 
--with-java-home=/usr/java14

feedback from the run of the command:

checking build system type... powerpc-ibm-aix5.2.0.0
checking host system type... powerpc-ibm-aix5.2.0.0
checking target system type... powerpc-ibm-aix5.2.0.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 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 style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/ccs/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -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 ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... none
checking if gcc static flag -static -Wl,-lC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/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... aix5.2.0.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
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
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for "apache-2.0"
checking checking for apache13...... not provided
checking checking for apache20...... not provided
checking checking for iis...... not provided
checking checking for iPlanet...... not provided
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... not provided
./configure[9331]: apr-config:  not found
configure: error: Apache 1.3 requires apr to built from source, use 
--with-apr a
nd --with-apr-util

I am compiling for Apache 2.0.  It even says it is building connector for 
"apache-2.0".

If this is the case why is it reporting a configure error: Apache 1.3 
requires apr to build from source, use --with.........?  It does not make 
sense.   FYI.  I am building this on the same box as a live Apache 1.3.29, 
Tomcat 4.0.6, Java 1.3.1 live configuration.

env that I have to run the command from:

_=/usr/bin/env
LANG=en_US
LOGIN=root
PATH=/usr/ccs/bin:/opt/freeware/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/vac/bin:/usr/java131/bin:/usr/local/bin:/usr/es/sbin/cluster/utilities
LC__FASTMSG=true
CGI_DIRECTORY=/var/docsearch/cgi-bin
LOGNAME=root
MAIL=/usr/spool/mail/root
LOCPATH=/usr/lib/nls/loc
PS1=[!]$HOST:$PWD]
HOST=lawsonweb
DOCUMENT_SERVER_MACHINE_NAME=localhost
USER=root
AUTHSTATE=compat
DEFAULT_BROWSER=netscape
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
APACHE_HOME=/web/apache2
DOCUMENT_SERVER_PORT=49213
HOME=/
TERM=vt320
MAILMSG=[YOU HAVE NEW MAIL]
ITECONFIGSRV=/etc/IMNSearch
PWD=/web/install/070604/tomcat/conn/jk2a/jk/native2
DOCUMENT_DIRECTORY=/usr/docsearch/html
TZ=EST5EDT
ITECONFIGCL=/etc/IMNSearch/clients
ITE_DOC_SEARCH_INSTANCE=search
A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

I have a feeling I am not all that far from getting it to compile.  I am 
just not sure where to turn now.

Assistance please as this has me vexed.

Cary D. Conover