While emerging kaffe on a fairly empty system, I got the error: checking for zip... no configure: error: zip not found. You need the zip utility for the class library. !!! ERROR: dev-java/kaffe-1.1.5 failed. After emerging app-arch/zip, I got the following: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0 gdk-pixbuf-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Then, after emerging gtk+, gnome-libs, gdk-pixbuf. However, it still complains about libart: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0 gdk-pixbuf-2.0... Package libart-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libart-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libart-2.0' found configure: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 libart-2.0 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
It seeems that libart_gpl is needed, not gnome-libs. So, the ebuild needs to have the following RDEPENDS: libart_gpl, glib, and gtk+
http://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-java/kaffe/kaffe-1.1.5-r1.ebuild I added a bunch of use flags and dependencies. I will add it to official after proper testing and probably should add a note saying that turning gmp on is the default upstream setting.
Should add that my first test with qt ended up in failure. I will just remove the support from the ebuild for the time being if it emerge without it.
I'd suggest leaving the X11 and Qt/Embedded peers out of the default build, as they are using a different, more suited for embedded systems AWT implementation internally from the gtk-peers, which come straight from GNU Classpath. cheers, dalibor topic
The ebuild in experimental is now updated following the suggestions in Comment #4. I also added warnings about disabled use flags.
Dependencies added to the official tree. Thanks for the report.