After installing gtk+-2.18.9, when calling pkg-config --modversion gtk+ (or any other pkg-config operation), an error message is displayed: sh: gtk-config: command not found This makes it impossible to build any package depending on gtk+ (or at least libxfce4menu). Reproducible: Always Steps to Reproduce: 1. emerge =x11-libs/gtk+-2.18.9 (just in case you have another version 2. emerge =xfce-base/libxfce4menu-4.6.2: Actual Results: End of build.log: checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 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. Expected Results: The configure script properly detects gtk+.
same problem as in bug 326483, follow the advises there *** This bug has been marked as a duplicate of bug 326483 ***
I am not sure, which of the advises i should follow, this is what i did: - libpng-1.4.x-update.sh (before i filed this bug) - revdep-rebuild -i (everything consistent) - emerge --resume (from -puDN world) -> the error abv. - emerge -1 cairo pango gtk+ libglade - emerge --resume The latter now succeeds. Maybe, a hint (after updating libpng?) would reduce the number of duplicate error reports. pkg-config gtk+ still does not work, although gtk+ has some .pc files installed: # pkg-config --list-all | fgrep gtk+ gtk+-2.0 GTK+ - GTK+ Graphical UI Library (x11 target) gtk+-unix-print-2.0 GTK+ - GTK+ Unix print support gtk+-x11-2.0 GTK+ - GTK+ Graphical UI Library (x11 target)
(In reply to comment #2) > I am not sure, which of the advises i should follow, this is what i did: > > - libpng-1.4.x-update.sh (before i filed this bug) > - revdep-rebuild -i (everything consistent) > - emerge --resume (from -puDN world) -> the error abv. > - emerge -1 cairo pango gtk+ libglade > - emerge --resume > > The latter now succeeds. Maybe, a hint (after updating libpng?) would reduce > the number of duplicate error reports. > > pkg-config gtk+ still does not work, although gtk+ has some .pc files > installed: > # pkg-config --list-all | fgrep gtk+ > gtk+-2.0 GTK+ - GTK+ Graphical UI Library (x11 target) > gtk+-unix-print-2.0 GTK+ - GTK+ Unix print support > gtk+-x11-2.0 GTK+ - GTK+ Graphical UI Library (x11 target) > There *is* a hint after the libpng update, and users should generally search for existing reports before opening a new one :)
(In reply to comment #3) > > There *is* a hint after the libpng update, and users should generally search > for existing reports before opening a new one :) > 1. Yes, the hint recommends to run libpng-1.4.x-update.sh, which doesn't help (cf. above). 2. I searched for reports regarding libxfce4menu and gtk+, as these were the packages i had problems with, without result. (pkg-config not working with gtk+ sent me to the wrong direction) As duplicate reports still seem to be created, i would suggest to add the hint from bug 326483 to the elog message of libpng 1.4.3: run libpng-1.4.x-update.sh and consider re-emerging cairo / pango / gtk+ / libglade.