[vox-tech] GTK+ 2.2 install

Mike Simons vox-tech@lists.lugod.org
Wed, 09 Apr 2003 20:39:31 -0400


--8nsIa27JVQLqB7/C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
> >=20
> > Ryan,
> >=20
> >   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=20
> > reload the ld.so.cache.
>=20
> I think Ryan is talking about glib, not glibc. glib is just a utility
> library that GTK+ depends on.=20

  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...=20

  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=20
most likely installed into /usr/local...

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

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

  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

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

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

--8nsIa27JVQLqB7/C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+lL1D4Qwkn7f6rL4RAgi/AKCYvfSaqRHpRKU6h7FaesUhJ2lJzACeNsv6
u+BW+svj8l38Tx9WW9acCW0=
=irYi
-----END PGP SIGNATURE-----

--8nsIa27JVQLqB7/C--