LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-28-2005, 01:07 PM   #1
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Rep: Reputation: 31
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 ,
 
Old 12-28-2005, 02:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 12-28-2005, 03:10 PM   #3
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
sorry , but i didn't understanded what you ment ... could you explain ... plz ?

thanks,
m-s
 
Old 01-01-2006, 11:11 AM   #4
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay

hi ...

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

thanks,
m-s
 
Old 01-02-2006, 05:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 01-02-2006, 05:37 PM   #6
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
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,
 
Old 01-02-2006, 05:53 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
do i have to talk about rpms and -devel packages yet again?
 
Old 01-02-2006, 06:02 PM   #8
generic_genus
Member
 
Registered: Oct 2005
Distribution: Gentoo Unstable
Posts: 51

Rep: Reputation: 15
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.
 
Old 01-02-2006, 06:06 PM   #9
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
Smile ...

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
 
Old 01-03-2006, 09:11 AM   #10
generic_genus
Member
 
Registered: Oct 2005
Distribution: Gentoo Unstable
Posts: 51

Rep: Reputation: 15
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.
 
  


Reply



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
Installing the gtk Elbryan Linux - Software 10 10-13-2007 01:17 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
installing gtk dlm4444 Programming 1 09-26-2003 10:07 AM
Installing gtk+ help saiz66 Linux - Software 6 06-21-2003 04:06 PM
Installing GTK+ Womandrake Linux - Software 5 04-23-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 AM.

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
Open Source Consulting | Domain Registration