[cairo] Getting up and Running with Cairo (OS X)

Ivan Baldo ibaldo at adinet.com.uy
Wed Nov 14 07:58:06 PST 2007


El 14/11/07 13:45, laurens at cs.york.ac.uk escribió:
> cc -o hello -L/opt/local/lib -I/opt/local/include/cairo 'pkg-config
> --cflags --libs cairo'  hello.c
> and get the following error:
> i686-apple-darwin9-gcc-4.0.1: pkg-config --cflags --libs cairo: No such
> file or directory
Maybe you have a directory /opt/local/bin and in that directory there is 
a pkg-config binary, can you check? I mean, look/search for a pkg-config 
binary/program/command somewhere.
Then, after that, you should say export 
PATH=$PATH:/directory/where/pkg-config/binary/is and try to compile again.
Hope this helps! Good luck!

Ivan Baldo - ibaldo at adinet.com.uy - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.
We believe that we are free, but in reality we are not! Are we?
Alternatives: ibaldo at codigolibre.net - http://go.to/ibaldo

More information about the cairo mailing list