Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326317 - xfce-base/libxfce4menu-4.6.2 fails to find gtk+
Summary: xfce-base/libxfce4menu-4.6.2 fails to find gtk+
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 13:46 UTC by Iome
Modified: 2010-07-01 23:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,4.62 KB, text/plain)
2010-06-30 13:48 UTC, Iome
Details
config.log (config.log,46.79 KB, text/plain)
2010-06-30 14:44 UTC, Iome
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iome 2010-06-30 13:46:06 UTC
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.
Comment 1 Iome 2010-06-30 13:48:19 UTC
Created attachment 237043 [details]
emerge --info
Comment 2 Rafał Mużyło 2010-06-30 14:22:59 UTC
What's in config.log ?
And if it's something about libpng12.pc, do read your
postinst messages.
Comment 3 Iome 2010-06-30 14:44:03 UTC
Created attachment 237047 [details]
config.log

I see nothing in config.log
I run libpng-1.4.x-update.sh after libpng update
Comment 4 Rafał Mużyło 2010-06-30 15:19:57 UTC
Lets rephrase that: what does 'pkg-config gtk+-2.0 --modversion' print ?
Comment 5 Anders Eskilson 2010-06-30 19:31:50 UTC
(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


Comment 6 Iome 2010-06-30 22:52:05 UTC
(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"
Comment 7 Rafał Mużyło 2010-07-01 01:29:20 UTC
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.
Comment 8 GM 2010-07-01 21:32:50 UTC
(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
Comment 9 Rafał Mużyło 2010-07-01 23:14:42 UTC
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.