Re: PKG_CONFIG_PATH has no effect

Michael Obster wrote:
> I've a problem with compiling gtk+-2.0.6. Configure is always 
> complaining about a missing glib-2.0. But it is installed in /usr/local.
> One thing perhaps I should say is, that I have also installed gtk+-1.x 
> and glib-1.x in /usr.
> I looks for me that the damn configure finds the version 1.x and aborts.
> Tried to set PKG_CONFIG_PATH with "export PKG_CONFIG_PATH=/usr/local". 
> env shows that is is set, but configure does not find it.

PKG_CONFIG_PATH needs to be set to the path to the .pc files -
that is usually ${prefix}/share/pkgconfig - try setting
PKG_CONFIG_PATH to /usr/local/share/pkgconfig and if this doesn't
work, run this to find out where it is...
find /usr/local -name "glib-2.0.pc" -print

Hope this helps,


       David Neary,
    Marseille, France
  E-Mail: bolsh gimp org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]