Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
checking for GTK+ - version >= 2.4.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.6.8, but GTK+ (2.4.9)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: *** GTK >= 2.4.0 not installed! ***
how do i fix this?
Last edited by invinciblegod; 07-21-2005 at 12:09 PM.
checking for GTK+ - version >= 2.4.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.6.8, but GTK+ (2.4.9)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
What do you need help with? It tells you what the problem is. Where is your gtk lib installed? My guess is that you installed gtk in /usr/local, but your PKG_CONFIG_PATH has /usr before /usr/local. But that's just my
Thx I went there and it really is 2.4.0 because the path is "file:/usr/local/lib/gtk-2.0/2.4.0". How do i fix this? It was probably orginally 2.4.0 and i installed 2.6.8 and it didnt delete the orginal? If so, where is 2.6.8? I am a linux newbie so i dont know how to fix this. Please help!
Originally posted by invinciblegod Thx I went there and it really is 2.4.0 because the path is "file:/usr/local/lib/gtk-2.0/2.4.0".
Very good. You have confirmed what the configure script already told you: you have gtk 2.4.0 installed on your system.
Quote:
Originally posted by invinciblegod How do i fix this?
First you need to figure out what needs fixing.
Quote:
Originally posted by invinciblegod It was probably orginally 2.4.0 and i installed 2.6.8 and it didnt delete the orginal?
No, you can have both packages installed so long as your paths are setup correctly. Generally speaking, software in linux is more difficult to uninstall than on Windows because many packages don't come with an uninstaller.
Quote:
Originally posted by invinciblegod If so, where is 2.6.8?
You tell me. Where did you install it when you built it? Did you build it from source or use a binary distribution (e.g. .deb or .rpm)? If you built it from source, what has your ./configure line?
Originally posted by invinciblegod I built it from source. Also, I have no idea what the above means.
When you built your gtk, you head to configure the source before building the libraries. Your installation process looked something like
Code:
# cd gtk+-x.y.z
# ./configure
# make
# make install
What were your switches on the ./configure line? cd to the source directory for gtk 2.6.8 and run the following:
Code:
# head config.log
That will tell you the first few lines of the log from your last config (which hopefully is the one that you built from). It will tlel you what theexact config line was when you built gtk. Post it here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.