Richard Kettlewell wrote:
> My configure script uses AM_PATH_GTK_2_0 (which is defined in gtk+2-dev) 
> to find compilation flags for GTK+, but fails in current Fink because 
> Pango's .pc files aren't on pkg-config's search path by default.
> 
> chymax$ /sw/bin/pkg-config --cflags gtk+-2.0
> Package pango was not found in the pkg-config search path.
> Perhaps you should add the directory containing `pango.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'pango', required by 'GDK', not found
> chymax$ dpkg -l gtk*-dev pango*dev | grep ^i
> ii  gtk+2-dev      2.12.11-1      The Gimp Toolkit
> ii  pango1-xft2-ft 1.20.5-1       GTK+ - i18n text development headers 
> and lib
> chymax$ dpkg -L pango1-xft2-ft219-dev|grep pc
> /sw/lib/pango-ft219/lib/pkgconfig/pango.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangocairo.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangoft2.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangox.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangoxft.pc
> /sw/lib/pango-ft219/lib/pkgconfig/xrender.pc
> 
> Obviously this is trivial to work around by setting PKG_CONFIG_PATH, but 
> surely this behavior is not as intended?

It is. I am not sure if it is documented anywhere outside of the mailing 
list archives, but there you can find it.

I guess it will eventually also be documented in the "compile-myself" 
FAQ entry.

-- 
Martin






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to