help installing ufraw gimp plugin [Solved]

Anything that pertains to Portage

Moderator: Moderators

help installing ufraw gimp plugin [Solved]

Postby Raghav_K » Sun Jan 09, 2011 16:50

i installed ufraw using entropy, but the gimp plugin was not installed (i was unable to open raw images through gimp!)

so i removed ufraw from entropy and tried to emerge it with use flag set as 'gimp'..

but i got the following error(s)on install:

Code: Select all
s
configure: ====================== summary =====================
configure: build GTK GUI: yes
configure: build GIMP plug-in: yes
configure: build CinePaint plug-in: no
configure: EXIF support using exiv2: yes
configure: JPEG support: yes
configure: TIFF support: yes
configure: PNG support: yes
configure: FITS support: no
configure: gzip compressed raw support: yes
configure: bzip2 compressed raw support: yes
configure: Lens defects correction via lensfun: yes
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/ufraw-0.17/work/ufraw-0.17 ...
make -j6 -s
config.status: creating config.h
config.status: config.h is unchanged
Making all in po
Making all in icons
  CXX    dcraw.o
  CC     ufraw_ufraw.o
  CC     ufraw_routines.o
  CC     ufraw_developer.o
  CC     ufraw_conf.o
  CC     ufraw_writer.o
ufraw_writer.c: In function ‘PNGwriteRawProfile’:
ufraw_writer.c:815: warning: format ‘%8lu’ expects type ‘long unsigned int’, but argument 4 has type ‘png_uint_32’
  CC     ufraw_embedded.o
  CC     ufraw_message.o
  CXX    ufobject.o
  CXX    ufraw_settings.o
  CXX    ufraw_lensfun.o
  CC     wb_presets.o
  CXX    dcraw_api.o
  CC     dcraw_indi.o
  CC     nikon_curve.o
  CXX    uf_gtk.o
In file included from uf_gtk.cc:13:
uf_gtk.h:16:21: error: gtk/gtk.h: No such file or directory
uf_gtk.cc:31:23: error: missing binary operator before token "("
uf_gtk.cc:48:22: error: missing binary operator before token "("
uf_gtk.cc:57:22: error: missing binary operator before token "("
uf_gtk.cc:73:22: error: missing binary operator before token "("
uf_gtk.cc:92:22: error: missing binary operator before token "("
uf_gtk.cc:103:22: error: missing binary operator before token "("
  CXX    ufraw_exiv2.o
