LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ./configure and GTK+-2.0 (https://www.linuxquestions.org/questions/linux-software-2/configure-and-gtk-2-0-a-440097/)

exvor 04-29-2006 03:50 PM

./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
/usr/X11R6/lib64/pkgconfig:/usr/qt/lib/pkgconfig:/usr/lib/pkgconfig

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.

ioerror 04-29-2006 04:15 PM

Quote:

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).

tomdkat 05-02-2006 01:51 PM

Quote:

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.

Peace...


All times are GMT -5. The time now is 07:47 PM.