[EMAIL PROTECTED] (Stefan van der Eijk) writes:
> I've been having problems compiling kaffe on my alpha. Compiling
> stops at this point:
>
> Compiling classes ...
> jikes: /users/stefan/RPM/BUILD/jikes/src/ast.h:6073:
[ ... ]
> I noticed that RedHat just calls a "make" instead of a
> "make all Klasses". If the .spec file is modified as follows
> (also see diff)
>
> +0farch alpha
> +make
> +0.000000e+00lse
> make all Klasses
> +0.000000e+00ndif
>
> Then it'll work fine.
OK, some explication.
1) We added make Klasses because our version include some patches to the
Java library, notabily to the AWT; this patches have of course been sent
to the kaffe developement team, but there is yet no new releas.
2) Red Hat do not recompile the class library because they have no Java code
patches; the Java "binary" (jar file) library in the distribution is used.
3) The problem is not with kaffe, but with Jikes; apparently jikes fail to compile
the kaffe class library under some situation, on some platform.
Workaround: de-install jikes from your machine, and recompile
(restart from ./configure, or use rpm to rebuild); in this way, kaffe
will use its own compiler to compile the library, and should work
fine.
Maurizio
--
Maurizio De Cecco
MandrakeSoft http://www.mandrakesoft.com/