Re: Help getting pkg-config working - GTK+ 2.0



Philip Bunce <pjb carmel com> writes: 
> sh: gnome-config: not found

This only appears because pkg-config is trying to fall back to
gnome-config when gtk+-2.0 isn't found
 
> So I set the environment variable to
> 
> setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0

PKG_CONFIG_PATH needs to contain prefix/lib/pkgconfig. 
So for example /usr/lib/pkgconfig/ if you installed with
--prefix=/usr.

If you install pkg-config and GTK to the same prefix everything will
just work.

Havoc



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