LinuxQuestions.org
Register a domain and help support LQ
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, 11: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 11:56 AM.
 
Old 04-05-2009, 01:44 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
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, 05:30 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# '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 05: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 08:46 AM
Problems updating glib baldwonder Linux - Software 5 02-14-2006 08:58 AM
Updating gLib and GTK Darksun Linux - Software 1 04-24-2004 05:49 PM
updating glib toships Linux - Newbie 4 02-28-2004 07:51 PM
Updating glib slurride Slackware 1 02-23-2003 12:28 AM


All times are GMT -5. The time now is 08:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration