Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
checking for glib-2.0 >= 2.0.6 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.0.6 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 am trying to install gtk but it say that i have to install first :
(glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1)
i did and i still have the same error ... so i think i have to adjusting the PKG_CONFIG_PATH environment ... and the question is : HOW ??
at the risk of not actually answering your question, don't compile libraries like gtk unless you actually know you need to. instead stick to precompiled binary releases from your distribution vendor. rpm based distro's will provide gtk-devel atk-devel, glib-devel etc... to allow you to compile code against the standard preinstalled packages.
it's a really simple problem, and personally *I* was on holiday... if you don't understand the conecpt of developemnet packages then there's no point bothering trying to compile software like gtk+ from source. like i said, IF you are on an rpm based distro, do NOT bothering compiling gtk yourself, you will already have it installed. install gtk+-devel-2.0.blah.rpm etc... instead.
hi ,
first i want to say thanks for the help ... and wish that u had fun in your holiday ?!
the point is that i am tring to install some tool and during the configuration proccess i get error message tells that i have to install gtk+-2.0 ... i do have gtk installed since simply invoking
#locate gtk
gives me an endless list of paths ...
so , i consedered installing it again ... ( i know that i don't have to ) ....
part of the error message --->>
Quote:
consider adjusting the PKG_CONFIG_PATH environment variable
if your libraries are in a nonstandard prefix so pkg-config can
find them.
and so to solve this problem i should do the above ... but i don't realy know what does that says ... nor how to do that ..!!
Perhaps this could help when you run configure use
./configure --prefix=/usr
then
make make install
But if you don't understand what's going on you should really stick to using binary packages (rpm, deb or whatever) while you read up on compiling your own libraries.
Last edited by generic_genus; 01-02-2006 at 06:03 PM.
well , you say actually that installing gtk+-devel-2.0.blah.rpm
will solve the problem ... but why if i have gtk already installed ... and if you don't mind to do , then yes talk again about rpms and devel package , plz ?!
-- sorry for asking lots of questions but i like to understand things to depth ! even these things seems simple or trivial ...!
When you install software fom an rpm only the compiled binaries are installed (i.e. the executables). However, when you need to compile some tool from source which depends on say gtk2, it'll need the source code for gtk2 to be installed. The source code can be installed by the gtk-devel rpm as described above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.