While emerging libxfce4menu-4.6.2 the configure script fails to find gtk+-2.0 >= 2.6.0: checking for gtk+-2.0 >= 2.6.0... not found *** The required package gtk+-2.0 was not found on your system. *** Please install gtk+-2.0 (atleast version 2.6.0) or adjust *** the PKG_CONFIG_PATH environment variable if you *** installed the package in a nonstandard prefix so that *** pkg-config is able to find it. I have two versions of gtk installed: # equery l x11-libs/gtk+ [ Searching for package 'gtk+' in 'x11-libs' among: ] * installed packages [I--] [ ] x11-libs/gtk+-1.2.10-r12 (1) [I--] [ ] x11-libs/gtk+-2.18.9 (2) Thank you.
Created attachment 237043 [details] emerge --info
What's in config.log ? And if it's something about libpng12.pc, do read your postinst messages.
Created attachment 237047 [details] config.log I see nothing in config.log I run libpng-1.4.x-update.sh after libpng update
Lets rephrase that: what does 'pkg-config gtk+-2.0 --modversion' print ?
(In reply to comment #4) > Lets rephrase that: what does 'pkg-config gtk+-2.0 --modversion' print ? > Im having the same problem: checking GLIB_LIBS... -lglib-2.0 checking for gtk+-2.0 >= 2.6.0... not found *** The required package gtk+-2.0 was not found on your system. *** Please install gtk+-2.0 (atleast version 2.6.0) or adjust *** the PKG_CONFIG_PATH environment variable if you *** installed the package in a nonstandard prefix so that *** pkg-config is able to find it. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/xfce-base/libxfce4menu-4.6.2/work/libxfce4menu-4.6.2/config.log * ERROR: xfce-base/libxfce4menu-4.6.2 failed: ----------------------------------------------- # pkg-config gtk+-2.0 --modversion 2.18.9
(In reply to comment #4) > Lets rephrase that: what does 'pkg-config gtk+-2.0 --modversion' print ? > Lets rephrase that: you obviously knew the solution from the beginning. So do you enjoy making a fool of bug-reporters? I had to find the solution by myself (rebuild cairo) and it wasn't mentioned in NO postinst. "Thank you"
I might have suspected it was related to libpng upgrade, but as my crystal ball is still out of order, I couldn't be sure. Actually, it's not the first time where cairo/gtk+ dependency has failed to be proerly evaluated - IIRC, something similar happened during jpeg 6->7->8 move.
(In reply to comment #5) > (In reply to comment #4) > > Lets rephrase that: what does 'pkg-config gtk+-2.0 --modversion' print ? > > > Im having the same problem: > checking GLIB_LIBS... -lglib-2.0 > checking for gtk+-2.0 >= 2.6.0... not found > *** The required package gtk+-2.0 was not found on your system. > *** Please install gtk+-2.0 (atleast version 2.6.0) or adjust > *** the PKG_CONFIG_PATH environment variable if you > *** installed the package in a nonstandard prefix so that > *** pkg-config is able to find it. > > !!! Please attach the following file when seeking support: > !!! > /var/tmp/portage/xfce-base/libxfce4menu-4.6.2/work/libxfce4menu-4.6.2/config.log > * ERROR: xfce-base/libxfce4menu-4.6.2 failed: > ----------------------------------------------- > > # pkg-config gtk+-2.0 --modversion > 2.18.9 > Same problem, checking for gtk+-2.0 >= 2.6.0... not found. # pkg-config gtk+-2.0 --modversion Package libpng12 was not found in the pkg-config search path. Perhaps you should add the directory containing `libpng12.pc' to the PKG_CONFIG_PATH environment variable Package 'libpng12', required by 'cairo', not found This is what i do to resolve this issue emerge x11-libs/cairo:0 revdep-rebuild --library libpng12.so.0 Then i was able to install libxfce4menu
Well, the interesting part of comment 8, is that it explicitly mentions libpng12.pc missing, while other don't. I do wonder about the reason.