In file included from uf_gtk.cc:13:
uf_gtk.h:26: error: variable or field ‘uf_widget_set_tooltip’ declared void
uf_gtk.h:26: error: ‘GtkWidget’ was not declared in this scope
uf_gtk.h:26: error: ‘widget’ was not declared in this scope
uf_gtk.h:26: error: expected primary-expression before ‘const’
uf_gtk.h:28: error: variable or field ‘uf_button_set_stock_image’ declared void
uf_gtk.h:28: error: ‘GtkButton’ was not declared in this scope
uf_gtk.h:28: error: ‘button’ was not declared in this scope
uf_gtk.h:28: error: expected primary-expression before ‘const’
uf_gtk.h:30: error: variable or field ‘uf_label_set_width_chars’ declared void
uf_gtk.h:30: error: ‘GtkLabel’ was not declared in this scope
uf_gtk.h:30: error: ‘label’ was not declared in this scope
uf_gtk.h:30: error: ‘gint’ was not declared in this scope
uf_gtk.h:33: error: variable or field ‘uf_window_set_icon_name’ declared void
uf_gtk.h:33: error: ‘GtkWindow’ was not declared in this scope
uf_gtk.h:33: error: ‘window’ was not declared in this scope
uf_gtk.h:33: error: expected primary-expression before ‘const’
uf_gtk.h:36: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:40: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:43: error: variable or field ‘uf_combo_box_append_text’ declared void
uf_gtk.h:43: error: ‘GtkComboBox’ was not declared in this scope
uf_gtk.h:43: error: ‘combo’ was not declared in this scope
uf_gtk.h:43: error: expected primary-expression before ‘const’
uf_gtk.h:43: error: expected primary-expression before ‘void’
uf_gtk.h:46: error: variable or field ‘uf_combo_box_set_active’ declared void
uf_gtk.h:46: error: ‘GtkComboBox’ was not declared in this scope
uf_gtk.h:46: error: ‘combo’ was not declared in this scope
uf_gtk.h:46: error: expected primary-expression before ‘int’
uf_gtk.h:49: error: variable or field ‘uf_combo_box_remove_text’ declared void
uf_gtk.h:49: error: ‘GtkComboBox’ was not declared in this scope
uf_gtk.h:49: error: ‘combo’ was not declared in this scope
uf_gtk.h:49: error: expected primary-expression before ‘int’
uf_gtk.h:52: error: variable or field ‘uf_combo_box_set_data’ declared void
uf_gtk.h:52: error: ‘GtkComboBox’ was not declared in this scope
uf_gtk.h:52: error: ‘combo’ was not declared in this scope
uf_gtk.h:52: error: expected primary-expression before ‘int’
uf_gtk.h:55: error: variable or field ‘uf_get_display_profile’ declared void
uf_gtk.h:55: error: ‘GtkWidget’ was not declared in this scope
uf_gtk.h:55: error: ‘widget’ was not declared in this scope
uf_gtk.h:56: error: ‘guint8’ was not declared in this scope
uf_gtk.h:56: error: ‘buffer’ was not declared in this scope
uf_gtk.h:56: error: ‘gint’ was not declared in this scope
uf_gtk.h:56: error: ‘buffer_size’ was not declared in this scope
uf_gtk.h:63: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:64: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:65: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:66: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:67: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:68: error: variable or field ‘ufobject_reset_button_add’ declared void
uf_gtk.h:68: error: ‘GtkWidget’ was not declared in this scope
uf_gtk.h:68: error: ‘button’ was not declared in this scope
uf_gtk.h:68: error: expected primary-expression before ‘*’ token
uf_gtk.h:68: error: ‘object’ was not declared in this scope
uf_gtk.h:69: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:70: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.h:71: error: expected constructor, destructor, or type conversion before ‘*’ token
uf_gtk.cc:46: error: variable or field ‘uf_widget_set_tooltip’ declared void
uf_gtk.cc:46: error: ‘GtkWidget’ was not declared in this scope
uf_gtk.cc:46: error: ‘widget’ was not declared in this scope
uf_gtk.cc:46: error: expected primary-expression before ‘const’
uf_gtk.cc:670: error: expected ‘}’ at end of input
make[2]: *** [uf_gtk.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/ufraw-0.17 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3150:  Called _eapi2_src_compile
 *     ebuild.sh, line  657:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-gfx/ufraw-0.17',
 * the complete build log and the output of 'emerge -pqv =media-gfx/ufraw-0.17'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/ufraw-0.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/ufraw-0.17/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/ufraw-0.17/work/ufraw-0.17'

>>> Failed to emerge media-gfx/ufraw-0.17, Log file:

>>>  '/var/tmp/portage/media-gfx/ufraw-0.17/temp/build.log'

 * Messages for package media-gfx/ufraw-0.17:

 * ERROR: media-gfx/ufraw-0.17 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3150:  Called _eapi2_src_compile
 *     ebuild.sh, line  657:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-gfx/ufraw-0.17',
 * the complete build log and the output of 'emerge -pqv =media-gfx/ufraw-0.17'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/ufraw-0.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/ufraw-0.17/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/ufraw-0.17/work/ufraw-0.17'


any help would be greatly appreciated
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!
User avatar
Raghav_K
Simple Hen
 
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India

Re: help installing ufraw gimp plugin

Postby wolfden » Mon Jan 10, 2011 3:13

you should file a bug on our bugzilla if it's not working properly
http://bugs.sabayon.org/
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: help installing ufraw gimp plugin

Postby Sisko43 » Mon Jan 10, 2011 18:56

Hi,

for ufraw to compile correctly you will also need to emerge gimp from portage.

First, be sure to install all relevant libs with equo.
You will need in any case: poppler, poppler-data, dri2proto and glproto
so we execute:

Code: Select all
equo install poppler poppler-data dri2proto glproto


Uninstall your current entropy-version of gimp.

Now access portato for example and pull in the latest gimp-version. If compilation fails look in the error-report what dependencies/libs are missing and install that ONLY with equo/sulfur NOT portage.

If compilation fails because of python(at the moment primarily in 64bit-systems) simply disable this USE-Flag and run another round.

When gimp compiles successfully pull in ufraw with your mentioned gimp-USE-Flag. Also I recommend to install dcraw with gimp-USE-flag.
Sisko43
Growing Hen
 
Posts: 195
Joined: Sun Mar 29, 2009 12:59

Re: help installing ufraw gimp plugin [Solved]

Postby Raghav_K » Fri Apr 22, 2011 5:59

sorry i totally forgot about this... your solution worked cisco.. thanks

what i did was:
Code: Select all
equo install gimp poppler poppler-data dri2proto glproto

USE="gimp" emerge ufraw

equo  rescue spmsync
aaaaaaaaaahhhhhhhh open source goodnessssss!!!!!!!!!!
User avatar
Raghav_K
Simple Hen
 
Posts: 68
Joined: Wed Mar 05, 2008 12:00
Location: Chennai, India


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest