I've the following CFLAGS='-march=pentium3 -O3 -pipe -fomit-frame-pointers' First error is gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory In file included from gdk-pixbuf.h:35, from gdk-pixbuf.c:30, ../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 I've tried to emerge it using CFLAGS="-I/usr/include/gtk-2.0" so gdk/gdk.h was find it. Also I tried modifying Makefile. No results.
*** Bug 10729 has been marked as a duplicate of this bug. ***
Ok, I realized that gdk-pixbuf depends on gtk-1.2, not gtk-2.0. Why emerge didn't try to install gtk-1.2 first? Now I'm compiling gtk-1.2, to try again.
Problem persists.
gdk-pixbuf depends on gtk-2.1 so that really shouldve been done ? Can you give me the output of 'emerge info' and 'gtk-config --cflags --libs --version' .
You mean GTK-1.2, isn't it? $ emerge info Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r9 i686 Pentium III (Katmai) USE="oss imlib libg++ mikmod gdbm berkdb tcpd libwww gtk -3dfx -3dnow aalib alsa apm arts avi cdr crypt cups directfb doc dvd encode esd fbcon gif gnome gphoto2 gpm gtk2 gtkhtml java jpeg kde libgda maildir mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png postgres python qt qtmt quicktime readline ruby scanner sdl slang slp spell sse ssl svga tcltk tetex tiff truetype X xface xml xml2 xmms xv zlib x86" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" $ gtk-config --cflags --libs --version 1.2.10 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
Yeah i meant 1.2 , can you attach the full output ?
I had the same problem.... I emerged gnome-libs (didn't have it before) now gdk-pixbuff compiles no problem (the ebuild did not depend on gnome-libs like the older versions did... so thats why I started there ;) I hope this helps..
HMm the gdk-pixbug-0.21 ebuild i have definatly depends on gnome-libs, but still give it a try reporter.
Uhhh, i made a very silly mistake here, basicly some of the deps didn't get checked. Please rsync and re-emerge gdk-pixbuf if it failed before.
I've compiled some packages since that (included gnome-libs), and gdk-pixpuf was compiled then succesfully :-) . I'm trying now again to test the new ebuild.
It worked, and emerge -p -e media-libs/gdk-pixbuf returns gnome-libs-1.4.2 (between other packages), if that was previously the problem.
Ok thanks all for your help :) closing.