LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-19-2005, 10:35 AM   #1
Belboz99
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Rep: Reputation: 0
GIMP thinks I have two versions of GTK, but I don't


Hey all.

Here's what's been going on:

I'm a photographer, and most of my income comes from scanning and editing old photos. So, I decided to upgrade GIMP to the latest version, 2.3.1. The current version I was using on Debian 3.1 was 2.2.0, so it seemed a worthwhile effort.

What I ran into was dependency hell. After 4 hours of compiling packages I finnally got all the dependencies installed.

So, with fingers crossed I cd'ed to the gimp installation folder, typed ./configure, and pressed enter.

Much to my dismay it ran into an error. It says that it's finding both GTK+ 2.6.4 and GTK+ 2.6.8. The problem is that I never installed 2.6.4, and the strange thing is that's the version of glib that I installed.

How to I get past this?

I've been at it for about 2 hours now with no luck.

Here is the error I recieved:

Code:
checking for GTK+ - version >= 2.6.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.6.8, but GTK+ (2.6.4)
*** 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: Test for GTK+ failed. See the file 'INSTALL' for help.
Thanks,
Dan O.
 
Old 06-19-2005, 11:04 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you have most likely compiled and installed stuff into /usr/local
(if you just did ./configure the default is /usr/local)
on the other hand the original gtk and freinds are installed in /usr
so now you got 2

it may work to do exactly what the output sugests
alter LD_LIBRARY_PATH so the new libgtk path is first when you do
echo $LD_LIBRARY_PATH

basically it sounds like you have a mess there now and it might take some creativity to get it going properly
 
Old 06-19-2005, 11:28 AM   #3
Belboz99
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I'm going to need more detailed instructions than that.

When I do

Code:
echo $LD_LIBRARY_PATH
I get a blank line.

Dan O.
 
Old 06-19-2005, 12:35 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
type

"export LD_LIBRARY_PATH=/usr/local/lib"

before running configure.
 
Old 06-19-2005, 01:43 PM   #5
Belboz99
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by mhearn
type

"export LD_LIBRARY_PATH=/usr/local/lib"

before running configure.
Thanks! That did it!

Now all I have to do is knock out the rest of the depenencies. Compiling Gimp-Print as I type.

Dan O.
 
  


Reply



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
glib & gtk old versions? grayFalcon Linux - Newbie 6 04-27-2005 04:23 PM
GTK+ for Gimp 2.0.6 vharishankar Linux - Software 4 12-07-2004 09:41 PM
how do I find my glibc and gtk+ versions? butthead Linux - Software 1 08-09-2004 12:29 PM
gtk-gnutella thinks i'm firewalled? snatale1 Linux - Software 0 07-19-2004 09:07 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration