LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GTK Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/gtk-newbie-66656/)

tslugmo 06-19-2003 01:23 PM

GTK Newbie
 
Running MDK 9.1, trying to install GTK-Perl for another program, but I'm getting errors about GTK not being found on my system. I read somewhere that putting the GTK directories in my path may help, but I'm not sure what that means? I'm pretty sure GTK packages are installed on my system. The error I get:

Code:

Can't exec "gtk-config": No such file or directory at Makefile.PL line 141.
Package 'gtk' needed but it was not detected on your system.
You may want to force it using --with-gtk-force if you know better than me.

When I "rpm -qa | grep gtk" I get:
Code:

libgtk+-x11-2.0_0-2.2.1-2mdk
gtkdialogs-2.0-3mdk
gtk+licq-base-0.51-11mdk
nautilus-gtkhtml-0.3.2-5mdk
libgtkhtml1.1_3-1.1.10-2.1mdk
gtk+mdk-0.1.6-14mdk
libgtkxmhtml1-1.4.2-3mdk
gtkam-0.1.10-2mdk
gtk-engines-0.12-7mdk
gtk+licq-0.51-11mdk
gtk+licq-nognome-0.51-11mdk
libgtkhtml2_0-2.2.0-2mdk
libgtkmm1.2-1.2.10-1mdk
libexif-gtk4-0.3.3-2mdk
gtk-themes-1.0-9mdk
gtkhtml-1.1.10-2.1mdk
gtktalog-1.0.0-1mdk
ed2k-gtk-gui-0.5.0-2
gtkhtml3.0-3.0.5-0.ximian.6.2
libgtk+2.0_0-2.2.1-2mdk
libgtk+1.2-1.2.10-32mdk
gtk+2.0-2.2.1-2mdk
gtk-engines2-2.2.0-2mdk
libgtkhtml3.0_2-3.0.5-0.ximian.6.2

At some point in the past I tried installing some other program and it seemed to think I didn't have GTK installed either.

Sorry, ultra newbie, thanks for the help.

-tslug

acid_kewpie 06-19-2003 01:25 PM

you need gtk-devel

Proud 06-19-2003 01:26 PM

Try going to the Install Software menu item, and then use the search feature to find all packages with gtk in their name. Install those and try again. :)

acid_kewpie 06-19-2003 01:27 PM

Quote:

Originally posted by Proud
Try going to the Install Software menu item, and then use the search feature to find all packages with gtk in their name. Install those and try again. :)
I hope that's a joke.... :D

congrats on 1000 posts btw.

Proud 06-19-2003 01:32 PM

Well it's far more likely to work for any GTK related problem. gtk-devel is likely to work but he might be needing some obscure little extra library instead. It's the sledgehammer solution. :)

I'm an LQ Addict, not a Guru! :D

tslugmo 06-19-2003 01:39 PM

I'll start small and work my way up. Installing a couple likely candidates right now, I'll let you know how it goes.

Thanks,
tslug

P.S. I'm going through this in order to install acidrip, btw. Unfortunately the howto for installation is down, but thank goodness for google cache!

tslugmo 06-19-2003 02:07 PM

Ok, so I got rid of all the error messages except one when trying to perl Makefile.PL.

Code:

Unknown library `gtkhtml'
Can't exec "gdk-pixbuf-config": No such file or directory at Makefile.PL line 141.
Submodule gdkpixbuf is needed to build gnomeprint but it appears
it's misdetected or not selected for compilation.
Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome gnomeprint glade applets.

You can disable the inclusion of a module using --without-pkgname.
If a package is misdetected and you still want it to compile
use --with-pkgname-force.
To disable autodetection of modules use --without-guessing.

is what I got, so then I found libgdk-pixbuf2-devel and its dependencies, installed them, and now I get:
Code:

Unknown library `gtkhtml'
Submodule gdkpixbuf is needed to build gnomeprint but it appears
it's misdetected or not selected for compilation.
Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome gnomeprint glade applets.

You can disable the inclusion of a module using --without-pkgname.
If a package is misdetected and you still want it to compile
use --with-pkgname-force.
To disable autodetection of modules use --without-guessing.

Any suggestions?

Thanks,
tslug

acid_kewpie 06-19-2003 02:11 PM

haha, well i thought it *might* be for my app, but i wasn't going to ask...

everytime you have a blah-config program missing, it's going to be in blah-devel. every time.

oh and please don't hold these problems against acidrip, you'd get this using any source program.

Proud 06-19-2003 02:12 PM

Try installing the latest version of gtkhtml, and also of urpmi, gurpmi and other relevent updated apps. :)


All times are GMT -5. The time now is 05:03 AM.