Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-10-2005, 01:48 AM   #1 (permalink)
 
True Techie

Join Date: Mar 2005

Posts: 244

chickenNcheese

Default installing ATK libraries

i have been trying to install GTK libraries and it said i needed ATK, GLib and Pango libraries. So i downloaded them all and i have installed GLib and Pango, but when i go to install ATK it says:
*** 'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.4.7)
*** 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.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

I have the GLib 2.6.4 and it says that it is finding GLib 2.4.7, but i dont know how ot get rid of 2.4.7 or to direct it towards 2.6.4
Can anyone please give me step by step instructions on how to do either? Thanks.
__________________
Have A Nice Day
chickenNcheese is offline  
Old 04-10-2005, 02:04 AM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

I went thru this mess recently
you have to uninstall the old glib(2.4.x) and then install the new one and run ldconfig
also make sure its listed in /etc/ld.so.conf and make sure its in your $PATH

pango,atk are part of the GNOME libraries, and with Glib they come in a series, they have to match or some programs wont compile

depending on what distro your using will determine how you get rid of the old one, you should be able to do that easy enough, should be able to get the new ones and install them in precompiled binaries too, that will make this easier

what pkg management format are you using?rpm,pkg(tgz),deb(apt get) ?

check /etc/ld.so.conf and see whats in there,it may have both glib's listed,post whats in there

also, you can pass the real location of the glib it needs with the configure command:
./configure --help ----------for options on that

also post what "echo $PATH" gives you

this is going be a little tricky, we'll get it fixed

if your using slackware, run pkgtool and remove installed programs and scroll thru the list and check what glib's you have,may be as simple as removing the 2.4 version and then running ldconfig
horndude is offline  
Old 04-10-2005, 02:10 AM   #3 (permalink)
 
True Techie

Join Date: Mar 2005

Posts: 244

chickenNcheese

Default

i am using Fedora Core 3. I downloaded all the things as .tar.gz. This is what is in ld.so.conf:
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/mysql
i have no idea what package management is either.

echo $PATH gives:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
__________________
Have A Nice Day
chickenNcheese is offline  
Old 04-10-2005, 02:23 AM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

package management is in your case RPM, which is a system fedora and redhat uses to keep track of whats installed, its keeps a journal or database of precompiled software on your system, you can install/uninstall software thets ready to go, or compile it from source, what your doing right this moment is compiling from source, you should be able to find this stuff already compiled in rpm format though(if you want) and install it that way, I know there's lots of rpm depositories on the net with this stuff ready to download and install

I dont see what we're looking for in your path of in /etc/ld.so.conf,hate it when that happens

try typing as root in a terminal "ldconfig" and see if that works

im gonna have to look a few things up and get some sleep first,hate to leave you hanging like this,but ive been up for 20hrs,been awhile since ive messed with rpm's, i know how to install and uninstall but we need a list of whats on your system now, I think there's probably either in gnome or kde in the system admin menu a package management type option, you can try that and see whats on your system now, it allows removal and installation of stuff too

I will be back later
horndude is offline  
Old 04-10-2005, 10:48 AM   #5 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

http://www.fedorafaq.org/

looks like fedora has as well as the rpm system a thing called "yum", see if that helps out, get rid of 2.4 series glib, and install the new one, you may want to uninstall the pango too and download and install a copy using yum, not sure

yum may already be on your system, type yum to find out !!(be root to do this)

linux has whats called "dependencies",meaning a big program is made up of a whole bunch of little ones and libraries, they have to match the needs of the program your compiling or as you found out it wont work

most distro's have come up with ways of automatically checking for this and fixing it for you, this is what rpm and something like "yum" does, only yum will download and install whats needed on its own, you just tell it what you want and it does the rest

read thru that FAQ, and try to see what you can do, if you cant get this fixed, post back and I'll help some more

should be able to add some options to the ./configure in atk so it can find the right glib if needed, but I dont want you to run into more dependency issues if not needed or in worst case break something else in the process
horndude is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On