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


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