View Full Version : glib
teedee
11-10-2003, 10:36 PM
Hi,
I am trying to update glib (to version 1.2.6 or above), every time i run
./configure
make
make install
it all seems to go OK, however I still have
# rpm -q glib
glib-1.2.10-10
any ideas...??
DirectAdmin Support
11-10-2003, 11:01 PM
Hello,
If I'm not mistaken, you are trying to downgrade your glib from 1.2.10 to 1.2.6 ... You might consider using up2date (or apt-get).
up2date -u glib
But if you want to compile it, rpm uses a proprietary system, so if you compile software yourself, you'll be going behind the rpm system's back, so it will still think it has one version even though you've installed another.
John
teedee
11-10-2003, 11:15 PM
Actually, what I am trying to is install "Midnight Commander" text editor, but keep getting error
*** 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: Test for glib failed.
GNU Midnight Commander requires glib 1.2.6 or above.
Having never had a problem installing this on a box before I am starting to get pretty frustrated after spending 4 hours trying to get it working without any success..........
You need the glib-devel package. It is looking for the glib-config, that should be installed with the devel package. Try doing:
up2date -u glib-devel
teedee
11-11-2003, 11:47 AM
Hi,
I tried that, still get errors
checking for glib-config... /usr/local/bin/glib-config
checking for glib-config... (cached) /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.6... *** GLIB header files (version 1.2.6) do not match
*** library (version 1.2.10)
no
configure: error: Test for glib failed.
GNU Midnight Commander requires glib 1.2.6 or above.
this is starting to get beyond annoying as MC is a text editor a number of my clients use and I have never spent more than 5 mins installing it on a cpanel server, so far am on 2nd day trying to install it on DA server....................................... and getting more and more frustrated as time goes by
Now you have a problem where you have more than one version of glib-config out there. You need to fully remove the older one.
teedee
11-11-2003, 12:06 PM
ok,
what is the best / correct way to do this ?
TD
Look at the install script for the 1.2.6 version and remove all the files it installed.
If you did a 'make install' then look for the line in the Makefile that starts with 'install:' without the quotes, everything after that begging with a tab will be part of the install.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.