brian wrote:
> I was building some cairo demos the other day and received the  
> following error:
> 
> Package freetype2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `freetype2.pc'
> to the PKG_CONFIG_PATH environment variable
> 
> It turns out that freetype2.pc is located in
> 
>    /sw/lib/freetype219/lib/pkgconfig/
> 
> but the majority, although not quite all, of the .pc files are in
> 
>    /sw/lib/pkgconfig

The latest version of the freetype219 package places a symlink in 
/sw/lib/pkgconfig. For earlier versions you indeed had to set 
PKG_CONFIG_PATH, as lots of Fink packages did and still do.

> Is this a bug in the freetype2 package or maybe the package which  
> provides pkg-config ?  Seems like quite the good idea to put all of  
> the pc files in one place.
> 
> 
> Brian
> 
> P.S. Setting PKG_CONFIG_PATH does fix the problem.

-- 
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