Re: Help getting pkg-config working - GTK+ 2.0
- From: Sven Neumann <sven gimp org>
- To: Philip Bunce <pjb carmel com>
- Cc: gtk-list gnome org
- Subject: Re: Help getting pkg-config working - GTK+ 2.0
- Date: 19 Mar 2002 20:47:06 +0100
Hi,
Philip Bunce <pjb carmel com> writes:
> I am having problems getting pkg-config to work.
>
> I tried
>
> pkg-config gtk+-2.0 --cflags --libs
>
> but I got this...
>
> sh: gnome-config: not found
ignore that message. It's because pkg-config has some evil hacks
to try to give some sort of backward compatibility mode.
> Package gtk+-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk+-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk+-2.0' found
>
> So I set the environment variable to
>
> setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0
no, you don't want to use the uninstalled gtk+-2.0.pc file.
Set your PKG_CONFIG_PATH to ${prefix}/lib/pkgconfig where
${prefix} is whatever prefix you installed gtk+-2.0 in.
If you didn't specify a prefix at configure time, this is
probably /usr/local, thus
setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]