Re: GTK+-2.2.4 together with GTK+-1.2.10



On Mon, 15 Sep 2003 18:56:18 +0200 Lars-Göran Andersson wrote:

> Now I tries to get some apps work that uses GTK2.2... But the configure-script 
> can't find it.
> 
> I installed the GTK+-2.2.4 straight off. No options was used.
> 
> The config-script claims that it can't find ../gtk/gtk.h Of course it can't, 
> it is stored at /usr/local/include/gtk-2.0/gtk/gtk.h.
> 
> So what to do or what should I done it?

You can try to run pkg-config manually:

  pkg-config --cflags gtk+-2.0

and see what it prints.  Configure scripts typically rely on pkg-config
to find out about installed gtk and gnome libs.

If it that doesn't work or the information it prints is wrong, you can
try to reinstall pkg-config (and have a look at /usr/lib/pkgconfig/). If
it does print the correct paths, your configure script is probably
broken.


hth,
michael



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