Linux - SoftwareThis 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
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.
After doing ./configure i get this error:
checking for GTK+ - version >= 2.2.2... no
*** 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+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
So i installed Gtk+-2.2.4 without any error, but when i try again to configure gimp, i got the same error. I've read the small help in INSTALL file in gimp source directory, but didn't help.
checking for GLIB - version >= 2.2.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.
apt-cache showpkg libglib2.0-data provides this info:
Silly point, but have you both run ldconfig to cache the newly created glib and gtk libraries? If you hadn't rebooted before trying Gimp again then it wouldn't have cached them.
I've been trying to install Gimp2 on my RH from tarball, but when doing the configure thing, it said to me that i needed gtk+2.2.2 (at least)
checking for GTK+ - version >= 2.2.2... no
*** 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+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
so i downloaded the tarball for gtk+ 2.2.4 and i installed it. All went good.
After that, i did an ldconfig to update the system.
When doing another time the ./config thing on Gimp, it pop ups the same error. Even if i do a ./configure --disable-gtktest it happens all the time.
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
Did you make sure that GTK2 installed in /usr instead of /usr/local? That sometimes happens. To find out, you can check for gtk stuff in /usr/local, or you can just run the configure script with the --path=/usr option. I hope this helps, even though you double-posted.
Gtk+2.2.4 is located in /usr/local/lib/gtk+-2.0p
I haven't found any option to gimp configure to tell where gtk+ is. Only the variable PKG_CONFIG_PATH seems to tell where the file is located. So i set it with "set PKG_CONFIG_PATH="usr/local/lib/" " (as root) and then"export PKG_CONFIG_PATH"
I do another time ./configure, and the f***ing error is still there....
I think i will give up installing Gimp2 (or i'll wait until RH does the rpm).
Originally posted by Hammett sorry for the double post >_<
Gtk+2.2.4 is located in /usr/local/lib/gtk+-2.0p
I haven't found any option to gimp configure to tell where gtk+ is. Only the variable PKG_CONFIG_PATH seems to tell where the file is located. So i set it with "set PKG_CONFIG_PATH="usr/local/lib/" " (as root) and then"export PKG_CONFIG_PATH"
I do another time ./configure, and the f***ing error is still there....
I think i will give up installing Gimp2 (or i'll wait until RH does the rpm).
when installing, pango, gtk+, glib, atk, and all the other dependencies, "configure" with:
./configure --prefix=/usr
since it sets it up the prefix as /usr/local , and most distro. have it in /usr to start, so it seraches there first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.