Re: [gtk-list] Trouble compiling examples under GTK+ 1.2.2




On Fri, 21 May 1999, Matthew Miller wrote:
> anyother programs using GTK fail to compile. I've compiled GTK and Glib
> and installed them w/o any problem. The only reason that I can thing of
> for this failing is that I had a previous installation of Gtk 1.0.6. I
> didn't remove it so as to not break Gimp and other programs. I installed
> 1.2.2 w/o removing anything.
> 

That's indeed the problem. You can install both *libraries*, but you can
only install one set of header files and one gtk-config. (Unless you do
some tricky stuff with installing to different prefixes.)

If you're using rpm's, only install one -devel package. If you're using
tarballs, remove gtk-config and /usr/include/gtk and /usr/include/gdk and 
/usr/include/glib.h and /usr/lib/glib/include and then reinstall 1.2.
This is assuming 1.0 is under /usr. There may be other stuff to remove
that I forgot.

Havoc




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