LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2003, 01:23 PM   #1
tslugmo
LQ Newbie
 
Registered: Apr 2003
Posts: 10

Rep: Reputation: 0
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
 
Old 06-19-2003, 01:25 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
you need gtk-devel
 
Old 06-19-2003, 01:26 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 06-19-2003, 01:27 PM   #4
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
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....

congrats on 1000 posts btw.
 
Old 06-19-2003, 01:32 PM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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!
 
Old 06-19-2003, 01:39 PM   #6
tslugmo
LQ Newbie
 
Registered: Apr 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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!
 
Old 06-19-2003, 02:07 PM   #7
tslugmo
LQ Newbie
 
Registered: Apr 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 06-19-2003, 02:11 PM   #8
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
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.

Last edited by acid_kewpie; 06-19-2003 at 02:14 PM.
 
Old 06-19-2003, 02:12 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

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


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
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
Newbie Needs Help w/ Gimp/GTK compile alxdotnet Linux - Software 4 04-21-2004 11:47 PM
Newbie Question - What is GTK Exactly? Zeraxeal Slackware 4 03-24-2004 07:27 PM
(Complete Newbie Here) GTK errors nistelrooy Linux - Newbie 5 10-25-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 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