LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-06-2005, 06:16 AM   #1
q(0_0)p
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
gtk problem in mandrake 10.1


Hi,

I new to linux, and run mandrake 10.1, but have problems installing applications.
an example is cssed-0.3.0, when I run configure, it says:
'configure: error: libgtk2.0-dev not found please install libgtk2.0-dev'

so, i tried installing everything with gtk from the installation cdś, through the system configuration tool -> software management, but still i get this.

if i run this bash script, i get this:
if `pkg-config --exists gtk+-2.0`
> then
> echo "Yes"
> else
> echo "No"
> fi
No

How can i install the gtk package?

thanks..
jarra
 
Old 03-06-2005, 06:23 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Track down and install the GTK development package(s) it will probably start gtk-devel or something similar.
 
Old 03-06-2005, 06:59 AM   #3
q(0_0)p
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
But where can I find it.

Now i trying to install GLib, GTK+, Pango, and ATK from source, but with installing glib-2.6.3 i get this error:
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

thanks,
jarra
 
Old 03-06-2005, 07:24 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Installing from source on an rpm based distro is fraught with problems. Basically, when you go to install an rpm, it won't know that the source installed program exists. For Mandrake, there is a very good program called 'urpmi'. This is a program that will install a program and resolve the dependencies.


http://easyurpmi.zarb.org/ is the website to help setup and use the program.
 
Old 03-06-2005, 07:56 AM   #5
q(0_0)p
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for your help, the urpmi seems to work,
but do I need to urpmi the gtk-devel now?
i cant urpmi cssed-0.3.0.

(sorry, i new to linux..... ;-) )
is there a list somewhere of applications i can install this way?

thanks,
Jarra
 
Old 03-06-2005, 11:18 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Once you setup your urpmi sources, you can browse the package list using RPmdrake and you can select the ones you need to install. An alternative would be to do something like,
#urpmi gtk+-devel
but to use this method you need to know the exact name of the package you want to install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gtk+ 2.4.14 problem, how do I execute GTK? nautal Linux - Software 2 06-17-2005 07:09 PM
How do I upgrade GTK+ from 1.2.8 to 2.2.4 under Mandrake 7.2 paragon17 Linux - Software 4 04-28-2004 09:08 AM
Getting gtk-2.0.pc on Mandrake 9.2 bdika Mandriva 1 03-30-2004 10:30 PM
GTK on mandrake qod Mandriva 3 01-07-2004 05:41 PM
Using GTK+ 1.2 themes in Mandrake 9.0? jenna_h Linux - Newbie 0 12-09-2002 09:29 PM

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

All times are GMT -5. The time now is 05:27 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration