LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-17-2003, 05:27 AM   #1
Alderian
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
GLIB installation trouble


I hava a problem with installing glib 2.2.2. The installation goes well but when im about to run ./configure on atk i get the message that I dont have glib >= 2.0.0 installed. I have tried to install glib from src files and I have tried to install it via a rpm, none of them complains about the install.

What is the problem.
 
Old 08-17-2003, 05:34 AM   #2
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
just a question.... what do you mean by the install goes fine until you run ./configure??
Is not ./configure your first step?
 
Old 08-17-2003, 06:04 AM   #3
Alderian
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
the installation of glib goes just fine.
But when i run ./configure of the atk thats when the trouble comes, I am beginning to suspect that my pkg-config does not update
 
Old 08-17-2003, 06:08 AM   #4
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
After installing GLIB, type that command
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Then try to configure atk, that should work...
Hope that helps.
 
Old 08-17-2003, 06:27 AM   #5
Alderian
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks! It works now.
 
Old 09-19-2003, 04:12 PM   #6
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 437

Rep: Reputation: 30
I've got a similar problem so I won't start a new thread. I installed glib-2.2.3 without incident. I then ran ldconfig and had same problems as Alderian trying to ./configure on another program. So then I ran

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

like hfwazy said but I get this error when I try to ./configure on another package:


checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.


I'm not sure what to do. I'm trying to install the latest verions of gtk+, but I'm working on the dependencies now. Thanks for any help.
 
Old 09-25-2003, 05:46 PM   #7
CMDR_PAIN
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
I have some problems too with installing gtk+, and dl the newest 1.x.x versions of glib and gtk and am now trying to do something.
Oulevon, try first to delete the file config.cache before you hit ./configure, maybe it helps.
 
  


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
having trouble with glib, gtk, etc HKJGN Linux - Software 8 05-10-2005 12:34 PM
having trouble with glib, gtk, etc HKJGN Linux - Software 0 04-26-2005 11:55 AM
Having some trouble with the whole GLIB etc... nutnut Linux - Software 1 02-22-2005 03:06 PM
Trouble with GLIB librarys vlitzer Linux - Software 0 06-30-2004 10:31 AM
trouble installing anything that relies on glib 2 alphisb0t Linux - Software 1 06-03-2004 10:45 AM


All times are GMT -5. The time now is 01:19 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