LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2009, 10:51 AM   #1
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
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.

Last edited by baig; 04-05-2009 at 10:56 AM.
 
Old 04-05-2009, 12:44 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 04-05-2009, 04:30 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
# '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/
.....

Last edited by knudfl; 04-05-2009 at 04:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
glib and gtk+ updating tbutts Linux - Newbie 4 07-27-2007 07:46 AM
Problems updating glib baldwonder Linux - Software 5 02-14-2006 07:58 AM
Updating gLib and GTK Darksun Linux - Software 1 04-24-2004 04:49 PM
updating glib toships Linux - Newbie 4 02-28-2004 06:51 PM
Updating glib slurride Slackware 1 02-22-2003 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration