Dear,
Thank you for the suggestions. The problem is solved by installing GTK on a fresh system. Regards, Qi
> Date: Fri, 21 Oct 2011 09:16:54 -0400 > From: earnie users sourceforge net > To: q chang hotmail com > CC: gtk-list gnome org > Subject: Re: error "configure: WARNING: GTK dependencies not met." > > changqi wrote: > > > > Dears, > > > > I have complied gtk+-3.0 with " # sudo ./configure > > --prefix=/usr/local/ # sudo make # sudo make install" and then > > #kg-config --list-all |grep gtk "gtkglext-x11-1.0 GtkGLExt - > > OpenGL Extension to GTK+ (x11 target) gtk+-2.0 GTK+ - > > GTK+ Graphical UI Library (x11 target) gtk+-x11-3.0 GTK+ - > > GTK+ Graphical UI Library gtk+-unix-print-3.0 GTK+ - GTK+ Unix > > print support gtk+-x11-2.0 GTK+ - GTK+ Graphical UI Library > > (x11 target) gtk+-unix-print-2.0 GTK+ - GTK+ Unix print support > > gtkglext-1.0 GtkGLExt - OpenGL Extension to GTK+ (x11 > > target) gtk+-3.0 GTK+ - GTK+ Graphical UI Library " But > > when I complied other source depending gtk > > > > # ./configure --prefix=$HOME/local "checking for GTK... no configure: > > WARNING: GTK dependencies not met. " Could someone give me some > > suggestions? > > > > I'm guessing that since you've used --prefix=$HOME/local on your module > dependent on gtk+ which resides in /usr/local that configure isn't > finding it. Maybe --with-sysroot=/usr/local will help but IDK if it will. > > The other option is to use --prefix=/usr/local on the configure and make > and then set DESTDIR on install, as in ``make DESTDIR=$HOME/local > install'', which is what I would do. > > Earnie |