LinuxQuestions.org
Register a domain and help support LQ
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 02-25-2004, 11:32 AM   #1
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
Cannot compile Gimp-2.0pre3


Hi all!!

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.

Why is that? Any suggestion/help¿

Thanx in advance
 
Old 02-29-2004, 08:33 PM   #2
arkamir
Member
 
Registered: Nov 2003
Location: Califroni
Distribution: Fedora
Posts: 51

Rep: Reputation: 15
I have a similiar problem but with this error

I have a similiar problem but with this error:

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:

Package: libglib2.0-data
Versions:
2.2.3-1(/var/lib/apt/lists/mirrors.kernel.org_debian_dists_testing_main_binary-i386_Packages)(/var/lib/apt/lists/http.us.debian.org_debian_dists_testing_main_binary-i386_Packages)(/var/lib/dpkg/status)
2.0.1-2(/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages)

Reverse Depends:
libglib2.0-0,libglib2.0-data
libglib2.0-0,libglib2.0-data
Dependencies:
2.2.3-1 - libglib2.0-0 (5 2.2.3-1) libglib1.3-data (0 (null)) libglib1.3 (0 (null)) libglib1.3-data (0 (null))
2.0.1-2 - libglib2.0-0 (5 2.0.1-2) libglib1.3-data (0 (null)) libglib1.3 (0 (null)) libglib1.3-data (0 (null))
Provides:
2.2.3-1 -
2.0.1-2 -
Reverse Provides:
 
Old 02-29-2004, 09:21 PM   #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
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.
 
Old 03-28-2004, 10:31 AM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Original Poster
Rep: Reputation: 54
Gimp 2 install HOW-TO

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.

The help in INSTALL file, didn't help at all

Any help is welcomed, this is driving me crazy
 
Old 03-28-2004, 10:33 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
This looks very much like: http://www.linuxquestions.org/questi...hreadid=150355 - with that in mind.......

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.

http://www.linuxquestions.org/rules.php

If you were unhappy with the answers you received in your original thread, you should have replied to it giving more info.
 
Old 03-28-2004, 10:44 AM   #6
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 03-28-2004, 11:54 AM   #7
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
going to merge the two.
 
Old 03-28-2004, 12:27 PM   #8
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Original Poster
Rep: Reputation: 54
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).

Any further help is more than welcomed

Last edited by Hammett; 03-28-2004 at 12:37 PM.
 
Old 03-28-2004, 01:59 PM   #9
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
Quote:
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).

Any further help is more than welcomed
It should be
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
Old 03-28-2004, 02:33 PM   #10
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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.
 
  


Reply


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
gimp install plugin darkleaf Linux - Software 1 03-13-2007 12:34 AM
can't install gimp 2.2!!! haora Linux - Newbie 2 06-27-2005 11:57 PM
trying to install GImp 2.0 allelopath Linux - Software 5 11-14-2004 01:25 PM
Gimp 2.0 Install Help xsive Linux - Software 1 03-28-2004 03:39 PM
need help with GIMP install rythomas Linux - Software 0 03-16-2004 08:32 PM


All times are GMT -5. The time now is 06:39 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration