[kaffe] Configure problem with ecj in internal classpath configuration

Wolfgang Baer WBaer at gmx.de
Tue Jan 10 06:42:09 PST 2006

Hi all,

I have finished the debian package for the upcoming 1.1.7 release and
it works without a problem on my dev box.

Giving it a try with pbuilder (this simulates the debian build process)
it fails during configure. It stops during configuration of the internal
classpath copy due to not finding a compiler (although its correctly
configured with ecj and ecj is available):

checking for gcjh... no
checking for javah... no
checking jni_md.h support... yes
checking for gcj... no
checking for jikes... no
checking for kJC... no
checking for gcjx... no
configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or 
configure: error: /bin/sh 
failed for libraries/javalib/external/classpath
make: *** [stampdir/configure-jthreads] Error 1
pbuilder: Failed autobuilding of package

On my development machine it works as there is also jikes for other tasks
installed and it will fall back to jikes in configure - but uses ecj to
actually compile the classpath tree.

Anybody knows why the --with-ecj=/usr/bin/ecj configure option is not correctly
recognized by the classpath configure - or why there is no test for ecj done ?

Here is the configure line for the internal classpath tree:

configure: running /bin/sh 
--prefix=/usr/lib/kaffe/jthreads  '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--disable-fastjar' '--host=i486-linux-gnu' 
'--build=i486-linux-gnu' '--with-jni-library-path=/usr/lib/jni' 
'--without-kaffe-qt-awt' '--without-kaffe-x-awt' '--disable-nls' 
'--enable-gtk-cairo' '--with-ecj=/usr/bin/ecj' '--with-glibj-zip=no' 
'--without-classpath-gtk-awt' '--disable-sound' '--without-alsa' 
'--with-threads=unix-jthreads' '--prefix=/usr/lib/kaffe/jthreads' 
'--sharedstatedir=/var/lib/kaffe/jthreads' 'build_alias=i486-linux-gnu' 
'host_alias=i486-linux-gnu' --enable-ltdl-convenience 'CFLAGS=-g -O2 -Wall -W 
-Wextra' --with-ecj=/usr/bin/ecj --disable-core-jni --disable-examples 
checking build system type... i486-pc-linux-gnu



More information about the kaffe mailing list