about halfway through the compillation of gdk-pixbuf i get this: pixbuf-demo.c:25:21: gtk/gtk.h: No such file or directory /* THIS IS THE CAUSE I WOULD IMAGINE ^^^^^^^ */ In file included from pixbuf-demo.c:26: ../gdk-pixbuf/gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory In file included from ../gdk-pixbuf/gdk-pixbuf.h:35, from pixbuf-demo.c:26: ../gdk-pixbuf/gdk-pixbuf-features.h:9: parse error before "gdk_pixbuf_major_version" ../gdk-pixbuf/gdk-pixbuf-features.h:9: warning: data definition has no type or storage class In file included from pixbuf-demo.c:26: ../gdk-pixbuf/gdk-pixbuf.h:50: parse error before '*' token ../gdk-pixbuf/gdk-pixbuf.h:53: parse error before "gpointer" ../gdk-pixbuf/gdk-pixbuf.h:64: parse error before "gpointer" ../gdk-pixbuf/gdk-pixbuf.h:72: parse error before "gdk_pixbuf_get_has_alpha" ../gdk-pixbuf/gdk-pixbuf.h:72: warning: data definition has no type or storage class ../gdk-pixbuf/gdk-pixbuf.h:74: parse error before '*' token ../gdk-pixbuf/gdk-pixbuf.h:74: warning: data definition has no type or storage class ../gdk-pixbuf/gdk-pixbuf.h:82: parse error before "gboolean" ../gdk-pixbuf/gdk-pixbuf.h:93: parse error before '*' token ../gdk-pixbuf/gdk-pixbuf.h:105: parse error before "gboolean" ../gdk-pixbuf/gdk-pixbuf.h:125: parse error before "GdkBitmap" ../gdk-pixbuf/gdk-pixbuf.h:132: parse error before "GdkDrawable" ../gdk-pixbuf/gdk-pixbuf.h:139: parse error before "GdkDrawable" ../gdk-pixbuf/gdk-pixbuf.h:149: parse error before "GdkPixmap" ../gdk-pixbuf/gdk-pixbuf.h:154: parse error before "GdkDrawable" ../gdk-pixbuf/gdk-pixbuf.h:209: parse error before "guint32" ../gdk-pixbuf/gdk-pixbuf.h:223: parse error before "guint32" ../gdk-pixbuf/gdk-pixbuf.h:244: parse error before '*' token ../gdk-pixbuf/gdk-pixbuf.h:244: warning: data definition has no type or storage class ../gdk-pixbuf/gdk-pixbuf.h:257: parse error before "app" ../gdk-pixbuf/gdk-pixbuf.h:258: parse error before "app" pixbuf-demo.c:59: parse error before '*' token pixbuf-demo.c:59: warning: data definition has no type or storage class pixbuf-demo.c:65: parse error before "load_pixbufs" pixbuf-demo.c: In function `load_pixbufs': pixbuf-demo.c:71: `FALSE' undeclared (first use in this function) pixbuf-demo.c:71: (Each undeclared identifier is reported only once pixbuf-demo.c:71: for each function it appears in.) pixbuf-demo.c:82: `TRUE' undeclared (first use in this function) pixbuf-demo.c: At top level: pixbuf-demo.c:87: parse error before "expose_cb" pixbuf-demo.c:87: parse error before '*' token pixbuf-demo.c: In function `expose_cb': pixbuf-demo.c:89: `guchar' undeclared (first use in this function) pixbuf-demo.c:89: `pixels' undeclared (first use in this function) pixbuf-demo.c:94: `event' undeclared (first use in this function) pixbuf-demo.c:96: `widget' undeclared (first use in this function) pixbuf-demo.c:100: `GDK_RGB_DITHER_NORMAL' undeclared (first use in this function) pixbuf-demo.c:104: `TRUE' undeclared (first use in this function) pixbuf-demo.c: At top level: pixbuf-demo.c:113: parse error before "timeout" pixbuf-demo.c:113: parse error before "data" pixbuf-demo.c: In function `timeout': pixbuf-demo.c:135: `GdkRectangle' undeclared (first use in this function) pixbuf-demo.c:135: parse error before "r1" pixbuf-demo.c:152: `r1' undeclared (first use in this function) pixbuf-demo.c:157: `r2' undeclared (first use in this function) pixbuf-demo.c:162: `dest' undeclared (first use in this function) pixbuf-demo.c:178: `TRUE' undeclared (first use in this function) pixbuf-demo.c: At top level: pixbuf-demo.c:181: parse error before "timeout_id" pixbuf-demo.c:181: warning: data definition has no type or storage class pixbuf-demo.c:185: parse error before '*' token pixbuf-demo.c: In function `main': pixbuf-demo.c:196: `GtkWidget' undeclared (first use in this function) pixbuf-demo.c:196: `window' undeclared (first use in this function) pixbuf-demo.c:206: `FALSE' undeclared (first use in this function) pixbuf-demo.c:208: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function) pixbuf-demo.c:218: warning: assignment makes pointer from integer without a cast make[2]: *** [pixbuf-demo.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0/work/gdk-pixbuf-0.22.0/demo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0/work/gdk-pixbuf-0.22.0' make: *** [all-recursive-am] Error 2 !!! ERROR: media-libs/gdk-pixbuf-0.22.0 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" 2. emerge gdk-pixbuf 3. Actual Results: failure to find gtk/gtk.h during compile of gdk-pixbuf. Expected Results: compilled and installed properly.
so do you have gtk-1.2.10-* emerged and have /usr/include/gtk-1.2/gtk/gtk.h on your machine? if you do, can you attach the complete build log. you can generate it by doing: emerge gdk-pixbuf 2>&1 | tee /tmp/build.log and attaching build.log.
waiting for reply
Its been resolved, sorry to waste bugzilla space, i had -static set in CFLAGS for some reason..
is not good ;) is also a reason we ask for 'emerge info' to be included in bugreports.
reclosing