LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gtk installing (https://www.linuxquestions.org/questions/linux-software-2/gtk-installing-397265/)

mohama 12-28-2005 01:07 PM

gtk installing
 
hi ,
Code:


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 ??

thanks alot ...

muhammad-sameer ,

acid_kewpie 12-28-2005 02:31 PM

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.

mohama 12-28-2005 03:10 PM

sorry , but i didn't understanded what you ment ... could you explain ... plz ?

thanks,
m-s

mohama 01-01-2006 11:11 AM

replay
 
hi ...

what ??? no body knows what is the problem ??? nobody have any idea about how to solve this ??

thanks,
m-s

acid_kewpie 01-02-2006 05:06 PM

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.

mohama 01-02-2006 05:37 PM

replay ,
 
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 ..!!

thanks ,
muhammad-sameer,

acid_kewpie 01-02-2006 05:53 PM

do i have to talk about rpms and -devel packages yet again?

generic_genus 01-02-2006 06:02 PM

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.

mohama 01-02-2006 06:06 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 ...!

thanks alot ,
m-s

generic_genus 01-03-2006 09:11 AM

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.


All times are GMT -5. The time now is 06:23 AM.