In file included from ProgressListener2.cpp:26: ../../src/misc_gui.h:28: gdk-pixbuf/gdk-pixbuf.h: No such file or directory In file included from ProgressListener2.cpp:26: ../../src/misc_gui.h:52: `GdkPixbuf' was not declared in this scope ../../src/misc_gui.h:52: `pixbuf' was not declared in this scope ../../src/misc_gui.h:52: parse error before `)' ProgressListener2.cpp:354: prototype for `nsresult GProgressListener2::Init(nsIURI *, nsILocalFile *, const PRUnichar *, const PRUnichar *, long long int, nsIWebBrowserPersist *)' does not match any in class `GProgressListener2' ProgressListener2.h:63: candidate is: nsresult GProgressListener2::Init(nsIURI *, nsILocalFile *, const PRUnichar *, nsIMIMEInfo *, long long int, nsIWebBrowserPersist *) ProgressListener2.cpp:419: no `nsresult GProgressListener2::GetOpeningWith(PRUnichar **)' member function declared in class `GProgressListener2' make[3]: *** [ProgressListener2.o] Error 1 make[3]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message)
you are probably trying to build against moz 1.1 or so. that means you have to change the galeon ebuild. galeon as-is is made for moz 1.0.1
I'm not sure that above info is correct. I'm trying to build galeon-1.2.6 against mozilla-1.1-r1 and get the same error (so yes, that part is true) but the galeon ebuild says: # This version of galeon supports multiple versions. We are allowing only # mozilla 1.1-r1 and 1.2a at this time. Is this info not correct? BTW, doesn't compiling galeon-1.2.6 against net-www/mozilla-1.0-r3 cause an error during launch of galeon (something like galeon-1.2.6 is supposed to be compiled against mozilla-1.1 or greater and may be buggy in this config)...
Doh! I searched the forums and someone pointed out that if you replace the version number in this line of the galeon-1.2.6 ebuild: local myconf="--with-mozilla-snapshot=1.0" so it reads 1.1 (or 2.0) then galeon compiles fine... Worked for me. Hope this helps... Then again, maybe this is what Spider meant in the first place...
I changed the "LOCAL" line, but it still not emerge : i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/appcomps -I/usr/lib/mozilla/include/caps -I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/cookie -I/usr/lib/mozilla/include/docshell -I/usr/lib/mozilla/include/dom -I/usr/lib/mozilla/include/exthandler -I/usr/lib/mozilla/include/find -I/usr/lib/mozilla/include/gfx -I/usr/lib/mozilla/include/gtkembedmoz -I/usr/lib/mozilla/include/helperAppDlg -I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include/js -I/usr/lib/mozilla/include/jsconsole -I/usr/lib/mozilla/include/layout -I/usr/lib/mozilla/include/mimetype -I/usr/lib/mozilla/include/mozxfer -I/usr/lib/mozilla/include/necko -I/usr/lib/mozilla/include/necko2 -I/usr/lib/mozilla/include/nkcache -I/usr/lib/mozilla/include/oji -I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/progressDlg -I/usr/lib/mozilla/include/sidebar -I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/shistory -I/usr/lib/mozilla/include/uconv -I/usr/lib/mozilla/include/uriloader -I/usr/lib/mozilla/include/wallet -I/usr/lib/mozilla/include/webbrowserpersist -I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/webshell -I/usr/lib/mozilla/include/widget -I/usr/lib/mozilla/include/windowwatcher -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/xpconnect -I/usr/include/gconf/1 -I/usr/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 -I/var/tmp/portage/gdk-pixbuf-0.18.0-r1/image//usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include -I/usr/include/gnome-xml -I/usr/include -I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -DLIB_DIR=\"/usr/lib/galeon\" -DSHARE_DIR=\"/usr/share/galeon\" -fno-rtti -march=i586 -O3 -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c ProgressListener2.cpp In file included from ProgressListener2.cpp:26: ../../src/misc_gui.h:28: gdk-pixbuf/gdk-pixbuf.h: No such file or directory In file included from ProgressListener2.cpp:26: ../../src/misc_gui.h:52: `GdkPixbuf' was not declared in this scope ../../src/misc_gui.h:52: `pixbuf' was not declared in this scope ../../src/misc_gui.h:52: parse error before `)' make[3]: *** [ProgressListener2.o] Error 1 make[3]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message)
Sorry, this is for version 1.4_rc1.
Thats a different story. seems your gdk-pixbuf build is corrupt. emerge gdk-pixbuf and see if that changes it.
I "resolve" this problem by making a ln -s gdk-pixbuf-1.0/gdk-pixbuf gdk-pixbuf I don't know if this is the best way, but that let the package emerge
can you give the output of : gdk-pixbuf-config --cflags --libs
please try the new and masked gdk-pixbuf 0.20.0 to see if this problem goes away
As I needed a quick solution, I just created a symbolic link inside /lib directory (I don't remember wich one and I can't find it anymore). That solves the problem. I haven't try your new version, sorry.
Closing this one, the reporter seems not willing to test it any further.