Problem with pkgconfig on Mac

p.ten p.ten at email.it
Wed Feb 14 09:58:19 PST 2007


I've installed pkg-config via DarwinPorts, in /opt/local/bin (version 0.21).
Then i set my profile file (in my home directory) with these parameters:

export
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:opt/local/lib/pkgconfig:usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH

It seems to be correct, and I get it correctly running "env", BUT, when I
write in Terminal (bash):

pkg-config --modversion filename

it works only with file.pc stored in first path directory
(usr/local/lib/pkgconfig), and does NOT work with, for instance, fontconfig,
that stays in usr/X11R6/lib/pkgconfig.
To get it found by pkg config I have to put "usr/X11R6/lib/pkgconfig at the
first place.
Where did I wrong?
Sincerely

P.Tenny 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Videocorso di marketing: impara dagli esperti del settore come fare
un marketing di successo per la tua attivita'
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6200&d=20070214




More information about the pkg-config mailing list