Re: [Java-gnome-developer] Can't build java-gnome-4.0.2
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2007-04-02 04:51:55
|
On Sat, 2007-03-31 at 14:14 +0200, Piotr Pokora wrote: > GCC tmp/objects/org/gnome/gtk/Gtk.o > In file included from /usr/include/_G_config.h:44, > from /usr/include/libio.h:32, > from /usr/include/stdio.h:72, > from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/jni.h:48, > from src/java/org/gnome/gtk/Gtk.c:13 > [ ... kabloouie ... ] > Any hint? Almost all of the patches to the top level configure script of late have been mucking around trying to control the detection and use of jni.h. I've not managed to pin down precise cause and effect, but my impression is that the jni.h that ships with GCC is *not* compatible with the one that ships with Sun Java. Now, that shouldn't be terribly important, except that for whatever reason it causes problems. It may or may not have anything to do with the issue you are encountering. Returning to your question, thanks for sending the trace along but I need a bit more to decipher what's going on. Could you do: $ make clean [because that command trace skipped the Java sources compilation] and then: $ V=3D1 make and maybe send that along? It might also help if you were to include the text of .config, and I'll have a look. That said, Debian is extraordinarily naughty in doing things like symlinking /usr/bin/java to Kaffe and trying to pretend that it's Java. Much of the effort expended by Equivalence is to get to the bottom of such things so that it can take the necessary actions - precisely to avoid the sort of glitch that you hit. If I had to guess, we've run into another such Debianism; looking at the full commands and paths might shed some light on the situation. That it blacklisted GCJ is another sign that something is screwy. It'll be good to figure it out. Finally, if you do have a real JDK installed, and it wasn't what was detected by Equivalence, try $ ./configure jdk=3D/opt/blah/sun-jdk-1.5.0.8 or whatever and see if that sorts it. With all that information in hand, we should be able to figure it out. Chat with me in #java-gnome if you have questions. AfC Sydney |