WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ufraw configure error-No package 'gtk+-2.0' found  (Read 3346 times)

Offline commuter

  • Newbie
  • *
  • Posts: 6
ufraw configure error-No package 'gtk+-2.0' found
« on: April 21, 2009, 11:56:30 AM »
Goal:
First let me say that my goal is to view Nikon Raw image files (*.nef).  I'm currently trying to compile UFRaw so it can be used as a gimp plugin.


UFRaw:
The configure seems to error because it can't find gtk2.0.

I've used the instructions provided in the wiki
http://wiki.tinycorelinux.com/tiki-index.php?page=Creating+Extensions

tc@box:~/ufraw-0.15$ export
export BACKUP='1'
export CFLAGS='-march=i486 -mtune=i686 -Os -pipe'
export COLORFGBG='15;0'
export COLORTERM='rxvt-xpm'
export CXXFLAGS='-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti'
export DISPLAY=':0.0'
export ENV='/home/tc/.ashrc'
export G_FILENAME_ENCODING='iso8859-1'
export HOME='/home/tc'
export LANG='C'
export LOGNAME='tc'
export OLDPWD='/home/tc'
export PAGER='less -EM'
export PATH='/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin'
export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'
export PS1='\u@\h:\w\$ '
export PWD='/home/tc/ufraw-0.15'
export SHELL='/bin/sh'
export TERM='rxvt'
export TZ='GMT-5'
export USER='tc'
export WINDOWID='10485762'
export XAUTHORITY='/home/tc/.Xauthority'


cd ufraw-0.15/
./configure --prefix=/usr/local
...
checking for gcc option to support OpenMP... -fopenmp
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.6) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

--------------------
Any help appreciated
Thanks,
commuter

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ufraw configure error-No package 'gtk+-2.0' found
« Reply #1 on: April 21, 2009, 12:24:19 PM »
Just to be sure, do you have gtk2-devs loaded?
The only barriers that can stop you are the ones you create yourself.

Offline commuter

  • Newbie
  • *
  • Posts: 6
Re: ufraw configure error-No package 'gtk+-2.0' found
« Reply #2 on: April 21, 2009, 12:30:22 PM »
Nope, I didn't.

I've installed it and now I'm getting new error:
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.6) were not met:
Package 'cairo' requires 'pixman-1 >= 0.12.0' but version of Pixman is 0.11.8


I assume I need to look at updating Pixman.

commuter

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ufraw configure error-No package 'gtk+-2.0' found
« Reply #3 on: April 21, 2009, 02:27:47 PM »
Pixman does not need to be updated, it is at version 0.14.0 in the pixman extension itself.

A temporary workaround would be to "rm /usr/local/tce.installed/pixman*" and reinstall pixman and pixman-devs as tce extensions.
« Last Edit: April 21, 2009, 02:35:08 PM by Jason W »