Re: error GTK old version



On Tue, 2007-04-10 at 18:48 -0500, DMouse wrote:
> checking for pkg-config... /usr/bin/pkg-config
> checking for GTK+ - version >= 2.4.0... 
> *** 'pkg-config --modversion gtk+-2.0' returned 2.10.11, but GTK+ (2.10.6)
> *** was found! If pkg-config was correct, then it is best 
> *** to remove the old version of GTK+. You may also be able to fix the error
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is 
> *** required on your system.
> *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
> *** to point to the correct configuration files
> no
> configure: error: maybe you want the gtk-gnome-1-2 branch? 

Something like this should not happen when using GARNOME. And in fact
from your previous post [1] I can tell that you indeed are not using
GARNOME but apparently trying to build GTK+ manually.

Please note that this list is dedicated to GARNOME, the GNOME build
utility. This is not the right place to ask about general GNOME or GTK+
usage/build issues.


> how to delete old version 

Removing it wouldn't be my first try... Your LD_LIBRARY_PATH and
PKG_CONFIG_PATH variables are probably out of sync.

What app are you actually trying to build? Does it by any chance require
GTK+ 1.2? Since GTK+ 2.10.11 has been found by pkg-config (I take it
Ed's help solved your previous issue) and 2.10.6 is installed as well, I
assume the latter being installed by your distro. With 2.10.6 around
updating to a more recent 2.10.x should not be necessary in almost any
case. If your goal is to build a single, custom GTK+ app, you should try
installing the needed devel packages provided by your distro, rather
than building every dependency yourself, too.

  guenther


[1] http://mail.gnome.org/archives/garnome-list/2007-April/msg00008.html

-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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