Gnome Icon editor can't find gdk-pixbuf/gdk-pixbuf.h. Which is located in /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h on my system make[3]: Entering directory `/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src/widgets' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DG_LOG_DOMAIN=\"GNOME-IconEditor\" -g -Wall -Wmissing-prototypes -Wmissing-declarations -march=i686 -O3 -pipe -c ie-model.c In file included from ie-model.c:7: ie-model.h:10: gdk-pixbuf/gdk-pixbuf.h: No such file or directory In file included from ie-model.c:7: ie-model.h:41: parse error before `GdkPixbuf' ie-model.h:41: warning: no semicolon at end of struct or union ie-model.h:54: parse error before `GdkPixbuf' ie-model.h:59: parse error before `GdkPixbuf' ie-model.c: In function `ie_model_get_type': ie-model.c:55: sizeof applied to an incomplete type ie-model.c: In function `ie_model_init': ie-model.c:111: dereferencing pointer to incomplete type ie-model.c:113: dereferencing pointer to incomplete type ie-model.c:114: dereferencing pointer to incomplete type ie-model.c:115: dereferencing pointer to incomplete type ie-model.c:118: dereferencing pointer to incomplete type ie-model.c:120: dereferencing pointer to incomplete type ie-model.c: At top level: ie-model.c:126: parse error before `GdkPixbuf' ie-model.c:127: warning: no previous prototype for `ie_model_new' ie-model.c: In function `ie_model_new': ie-model.c:131: dereferencing pointer to incomplete type ie-model.c:131: `width' undeclared (first use in this function) ie-model.c:131: (Each undeclared identifier is reported only once ie-model.c:131: for each function it appears in.) ie-model.c:132: dereferencing pointer to incomplete type ie-model.c:132: `height' undeclared (first use in this function) ie-model.c:134: `pb' undeclared (first use in this function) ie-model.c:136: dereferencing pointer to incomplete type ie-model.c:136: warning: implicit declaration of function `gdk_pixbuf_new' ie-model.c:140: dereferencing pointer to incomplete type ie-model.c:140: dereferencing pointer to incomplete type ie-model.c:140: warning: passing arg 1 of `memset' makes pointer from integer without a cast ie-model.c:142: dereferencing pointer to incomplete type ie-model.c:144: dereferencing pointer to incomplete type ie-model.c:144: warning: implicit declaration of function `gdk_pixbuf_add_alpha' ie-model.c:145: dereferencing pointer to incomplete type ie-model.c:145: dereferencing pointer to incomplete type ie-model.c: In function `ie_model_ref': ie-model.c:171: dereferencing pointer to incomplete type ie-model.c: In function `ie_model_unref': ie-model.c:180: dereferencing pointer to incomplete type ie-model.c:182: dereferencing pointer to incomplete type ie-model.c: At top level: ie-model.c:188: parse error before `GdkPixbuf' ie-model.c:189: warning: no previous prototype for `ie_model_set_from_pixbuf' ie-model.c: In function `ie_model_set_from_pixbuf': ie-model.c:190: `GdkPixbuf' undeclared (first use in this function) ie-model.c:190: `newpb' undeclared (first use in this function) ie-model.c:190: warning: statement with no effect ie-model.c:191: parse error before `rowstride' ie-model.c:194: `model' undeclared (first use in this function) ie-model.c:196: `pixbuf' undeclared (first use in this function) ie-model.c:197: warning: implicit declaration of function `gdk_pixbuf_get_width' ie-model.c:198: warning: implicit declaration of function `gdk_pixbuf_get_height' ie-model.c:201: `pixels' undeclared (first use in this function) ie-model.c:202: `rowstride' undeclared (first use in this function) ie-model.c:205: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast ie-model.c:206: warning: implicit declaration of function `gdk_pixbuf_unref' ie-model.c: In function `ie_model_set_pixel': ie-model.c:224: dereferencing pointer to incomplete type ie-model.c:225: dereferencing pointer to incomplete type ie-model.c:227: dereferencing pointer to incomplete type ie-model.c:227: warning: assignment makes pointer from integer without a cast ie-model.c:228: dereferencing pointer to incomplete type ie-model.c: At top level: ie-model.c:242: warning: no previous prototype for `ie_model_get_pixel' ie-model.c: In function `ie_model_get_pixel': ie-model.c:244: dereferencing pointer to incomplete type ie-model.c:246: dereferencing pointer to incomplete type ie-model.c:246: warning: assignment makes pointer from integer without a cast make[3]: *** [ie-model.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src/widgets' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-iconedit-1.2.0-r4/work/gnome-iconedit-1.2.0' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 15, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild . bash-2.05a#
*** Bug 1934 has been marked as a duplicate of this bug. ***
Ok lads, just as a test -- was everyone able to successfully merge gnome-libs (1.4.1.5 I think is the newest one)?
gnome-base/gnome-libs-1.4.1.5 * is merged on my setup.
After I emerge gnome then it compiled fine.
Todd, do me a favour and add the "gnome" USE flag into /etc/make.conf then remerge gdk-pixbuf,. then feel free to remove the USE flag. Then try and emerge the icon editor.
>>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> media-libs/gdk-pixbuf-0.17.0 merged. with USE looking like this USE="gnome -kde -esd -kdelibs -arts -nls -perl -python -avi mmx 3dnow dga -gpm gtk -nas opengl sdl X" then try to emerge gnome-icon edit and the compile still fails.
Matt, this is a gnome thing -- your area :P
add: CFLAGS="${CFLAGS} -I/usr/include/gdk-pixbuf-1.0" in src_compile().
added azarah's suggestion