When I emerged libglade-java-2.8.2 it exited with an error that it requires a newer version of libgnomecanvas (Requested 'libgnomecanvas-2.0 >= 2.7.1' but version of libgnomecanvas-2.0 is 2.6.1.1). After I upgraded libgnomecanvas (emerge libgnomecanvas) the problem was solved. Reproducible: Always Steps to Reproduce: 1. Install a libgnomecanvas version lower than 2.7.1 2. emerge libglade-java Actual Results: This error message: >>> md5 src_uri ;-) libglade-java-2.8.2.tar.bz2 >>> Unpacking source... >>> Unpacking libglade-java-2.8.2.tar.bz2 to /var/tmp/portage/libglade-java-2.8.2/work * Applying libglade-java-2.8.2_gentoo-PN-SLOT.patch ... [ ok ] >>> Source unpacked. using macro dir /usr/share/libgtk-java-2.4/macros/ creating cache ./config.cache checking for pkg-config... /usr/bin/pkg-config checking for gtk2-java >= 2.4... yes checking GTKJAVA_CFLAGS... checking GTKJAVA_LIBS... checking for gtk-java api version... 2.4 checking for gtk-java jar file... /usr/share/libgtk-java-2.4/lib/gtk2.4-2.4.6.ja r checking for gtk-java jar file... /usr/lib/ checking for gtk-java native gcj library... /usr/lib//libgtkjar2.4.so checking for gnome2-java >= 2.8... yes checking GNOMEJAVA_CFLAGS... checking GNOMEJAVA_LIBS... checking for gnome-java api version... 2.8 checking for gnome-java jar file... /usr/share/libgnome-java-2.8/lib/gnome2.8-2.8.2.jar checking for gnome-java jar file... /usr/lib/ checking for gnome-java native gcj library... /usr/lib//libgnomejar2.8.so checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking how to run the C preprocessor... gcc -E checking for gcc... gcc checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) works... yes checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /bin/install -c checking if /opt/sun-jdk-1.4.2.06/bin/javac works... yes checking if /opt/sun-jdk-1.4.2.06/bin/javac works... (cached) yes checking for javadoc... javadoc checking for jar... jar checking for main in -libs... no checking for gtk+-2.0 >= 2.4... yes checking GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/ gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 - I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmo dule-2.0 -ldl -lglib-2.0 checking for working const... yes checking for working alloca.h... yes checking for alloca... yes checking for libgnomeui-2.0 >= 2.7.1 libgnomecanvas-2.0 >= 2.7.1... Requested 'l ibgnomecanvas-2.0 >= 2.7.1' but version of libgnomecanvas-2.0 is 2.6.1.1 configure: error: Library requirements (libgnomeui-2.0 >= 2.7.1 libgnomecanvas-2 .0 >= 2.7.1) not met; consider adjusting the PKG_CONFIG_PATH environment variabl e if your libraries are in a nonstandard prefix so pkg-config can find them. !!! ERROR: dev-java/libglade-java-2.8.2 failed. !!! Function src_compile, Line 65, Exitcode 1 !!! ./configure failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Upgraded libgnomecanvas and installed libglade-java (I think... of course it could also be that there is a bug in libglade-java and that it doesn't really needs this new version) emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7-gentoo-r11 i686) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Celeron(TM) CPU 1000MHz Gentoo Base System version 1.4.16 distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i386-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups directfb encode esd f77 fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib java jpeg junit libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex tiff truetype unicode x86 xml xml2 xmms xv zlib"
Weird. Ok. Nice to know. I'll add the dependency of my ebuilds, and get those into Portage in due course. I'm quite surprised that gnome-2.8 didn't pull that in for you. AfC Singapore
added a patch to set JAVA_INCLUDES when not using gcj
oeps, wrong bug
This is your turf now:)
Once I get commit access, I'll clean this sort of thing up directly.
fixed in cvs, thanks for reporting
Superceeded by newer versions. If you have gnome installed, you have libgnomecanvas of a sufficient version. As of the 2.10 ebuilds, I have added a gnome use flag, and an appropriate dependency if gnome is not in USE. Mark RESOLVED LATER AfC Toronto