LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 04-13-2006, 11:46 AM   #1
bee2643
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Rep: Reputation: 15
cant compile gtk apps


I'm having problems installing certain packages using gentoo.
gnome, vmware-player, and gimp to name a few do not compile. GTK+ complains one way or another, and i think it believes version .16 is installed, when in fact it is not.
Below is a snippet of where the gimp compile failed:

checking for GTK+ - version >= 2.4.4...
*** 'pkg-config --modversion gtk+-2.0' returned 2.8.12, but GTK+ (2.8.16)
*** 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.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gimp-2.2.8-r1/work/gimp-2.2.8/config.log

!!! ERROR: media-gfx/gimp-2.2.8-r1 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
gimp-2.2.8-r1.ebuild, line 114: Called econf '--disable-default-binary' '--with-x' '--disable-mmx' '--disable-sse' '--disable-altivec' '--enable-gtk-doc' '--enable-python' '--disable-print' '--with-libpng' '--with-libjpeg' '--with-libexif' '--disable-mp' '--with-libtiff' '--without-libmng' '--without-aa' '--disable-lcms' '--disable-gtkhtml' '--enable-svg' '--disable-debug'
ebuild.sh, line 527: Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



**edit:
i have tried reinstalling gtk+, and that didnt work.

Last edited by bee2643; 04-13-2006 at 11:57 AM.
 
Old 04-13-2006, 12:24 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,599

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
If you installed gtk from source, without specifying a --prefix=/usr, then your new gtk is installed under /usr/local. In that case, before running ./configure for gaim or any other gtk app, you should run:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
Regards
 
Old 04-13-2006, 12:52 PM   #3
bee2643
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
thanks!
i dont know why i have to worry about such things though, as I'm only using emerge to install all my packages.
Any ideas on why this corruption is occuring? could it be a bug with emerge?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
consistent look through gtk apps garba Linux - Software 3 05-29-2005 04:55 PM
GTK apps..colors. RoaCh Of DisCor Mandriva 2 01-30-2005 10:27 PM
Program GTK apps objorkum Programming 5 11-20-2004 10:30 PM
gtk apps kvd General 2 07-27-2003 07:05 PM
gtk apps kvd Linux - Software 5 07-27-2003 06:26 PM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration