Daniel Macks <[EMAIL PROTECTED]> writes:

> On Tue, Jul 17, 2007 at 12:05:51PM -0400, S?bastien Maret wrote:
>> 
>> pkgconfig does seems to find cairo:
>> 
>> % pkg-config cairo || echo "not found"
>> not found
>> 
>> I have both cairo 1.4.6 and pkgconfig 0.22 installed:
>> 
>> % fink list cairo
>> Information about 6557 packages read in 1 seconds.
>> i   cairo                1.4.6-1023      Vector graphics library
>> i   cairo-shlibs         1.4.6-1023      Vector graphics library
>> 
>> % fink list -i pkgconfig
>> Information about 6557 packages read in 1 seconds.
>> i   pkgconfig            0.22-1          Manager for library compile/link 
>> flags
>> 
>> I do have a /sw/lib/pkgconfig/cairo.pc file.
>
> Try 'pkg-config --print-errors cairo' to see (hopefully) more detail
> about what's going wrong. Maybe one of its .pc dependencies isn't
> installed?

You're right:

% pkg-config --print-errors cairo
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
Package 'freetype2', required by 'cairo', not found

I have freetype219 installed:

% fink list -i freetype
Information about 6557 packages read in 1 seconds.
 i   freetype219          2.2.1-4         TrueType font rendering library, 
headers
 i   freetype219-shlibs   2.2.1-4         TrueType font rendering library, 
shared libs

but freetype219's pc file isn't in the usual place (why?):

% dpkg -c /sw/fink/debs/freetype219_2.2.1-4_darwin-i386.deb | grep pc
-rw-r--r-- root/admin      292 2007-01-17 18:23 
./sw/lib/freetype219/lib/pkgconfig/freetype2.pc

I guess I just need to set the PKG_CONFIG_PATH.

Sébastien


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to