TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:15891] GTK+ and RPM



> Why!!!  I just want the fscking program.  So what do I do to fix all
> this?  for whatever reason when gtk+ got upgraded from 1.2.1-10 to
> 1.2.6 it didn't replace gtk-config because it still reports itself as
> 1.2.1.  Something seems to be slightly foobar'd with /var/lib/packages
> as it's reporting packages that are installed, but aren't.

I think that the problem is that the default install path is under
/usr/local.  RedHat installs the binaries/libs/include under /usr.  So a
good solution is when configuring the gtk+ source, to configure with
--prefix=/usr [./configure --prefix=/usr; make; make install].  This
will drop the libs in /usr/lib, includes in /usr/include/gtk,
and /usr/include/gdk and /usr/include, and gtk-config in
/usr/bin/gtk-config, overwriting the RedHat defaults, and causing the
packages to compile correctly.

Another fix is to modify the gtk-config script so it points to the right
locations for the new files.

-R


-- 
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
Ryan Hankins       University Of Minnesota, Duluth
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^