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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2004, 06:49 AM   #1
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Rep: Reputation: 16
Angry Cannot find GTK+ even though it's installed...


Hello once again, everyone.

I am trying to setup a computer for my mother with Mandrake 9.0. Everything is peachy except for I want to upgrade her XMMS and install Mplayer (as well as the plugin for Mozilla).

My problem is when I run ./configure for either of the programs, it stops with an error stating to the effect of "cannot find GTK+ 2.0 You must install before configure can continue." So, I went into RPMDrake and chacked, sure enough, GTK is in fact installed as well as it's devel packages from what I can see. I have tried installing everything I could find with "GTK" in the title or the details to no avail.

What measures shall I have to take to resolve this? I am almost finished with her computer and she is going nutty without it! (Litterally, she won't stop calling!)

Thank you for reading and your consideration.
 
Old 07-20-2004, 07:30 AM   #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
i would certainly expect that the devel package is not there. try "rpm -qa | grep devel" and see if it says it is or not. it'll need to be the same version as your gtk.
 
Old 07-20-2004, 08:56 AM   #3
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Hmm... dunno much about rpmdrake, but most package management programs give you the option to view the files contained in the package... you can use that to find where gtk+ 2.0 is installed (it might be under a subdirectory of /lib or /usr/lib or even /usr/local/lib, for example).

Once you know where gtk+ 2.0 is installed, run (for whatever you're trying to compile) "./configure --help | less" (that will give you a full listing of options you can pass to configure, and piping it into less will mean you can scroll them with the space bar). Look for an option along the lines of --gtk-path=<directory> or something of the sort so you can tell it where you found it. Alternately, if you found it in a weird place, you can make a symlink to it from /usr/lib, so other programs can automatically find it in the future.
 
Old 07-20-2004, 06:38 PM   #4
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Original Poster
Rep: Reputation: 16
Thanks to the both of you! Well I'll be darned, I did "rpm -qa|grep devel" and sure enough, GTK is not in the list. I'm certain it's installed though, maybe it's in a funky place as oot suggested. I'll do a search for it and place it in the right place.

I'll check back with an update.

Last edited by AudioMechanic; 07-20-2004 at 06:49 PM.
 
Old 07-20-2004, 07:03 PM   #5
AudioMechanic
Member
 
Registered: Jun 2003
Distribution: OpenSUSE 12.3, CentOS 6, Xubuntu 13.04
Posts: 125

Original Poster
Rep: Reputation: 16
Well, it's official. I'm an IDIOT! The devel packages (both 1.2.1 and 2.0) of GTK were not installed even though I thought they were. Thank you for the help! Hopefully other people with read this thread and not discover the same idiocy.
 
Old 09-19-2004, 11:29 AM   #6
riseringseeker
Member
 
Registered: Aug 2004
Posts: 31

Rep: Reputation: 15
GTK installation

Quote:
Originally posted by AudioMechanic
Well, it's official. I'm an IDIOT! The devel packages (both 1.2.1 and 2.0) of GTK were not installed even though I thought they were. Thank you for the help! Hopefully other people with read this thread and not discover the same idiocy.
I'm running Mandrake 10.0 (Official - 5 disks) and don't seem to have GTK devel packages installed. I am a newbie, so forgive the question, but how does one install them?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK installed ... but where??????? MuzikQuest SUSE / openSUSE 4 12-13-2004 05:54 PM
GTK installed, yet ./configure can't find it Micro420 Mandriva 12 08-13-2004 04:27 AM
installed gtk+2.4 from cooker deVas Mandriva 2 06-12-2004 06:15 AM
How to tell if GTK or Motif are installed? MacKtheHacK Linux - Software 6 11-20-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration