LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gtk problem in mandrake 10.1 (https://www.linuxquestions.org/questions/linux-software-2/gtk-problem-in-mandrake-10-1-a-298236/)

q(0_0)p 03-06-2005 05:16 AM

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

XavierP 03-06-2005 05:23 AM

Track down and install the GTK development package(s) it will probably start gtk-devel or something similar.

q(0_0)p 03-06-2005 05:59 AM

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

XavierP 03-06-2005 06:24 AM

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.

q(0_0)p 03-06-2005 06:56 AM

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

reddazz 03-06-2005 10:18 AM

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.


All times are GMT -5. The time now is 07:34 AM.