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 - 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 10-24-2005, 01:19 AM   #1
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Rep: Reputation: 15
./configure can't find gtk+


I use SuSE 10 and I've been trying to get all my programs and plugins working correctly, but have been having some trouble. Whenever I try to run ./configure for almost anything i get an error along the lines of this:

*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

however I do have GTK+ installed, as rpm -qa | grep gtk+ gives me

gtk+-devel-1.2.10-15
gtk+-1.2.10-15

and gtk-config --version gives me

1.2.10

I can't figure out what the deal with this is. If anyone could help me out I would appreceate it.

Thanks
-Aaron
 
Old 10-24-2005, 06:40 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Re: ./configure can't find gtk+

Quote:
Originally posted by ELconkestador

configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

I can't figure out what the deal with this is.
it's right there in front of your nose..................it needs gtk 1.2.2

the version you have installled is..............gtk 1.2.10
 
Old 10-24-2005, 07:36 AM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Re: Re: ./configure can't find gtk+

Quote:
Originally posted by freakyg
it's right there in front of your nose..................it needs gtk 1.2.2

the version you have installled is..............gtk 1.2.10
No, right there in front of his nose it says >= 1.2.2. That's GREATER THAN or equal to 1.2.2. 1.2.10 is certainly greater than 1.2.2.
 
Old 10-24-2005, 10:22 AM   #4
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Original Poster
Rep: Reputation: 15
exactly! so any ideas?
 
Old 10-24-2005, 02:49 PM   #5
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally posted by ELconkestador
exactly! so any ideas?
it might not find it, so try using ./configure --help and see if there are options to point it towards the files, then you just point it and it should work. It might be looking for them in the wrong place (usually happens when you try to compile programs that where programmed with another distro in mind when yours differs slightly). I remember having the same problem when compiling the wacom driver.
 
Old 10-24-2005, 05:36 PM   #6
Widgeteye
Member
 
Registered: Mar 2005
Posts: 130

Rep: Reputation: 17
Re: Re: Re: ./configure can't find gtk+

Quote:

This is my signature! Not a post aimed at any one person....
A quick English lesson:
1. "Your" is possessive. "You're" is a contraction of "You are". Why do otherwise intelligent people make statements like "Your running the wrong program"? It's not hard.
2. "There" refers to something like "over there". "Their" is possessive of them. "They're" is "they are".
3. Plurals DO NOT HAVE APOSTROPHES. Yes really: no "dog's", no "cat's", no "program's" and definitely no "carrot's"
4. Try punctuating occasionally. It makes your question easier to understand and means I'm more likely to try to answer it. I'm probably not the only one.

You too, eh?
 
Old 10-24-2005, 07:01 PM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
You need to install the -devel packages for gtk through YAST. I don't know about Suse but on Mandriva they are named
Code:
libgtk+1.2-devel 
and
libgtk+2.0_0-devel
If you just go into Yast and search for gtk you should see the right packages.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ./configure; cannot find gtk-config audiorevolution Linux - Software 8 05-21-2005 02:37 AM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK installed, yet ./configure can't find it Micro420 Mandriva 12 08-13-2004 04:27 AM
can't configure GTK!-gtk-gnutella ogkyusa Linux - Software 2 08-09-2003 04:38 PM
configure can't find gtk-config serial Linux - Newbie 2 03-16-2003 05:27 PM

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

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