It looks like with these instruction I was able to install the latest version of glib on my machine. Pango installed with no issues it seems.

Thanks for the help.  Once I tackle gaim, xmms will be next :)

W liÅcie z czw, 19-08-2004, godz. 09:12, lmcilwain pisze:
Hello all,

I am trying install update glib on my linux box (mandrake 10) but I am
not having any luck.

I have gone to gtk's website and downloaded the latest source
(glib-2.4.6).  I compiled and installed but it doesn't seem to have
been updated on my system.

When I tried to compile pango (in an attempt to install gaim), I get:

checking for GLIB - version >= 2.4.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

When I try installing xmms, I get:

*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install
first ***

Can anyone tell me what I can do to check the version I am running and
if possible find the rpm or do a force update (if that is even
possible)

Looks like you're trying to install glib from sources :) I like that (thought it's quite problematic for later use with urpmi).

GLIB 2.4.6
First of all uninstall your glib : $su -c "make uninstall"
Then should configure your glib with the prefix set to /usr :
$./configure --prefix=/usr
Then do normal make and make install procedure.
After installation do : $pkg-config --modversion glib-2.0
It should show you the version you're running.
If it won't you'll have to add to your ~/.bash_profile :

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
export PKG_CONFIG_PATH

of course this will work after you'll reboot the system (which we
doesn't wan't to do, right?) so type :
$export $PKG_CONFIG_PATH=$PKG_CONFIG_PATH=/usr/lib/pkgconfig
and once again $pkg-config --modversion glib-2.0
And everything should be OK.

As for the XMMS :
XMMS uses old glib versions (marked 1.x). You can install it the same
way as described above but the easiest way is to use rpms from mandrake
distribution.
Run as a root : $diskdrake (or from the menu) and find 1.2.10 glib
packages (these are the last ones from 1.x branch).

Of course you can do the same to glib (and gtk+) 2.x branch, but as I
believe the packages on Mandrake 10.0 CD are 2.3.x not 2.4.x which you
require. For these you'll have to search the net :
http://rpm.pbone.net/ (my favourite rpm search engine)
or add some mirrors to your urpmi using
http://urpmi.org/easyurpmi/index.php
--
Cezary 'Thereidos' Morga <[EMAIL PROTECTED]>
Registered Linux User No. 362185
GG# 169903 ICQ# 328-700-565
Jabber: [EMAIL PROTECTED]


____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to