-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 04, 2002 at 04:46:39PM +0000, Manoj Kithany wrote:

please do not cross-post to tomcat-user and tomcat-dev although i can
see how you might think this problem could be posted to both.  i would
suggest you try tomcat-user first and then use -dev only if there is
no answer on -user.  thanks.

> I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
> I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is 
> NOT available for IBM AIX System - so I try to build it using following 
> procedure but get ERRORS.
> 
> I tried to execute "./buildconf.sh" and then execute "./configure" without 
> having any problems. But when I execute "make" I get following Error - 
> wonder why? Can you please look into this problem - would really appreciate 
> your precious time. The Error is:
> --------------------------------------------------
> # make
> Making all in common
> Target "all" is up to date.
> Making all in apache-2.0
>       /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include 
> -I/usr/local/apache/srclib/apr/include -I/usr/local/apache
> /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 
> -DUSE_APACHE_MD5 -I ../common  -I /usr/java130/include -I /usr/java130/incl
> ude/ -D_REENTRANT -Wall   -c mod_jk.c
> mkdir .libs
> cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
> -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
> nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I 
> /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
> libs/mod_jk.lo
> ../libtool[847]: cc:  not found

it seems pretty obvious.  libtool cannot find cc.  do you have a
compiler installed on your box?  what is it?  you can try a couple
things: 1) export CC=/path/to/compiler (for sh); or 2) sym link your
copmiler to cc.  i have had problems with some makefiles trying to
hardcode cc as the compiler a simple ln -s gcc cc worked for me.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9dj41ggA8sH0iRXQRAoUZAKCk8uwd76sKHU887vM7pVkx5SXXKgCdGNOU
ZzPfZHUSjzH0G04Jh5Yb6Qg=
=UBhc
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to