Re: PKG_CONFIG_PATH has no effect
- From: Sven Neumann <sven gimp org>
- To: David Neary <bolsh gimp org>
- Cc: gtk-list gnome org
- Subject: Re: PKG_CONFIG_PATH has no effect
- Date: 09 Sep 2002 12:44:24 +0200
Hi,
David Neary <bolsh gimp org> writes:
> 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
the .pc files are platform-dependant and are thus located in
${prefix}/lib/pkgconfig, not in ${prefix}/share/pkgconfig as
you claim.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]