Re: [gtk-list] Re: multiple versions





On Fri, 6 Aug 1999, Tom Gilbert wrote:

> * Marty J. Rogers (etothex@eudoramail.com) [990806 16:32]:
> > Hello all, I'm a newbie trying to install GTK+ 1.2.3 in order to
> > compile additional software packages on my RedHat 5.2 system. I've
> > ...
> >
> 
> If I had a penny for every time this happened :-)
> 
> The Redhat rpms install to the /usr prefix, whereas a default (no
> arguments) ./configure, make, make install will stick stuff in
> /usr/local. This causes a conflict, as you now have a copy of
> gtk-config in /usr/bin and /usr/local/bin, both for different
> versions of gtk.
> 
> To fix your problem, do a make uninstall in your gtk+ source
> directory, and then make clean. Now do this:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> make
> make install
> 
> and everything will be hunky dory. Just be sure to remove any trace of gtk+
> from the /usr/local tree (make uninstall should do this for you).
> 

This will work, but then your rpm database is not consistent with what is
on your system. If you don't care about the rpm database, go ahead and do
the above.

It would be better to just build the rpms yourself and install them, just
install pre-built rpms.

You would still need to do the uninstall as prescribed above.

I personally prefer to use only rpm packages. It makes things really easy
to remove and I can always see what is installed and which package it
belongs to in additions to tracking dependencies. All of which become
difficult when the database doesn't reflect what's on the system.

Ted Roth




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