Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey everyone. I have yet, another problem. I never liked the Kit AIM client, so I decided to download and install, "gaim". I went to http://gaim.sourceforge.net/ and downloaded gaim. I started to install it, and it said I needed, "gtk". So, I downloaded it, and started to install it through Konsole. I need, "atk". Woo! And It doesnt say where atk is exactly, I think it means I have to create a directory somewhere I am running Mandrake 9.1.
I thought the error I'm getting when installing, "gtk" may help, so hear it is.
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found
atk is an accesibility library to gtk. its should be a package. i don't use mandrake and the only reason i'm chirping up is that no one else seems to. and i don't really know where you get RPM's from when you use mandrake. probably mandrake.com? who knows anyhow...
Sorry, to clarify the above:
Open up a terminal, and as root type that in.
OR, if you are gung ho, you could go about getting the source of all the required apps and compiling them (I actually did this all for GTK2 the other night, it's not horribly bad if you know what you are doing, but it is surely time consuming).
hmm i had the same problem, and did what master c said. got all the sources, installed them all through console (doing something wrong?) but when i went to install gtk2 it still said i didn't have atk. even though i just installed it, and can find the files it seems to be looking for....
is it possible i need to remove old versions first? i'm something of a newb. anyway this is what i get:
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found
configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
i certainly didnt change any of the default directories, and i found a file called atk.pc in /usr/local/lib/pkgconfig . do i need to adjust PKG_CONFIG_PATH ? what is that and how do i go about it?
anyway im running mandrake 9.2, and im a newb although not a complete moron (i like to think)
Thank you jefklak, i did what you said and it now see's that I have glib 2.2.3. But, probably because of me trying to install glib so many times, it now also see's glib 2.2.1 as well at the same time
*** '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
Do you happen to know how to remove this program. I'm new to linux, so any help you can give is helpful. (I'm also very tired at the moment, so it's possible that I may figure it out myself)
I must also add, I've searched for what's on my hard disk. I've found many files and directories for glib 2.2.3 but none for 2.2.1. So I'm convinced that pkg-config is correct
Distribution: Currently Fedora B3, Will try Gentoo 1.4
Posts: 26
Rep:
If it was an RPM, you can simply "deinstall" it using the command RPM -e [packagename], for example "rpm -e glib-2.2.1". If you don't know what the name of your package is, you can search/grep for it, using the command "rpm -qa | grep glib" and check the output.
If it was a TAR/GZ (source code) and you installed it by using make install, I don't think there's another option than removing all files made by the install script manually. In the /usr/local/lib/pkgconfig is usually a file called "glib-x.x.x" where x is your version. You should have 2 files, remove the oldest version and the installer won't detect your old glib (but it's still installed, so you should back the file up in case you need it for later or so)
I'm having the same problem when trying to install Gaim 0.71
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.0, but GLIB (2.2.1)
*** was found!
I tried your last suggestion, here were the results:
[pibby@localhost pibby]$ rpm -qa|grep glib
glibc-devel-2.3.1-10mdk
libglib1.2-devel-1.2.10-6mdk
glibc-2.3.1-10mdk
libglib1.2-1.2.10-6mdk
libglib2.0_0-2.2.1-1mdk
I also tried going in to find the files manually and this is what is there in /usr/local/lib:
glib-2.0 Directory, pkgconfig Directory, and a bunch of libglib.la and .so files
pkgconfig Directory has one file resembling "glib-xxx" which is glib-2.0.pc
Also in your last post you suggested removing the older of the glib files, however for some reason I only have one.
Why must it be so difficult just to be able to use a multi-protocal chat client.... *sigh*
I just recently erased my drive and reinstalled mandrake. I setup to install glib first and it still gave me the same error. So I'm thinking it's either something that comes with the OS or a bad install file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.