When trying to emerge gnucash or gimp-2.0.0 , my E-Build strands on the follow error message. (process:11436): GdkPixbuf-WARNING **: Can not open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory failed to load "./stock-question-64.png": Couldn't recognize the image file format for file './stock-question-64.png' From what I can tell there is a problem with loading png files, so I think I need to install a libary or something, but shouldn't dependency checking do this?
Created attachment 30711 [details] I did an emerge >> ebuild.log This is the result of ACCEPT_KEYWORDS="~x86" emerge gimp >> ebuild.log I get the same type of errors when doing emerge gnucash It might have something to do with the fact that I didn't need gtk/gnome support until I was well up and running. This came up on stderr configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. Package librsvg-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found configure: WARNING: *** SVG import plug-in will not be built (librsvg not found) *** (process:26479): GdkPixbuf-WARNING **: Can not open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory failed to load "./stock-question-64.png": Couldn't recognize the image file format for file './stock-question-64.png' make[5]: *** [gimp-core-pixbufs.h] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: media-gfx/gimp-2.0.0 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! (no error message)
if you have gtk+-2 you should have the needed file, plain & simple. What does 'ls /etc/gtk-2.0' give ?
ls: /etc/gtk-2.0: No such file or directory This prob. means I need to install gtk-2.0 A. What do I need to do to get that installed? ( I Tried emerge search gtk and emerge search "gtk.*2" but couldn't realy find anything that looked like the gtk-2.0 libaries ) B. Shouldn't GnuCash and Gimp2 check these dependecies, or should I have read the docs more carefull?
yes you need to install gtk+ (emerge gtk+ -vp) and yes both gnumeric & gimp deps are fine, so I don't see how they aren't already installed for you ?
I updated my gtk+ package, I had 2.2.4-r1 installed, now I have 2.4.0-r1 and it works fine. I just ran Gimp2 and I'm busy emerging gnucash. So I'm very happy, a lot of thanks for the help. I'm not very familiar with how ebuilds are made, but do gnucash and gimp2 check for the gtk+ version? Since that I only needed to emerge the latest gtk+, I'm under the impression that if Gnucash or Gimp2 packages would have said, atleast GTK+ 2.4.0-r1, I wouldn't have had these problems.
no.. deps are fine. I can't explain what happens here with default/normal portage behaviour. Closing invalid (not a bug).