Subject: Re: Problems building x11/gtk2, no "pangocairo"; pango at fault?
To: None <>
From: Magnus Eriksson <>
List: tech-pkg
Date: 12/03/2005 20:47:41
On Sat, 26 Nov 2005, Magnus Eriksson wrote:

> I've been having the same gtk2 problem as this guy:
> GTK fails in configure stage, due to missing "pangocairo".


Having GTK would be nice.

   I've been looking through pango's config.log, and the only thing that 
particularly catches my attention is this:

configure:22267: checking for cairo_ft_scaled_font_lock_face in -lcairo
configure:22297: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include-DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Wall -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcairo   conftest.c -lcairo  -lintl >&5
/usr/pkgsrc/devel/pango/work/.buildlink/lib/ undefined reference to `pthread_mutex_unlock'
/usr/pkgsrc/devel/pango/work/.buildlink/lib/ undefined reference to `pthread_mutex_lock'
configure:22303: $? = 1
configure: failed program was:
| char cairo_ft_scaled_font_lock_face ();
| int
| main ()
| {
| cairo_ft_scaled_font_lock_face ();
|   ;
|   return 0;
| }
configure:22329: result: no

   That, and "checking for cairo_win32_scaled_font_select_font in -lcairo". 
Neither looks to my untrained eye like they would be fatal.

   So, I'm at a loss.  Any hints on what to look for (and how) would be