Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13235

Summary: gtk+ can't link to pango
Product: Gentoo Linux Reporter: David Cozatt <yggsdrasil>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Cozatt 2003-01-04 07:46:50 UTC
trying emerge -u world on both 1.2 and 1.4-rc? machines gtk+2.0.9
errors out on both machines at same spot with the same error

checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for pango_context_new in -lpango-1.0... no
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

!!! ERROR: x11-libs/gtk+-2.0.9 failed.
!!! Function econf, Line 11, Exitcode 1
!!! econf failed
Comment 1 Dave Smith (lanalyst) 2003-01-05 15:10:42 UTC
Same thing happened here... machine is all stable - no ~x86.. help?  I now have
a partially updated gnome environment...
Comment 2 Dave Smith (lanalyst) 2003-01-05 19:57:17 UTC
Ok it's going now and I lied about being all stable :)  I had mozilla 1.2.1-r1 
installed and it seems that is where the conflict was.  When moz 1.2.1-r4 went 
stable, I didnt upgrade it on this particular machine.  I won't complain 
emerge should have 'suggested' I upgraded from the old unstable version :)  My 
bad. 
 
Anyhow, there's a very helpful post in forums on this: 
http://forums.gentoo.org/viewtopic.php?t=27318 (last post) 
 
1) emerge unmerge mozilla  
2) emerge -C pango freetype  
3) emerge gtk+  
 
This resolved it. 
 
Thanks 
Comment 3 foser (RETIRED) gentoo-dev 2003-01-06 18:07:41 UTC
Yes a rare problem. I think the the mozilla specific libs are tried before the
system wide libs. This should be fixed in the latest revision, altough im not
completely sure how it ties in here.

Thanks for figuring it out ;)