Hi list,

I am trying to install tomcat for the first time, version 5.5 with Sun's SDK 5, Redhat ES 4, which installed smoothly. My problem is trying to get the jsvc to get past configure:

[EMAIL PROTECTED] jsvc-src]# ./configure --with-java=/usr/java/jre1.5.0_06
*** Current host ***
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking JAVA_HOME... /usr/java/jre1.5.0_06
checking for javac... NONE
checking for javac... /usr/bin/javac
checking wether the Java compiler (/usr/bin/javac) works... no
configure: error: installation or configuration problem: javac cannot compile

[EMAIL PROTECTED] jsvc-src]# echo $JAVAC
gcj
[EMAIL PROTECTED] jsvc-src]# echo $JAVACFLAGS
-c
[EMAIL PROTECTED] jsvc-src]# echo $JAVA_HOME
/usr/java/jre1.5.0_06/

yet:

[EMAIL PROTECTED] jsvc-src]#  echo "public class Test {}" > Test.java
[EMAIL PROTECTED] jsvc-src]# gcj -c Test.java
[EMAIL PROTECTED] jsvc-src]# ls
autom4te.cache config.log configure.in Makedefs.in man support Test.o
CHANGES.txt     configure   INSTALL.txt   Makefile.in  native  Test.java

and:

[EMAIL PROTECTED] jsvc-src]# javac Test.java
[EMAIL PROTECTED] jsvc-src]# ls
autom4te.cache config.log configure.in Makedefs.in man support Test.java CHANGES.txt configure INSTALL.txt Makefile.in native Test.class

Any thoughts as to what I'm doing wrong??
I hope this isn't an RTFM issue, but I haven't been able to find any info out there...

I also tried:
[EMAIL PROTECTED] jsvc-src]# echo $JAVA_HOME
/usr/java

But no change when running configure.

TIA!!
-d


Reply via email to