LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems updating glib to >then 2.0 (https://www.linuxquestions.org/questions/linux-newbie-8/problems-updating-glib-to-then-2-0-a-716995/)

baig 04-05-2009 10:51 AM

Problems updating glib to >then 2.0
 
Hello,

while trying to compile a plug-in for mplayer I get the following message.

Code:

checking for GLIB... configure: error: Package requirements (glib-2.0 ) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

while i have the following glib.

Code:

[root@Wazirkutz]# rpm -qa |grep glib
glib-1.2.10-20.el5
glib-devel-1.2.10-20.el5

i have source for glib > 2.2

I need proper procedure to remove old and compile and install glib-2.2. Could any one help me out? thanks

I am using CentOS 5.3 as OS.

System config is as following.

Code:

[root@Wazirkutz ~]# uname -a
Linux Wazirkutz
2.6.18-128.1.6.el5 #1
SMP Wed Apr 1 09:10:25 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux

Thanks in advance once again.

weibullguy 04-05-2009 12:44 PM

According to Distrowatch, CentOS-5.3 ships with GTK+-2.10.14 and GNOME-2.16. You have to have glib2 installed for GTK+-2.10.14 and GNOME-2.16. You still may need to install the development files for glib2 and you should use your pacakge manager to do that.

knudfl 04-05-2009 04:30 PM

# 'yum install glib2-devel' will do.

'glib2' cannot be removed, 530 of your installed
packages depends on the installed version.

( The version is 2.12.3 in CentOS 5.3 ).
http://isoredirect.centos.org/centos...s/i386/CentOS/
.....


All times are GMT -5. The time now is 01:51 PM.