[Fink-devel] pkgconfig can't find cairo

2007-07-17 Thread Sébastien Maret

Hi,
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   cairo1.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   pkgconfig0.22-1  Manager for library compile/link
flags

% fink --version
Package manager version: 0.27.4
Distribution version: 0.8.1.cvs i386


I do have a /sw/lib/pkgconfig/cairo.pc file.

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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pkgconfig can't find cairo

2007-07-17 Thread Daniel Macks
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   cairo1.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   pkgconfig0.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?

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pkgconfig can't find cairo

2007-07-17 Thread Sebastien Maret
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   cairo1.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   pkgconfig0.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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pkgconfig can't find cairo

2007-07-17 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastien Maret wrote:

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

Yeah, cairo uses freetype219 which is hosted out of the build path
because of potential conflicts with things wanting to use X11's freetype.

Setting PKG_CONFIG_PATH is the way to go (in addition, some stuff
expects %p/lib/freetype219/bin to be in the path for freetype-config,
but probably not in this case).

- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnQIWUu+jZtP2Zf4RAu2vAKCYatwbmE54k81AIwrO+y5jBtE37ACfTmJr
3b78HBQWfDZivu84vdVxLyM=
=crYG
-END PGP SIGNATURE-

-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel