You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "J. W. Ballantine" <jw...@homer.att.com> on 2005/04/29 20:42:00 UTC

mod_jk 1.2.11 build failure on solaris 2.8

I'm trying to build mod_jk 1.2.11 on a solaris 2.8
system and it fails with:

  Making all in jni
  /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=compile gcc 
-I/local/APACHE/Apache2/include -g -O2 -DHAVE_JNI -I /a2/JAVA/java/include -I 
/a2/JAVA/java/include/solaris -I../common -D_REENTRANT -c jk_jnicb.c
  /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=link gcc 
-I/local/APACHE/Apache2/include -g -O2 -DHAVE_JNI -I /a2/JAVA/java/include -I 
/a2/JAVA/java/include/solaris -I../common -D_REENTRANT -module -o jk_jnicb.la 
-rpath `pwd` -g -O2 -avoid-version jk_jnicb.lo ../common/jk_map.lo 
../common/jk_util.lo ../common/jk_pool.lo
  /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=install cp  
`pwd`/jni_connect.so
  libtool: install: you must specify a destination
  Try `libtool --help --mode=install' for more information.
  *** Error code 1
  make: Fatal error: Command failed for target `jni_connect.so'
  Current working directory /a4/TOMCAT/jakarta-tomcat-connectors-1.2.11-src/jk/
native/jni
  *** Error code 1
  make: Fatal error: Command failed for target `all-recursive'

I also tried it with just mod_jk and foe 1.2.10 and they all fail
on the /bin/bash /local/APACHE/Apache2/build/libtool --silent --mode=install 
cp.

I can get it to complete if I modify the Makefile by adding .libs and a
destination dir.

The configuration command is:

  ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs --enable-jni 
--with-java-home=/a2/JAVA/java --with-java-platform=2

Thanks

Jim Ballantine




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: mod_jk 1.2.11 build failure on solaris 2.8

Posted by Mladen Turk <ml...@jboss.com>.
J. W. Ballantine wrote:
> I'm trying to build mod_jk 1.2.11 on a solaris 2.8
> system and it fails with:
> 
> 
> The configuration command is:
> 
>   ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs --enable-jni 
> --with-java-home=/a2/JAVA/java --with-java-platform=2
>

jni will not work anyhow on any unix system. It can work in theory
only for WIN32 on Netware, so just use:
./configure --with-apxs=/local/APACHE/Apache2/bin/apxs

Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org