[kaffe] small make dist fix

Helmer Krämer hkraemer at freenet.de
Thu Jun 5 08:17:01 PDT 2003


On Thu, 5 Jun 2003 07:02:46 -0700 (PDT)
Dalibor Topic <robilad at yahoo.com> wrote:

> With that patch make dist creates useable distribution archives again, but ...
> make distcheck fails with:
> 
> /bin/sh ./rebuildLib @essential.files
> Compiling classes from @essential.files using 
> /tmp/topic/build/kaffe-1.1.x-cvs/_build/kaffe/kaffe/kaffe-bin -verbosegc
> at.dms.kjc.Main
> Couldn't find or load essential class `java/lang/Object'
> java.lang.ClassNotFoundException java/lang/Object
> ./rebuildLib: line 51:  5133 Aborted                 $JAVAC $VERBOSE
> $JAVAC_FLAGS -d $LIBDIR $CPATH ${1+"$@"}
> 
> any ideas?

I think so. _build/libraries/javalib/rebuildLib prepends
../../../libraries/javalib/Klasses.jar.bootstrap to the
BOOTCLASSPATH. Then you cd into ../../../libraries/javalib
and want to run kaffe.

However, now ../../../libraries/javalib/Klasses.jar.bootstrap
is no longer a valid file, so kaffe can't find java/lang/Object.

Greetings,
Helmer




More information about the kaffe mailing list