Re: [gtk-list] gtk+-0.99.8 config problems



I ran into this same problem yesterday. I was installing gtk and gimp in
a non default directory and this error message showed up in the gimp
configure script. I fixed the problem by making sure the gtk-config
exe was in my PATH and that my LD_LIBRARY_PATH included gtk/lib.
You might want to try ldd on the conftest file to see which gtk
.so file it is linking to. I think a good way to fix this problem is to
change the gimp configure script so that it checks for the gtk-install
in the PATH dirs and makes sure the version of the gtk lib that is linked
is the same as the one given in the gtk-config. The script should also 
search the LD_LIBRARY_PATH for the libs if not found. Does anyone have
the time shell programming know how to do this?


Mo DeJong
dejong@cs.umn.edu
gimme multimedia group



On Sat, 21 Mar 1998, John Kodis wrote:

> The installation of the gtk+-0.99.8 and gimp-0.99.21 combo has proven
> very problematic for me.  I've made it past the "missing gtk.m4"
> hurdle, but now I'm stuck.  On an i386 RH5.0 Linux box, the Gtk
> installation proceeds without error using the usual "./configure;
> make; su; make install" sequence, but the subsequent gimp .configure
> fails with:
> 
> checking for gtk-config... gtk-config
> checking for GTK - version >= 0.99.7... no
> configure: error: Cannot include/link gtk/gdk/glib--check CFLAGS/LDFLAGS
> 
> The failing conftest.c program compiles and links successfully, but
> when run fails with:
> 
> gimp-0.99.21% ./conftest 
> ./conftest: error in loading shared libraries
>: undefined symbol: gtk_minor_version
> 
> Given that all previous gimp and gtk installations have gone
> flawlessly with no more effort than the standard "configure; make;
> make install" routine, this much configuration difficulty this close
> to the release of 1.0 is quite surprising.  TIA for any help anyone
> can offer.
> 
> -- John Kodis, temporarily frustrated gtk-developer wannabe.



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