l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Apr 10 03:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] GTK+ 2.2 install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] GTK+ 2.2 install

On Wed, Apr 09, 2003 at 04:01:04PM -0700, Samuel Merritt wrote:
> On Wed, Apr 09, 2003 at 05:30:15PM -0400, Mike Simons wrote:
> > On Wed, Apr 09, 2003 at 01:28:22PM -0700, Ryan Detert wrote:
> > > I am trying to install GTK+ 2.2.1 and I have just done a make install on
> > > the glib and everything compiles and installs correctly with no errors
> > > given.
> > [...]
> > > What is the best way to uninstall the old version and install the new
> > > version?
> > 
> > Ryan,
> > 
> >   It is unclear how and where the new version of glibc was installed.
> > It is unclear if you or the install process ran ldconfig for it to 
> > reload the ld.so.cache.
> I think Ryan is talking about glib, not glibc. glib is just a utility
> library that GTK+ depends on. 

  Sam, you are absolutely correct... I misread Ryan's whole post putting
little 'c' at the end of everything.

  Ryan, sorry about over-reacting.

  Replacing the glib library is not dangerous at all... you might not be
able to log into your X session, or even start X depending on how the
machine is configured... but regardless the machine will certainly boot.

  So I guess I can go into more detail, but it's hard to be sure
without downloading those source files... 

  I'm taking the approach of leaving the old one there and having the
new one be the default.

  If you didn't supply anything special to ./configure for glib, it 
most likely installed into /usr/local...

  If that is correct, in /usr/local/lib there should be the copy you

  At this point you have a few options... for system wide effect I guess
vi /etc/ld.so.conf, add the line:

  Run 'ldconfig -v' you should see some stuff about /usr/local/lib and
the library version you installed.  If this is true...

  Now you can start trying to build gtk whatever... rm config.cache
if there is one.  It may find the right version by itself... if it
doesn't check the './configure --help' for a option that looks like
'--with-glib-prefix' (or '--with-glib-lib' and '--with-glib-inc')...
set that to /usr/local (or /usr/local/lib and /usr/local/include).

  If that works you should be good to compile...

    Hope that helps,
      Mike Simons

  I still think you should find a rpm package someplace that's already
compiled for you.

GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc

Attachment: pgp00009.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.