Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-29-2006, 04:50 PM   #1
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
./configure and GTK+-2.0

Ok this is a gernal question but i can never seam to find an answer to this one.

every once and a while i get a gtk app that i want to build off of freshmeat and it just refuses to compile with always the same error

goes something like this

checking for pkg-config OK!
pk-config error gtk+-2.0 >= 2.8 not found.
gtk+- version detected 2.4.0
make sure pkg-config enviroment varible points to the correct directory etc. etc.

from this statement that it loves to give me it finds gtk+-2.4 ( NOTE I have 2.0 installed as well ) so why does it error 2.4 is greater then 2.0 ?

This doesent seam to happen on all gtk apps just seams to be a lazy programmer error that they forgot to account for in there configure script when they copied it from another app.

before you ask here is the PKG_CONFIG_PATH in my system

This is an annoying problem that seams to never be sloved with these apps. Anyone got an idea. If you want i can provide a log of one such error on a random app that gave me this last.
Old 04-29-2006, 05:15 PM   #2
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
pk-config error gtk+-2.0 >= 2.8 not found.
The app requires gtk version >= 2.8. The 2.0 is not the version number, it is part of the package name "gtk+-2.0", to differentiate it from gtk version 1.x).
Old 05-02-2006, 02:51 PM   #3
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Originally Posted by exvor
This is an annoying problem that seams to never be sloved with these apps. Anyone got an idea.
The only idea I have is to install gtk+ 2.8.x.


Last edited by tomdkat; 05-02-2006 at 02:54 PM.


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
./configure can't find gtk+ ELconkestador Linux - Software 6 10-24-2005 08:01 PM
gtk ./configure error invinciblegod Linux - General 7 07-24-2005 03:09 AM
help with ./configure of gtk+2.4.9 minm Linux - Newbie 4 11-09-2004 08:56 AM
gtk+-2.2.3 configure error. eye Linux - Software 7 11-20-2003 09:21 AM
can't configure GTK!-gtk-gnutella ogkyusa Linux - Software 2 08-09-2003 05:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration