I have built gecko-sharp-0.7 under mono-1.1.6 without any errors. Today I upgraded to mono-1.1.7 and recompiled/upgraded all mono-components (every ebuild available ;) !), but gecko-sharp-0.7 refuses to compile... I also tried compiling gecko-sharp-0.7 removing the previous build of gecko-sharp-0.7 (which was built under mono-1.1.6) - note: gecko-sharp-0.6 is still present, but I think this is ok?! config.status: creating Makefile config.status: creating gtkmozembed/Makefile config.status: creating gtkmozembed/AssemblyInfo.cs config.status: creating sample/Makefile config.status: creating sources/Makefile config.status: creating gecko-sharp-2.0.pc Making all in sources make[1]: Entering directory `/var/tmp/portage/gecko-sharp-0.7/work/gecko-sharp-2.0-0.7/sources' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/gecko-sharp-0.7/work/gecko-sharp-2.0-0.7/sources' Making all in gtkmozembed make[1]: Entering directory `/var/tmp/portage/gecko-sharp-0.7/work/gecko-sharp-2.0-0.7/gtkmozembed' gapi2-codegen --generate ./gtkgecko-api.xml -I:/usr/share/gapi-2.0/pango-api.xml -I:/usr/share/gapi-2.0/atk-api.xml -I:/usr/share/gapi-2.0/gdk-api.xml -I:/usr/share/gapi-2.0/gtk-api.xml --outdir=generated --customdir=. --assembly-name=gecko-sharp && touch generated-stamp Generation Summary: Enums: 4 Structs: 0 Boxed: 0 Opaques: 0 Interfaces: 0 Objects: 2 Callbacks: 0 Properties: 0 Signals: 25 Methods: 22 Constructors: 0 Throttled: 0 Total Nodes: 53 cp ../gecko-sharp.snk . mcs --unsafe --target library -r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll \ ./NewWindowOrphan_handler.cs ./NewWindow_delegate.cs ./NewWindow_handler.cs ./AssemblyInfo.cs generated/*.cs -o gecko-sharp.dll warning CS8029: Compatibility: Use -unsafe instead of --unsafe warning CS8029: Compatibility: Use -target:KIND instead of --target KIND warning CS8029: Compatibility: Use -out:FILE instead of --output FILE or -o FILE ./NewWindow_delegate.cs(12) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' ./NewWindow_delegate.cs(45) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' ./NewWindow_delegate.cs(68) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(75) error CS1502: The best overloaded match for method 'void Gecko.WebControl.gtk_moz_embed_set_profile_path ( System.IntPtr, System.IntPtr)' has some invalid arguments WebControl.custom(75) error CS1503: Argument 0: Cannot convert from 'string' to ' System.IntPtr' WebControl.custom(75) error CS1501: No overload for method `gtk_moz_embed_set_profile_path' takes `2' arguments WebControl.custom(81) error CS1502: The best overloaded match for method 'void Gecko.WebControl.gtk_moz_embed_set_profile_path ( System.IntPtr, System.IntPtr)' has some invalid arguments WebControl.custom(81) error CS1503: Argument 0: Cannot convert from 'string' to ' System.IntPtr' WebControl.custom(81) error CS1501: No overload for method `gtk_moz_embed_set_profile_path' takes `2' arguments WebControl.custom(39) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(45) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(36) warning CS0618: 'GLib.Object.BeforeHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(37) warning CS0618: 'GLib.Object.BeforeSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(39) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(39) warning CS0618: 'GLib.Object.BeforeSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(40) warning CS0618: 'GLib.Object.BeforeHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(42) warning CS0618: 'GLib.Object.AfterHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(43) warning CS0618: 'GLib.Object.AfterSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(45) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(45) warning CS0618: 'GLib.Object.AfterSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(46) warning CS0618: 'GLib.Object.AfterHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(56) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(56) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(50) warning CS0618: 'GLib.Object.AfterHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(51) warning CS0618: 'GLib.Object.AfterSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(53) warning CS0618: 'GLib.Object.BeforeHandlers' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(54) warning CS0618: 'GLib.Object.BeforeSignals' is obsolete: 'Replaced by GLib.Signal marshaling mechanism.' WebControl.custom(61) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' WebControl.custom(65) warning CS0618: 'GLib.SignalCallback' is obsolete: 'Replaced by GLib.Signal.' generated/WebControl.cs(52) warning CS0169: The private method 'Gecko.WebControl.OverrideStatusChange( GLib.GType)' is never used generated/WebControl.cs(120) warning CS0169: The private method 'Gecko.WebControl.OverrideNetStateAll( GLib.GType)' is never used generated/WebControl.cs(169) warning CS0169: The private method 'Gecko.WebControl.OverrideECMAStatus( GLib.GType)' is never used generated/WebControl.cs(232) warning CS0169: The private method 'Gecko.WebControl.OverrideOpenUri( GLib.GType)' is never used generated/WebControl.cs(298) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseDblClick( GLib.GType)' is never used generated/WebControl.cs(362) warning CS0169: The private method 'Gecko.WebControl.OverrideSizeTo( GLib.GType)' is never used generated/WebControl.cs(409) warning CS0169: The private method 'Gecko.WebControl.OverrideLinkMsg( GLib.GType)' is never used generated/WebControl.cs(472) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseOut( GLib.GType)' is never used generated/WebControl.cs(538) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseOver( GLib.GType)' is never used generated/WebControl.cs(584) warning CS0169: The private method 'Gecko.WebControl.OverrideNetStop( GLib.GType)' is never used generated/WebControl.cs(647) warning CS0169: The private method 'Gecko.WebControl.OverrideDomKeyPress( GLib.GType)' is never used generated/WebControl.cs(713) warning CS0169: The private method 'Gecko.WebControl.OverrideDomKeyUp( GLib.GType)' is never used generated/WebControl.cs(777) warning CS0169: The private method 'Gecko.WebControl.OverrideSecurityChange( GLib.GType)' is never used generated/WebControl.cs(842) warning CS0169: The private method 'Gecko.WebControl.OverrideNetState( GLib.GType)' is never used generated/WebControl.cs(889) warning CS0169: The private method 'Gecko.WebControl.OverrideNetStart( GLib.GType)' is never used generated/WebControl.cs(949) warning CS0169: The private method 'Gecko.WebControl.OverrideVisibility( GLib.GType)' is never used generated/WebControl.cs(994) warning CS0169: The private method 'Gecko.WebControl.OverrideDestroyBrowser( GLib.GType)' is never used generated/WebControl.cs(1057) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseClick( GLib.GType)' is never used generated/WebControl.cs(1103) warning CS0169: The private method 'Gecko.WebControl.OverrideTitleChange( GLib.GType)' is never used generated/WebControl.cs(1166) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseUp( GLib.GType)' is never used generated/WebControl.cs(1231) warning CS0169: The private method 'Gecko.WebControl.OverrideProgressAll( GLib.GType)' is never used generated/WebControl.cs(1300) warning CS0169: The private method 'Gecko.WebControl.OverrideDomMouseDown( GLib.GType)' is never used generated/WebControl.cs(1366) warning CS0169: The private method 'Gecko.WebControl.OverrideDomKeyDown( GLib.GType)' is never used generated/WebControl.cs(1430) warning CS0169: The private method 'Gecko.WebControl.OverrideProgress( GLib.GType)' is never used generated/WebControl.cs(1477) warning CS0169: The private method 'Gecko.WebControl.OverrideLocChange( GLib.GType)' is never used Compilation failed: 6 error(s), 51 warnings make[1]: *** [gecko-sharp.dll] Error 1 make[1]: Leaving directory `/var/tmp/portage/gecko-sharp-0.7/work/gecko-sharp-2.0-0.7/gtkmozembed' make: *** [all-recursive] Error 1 !!! ERROR: dev-dotnet/gecko-sharp-0.7 failed. !!! Function src_compile, Line 24, Exitcode 2 !!! Make failed. You may need to unmerge gecko-sharp and re-emerge it if you are upgrading from an earlier version. !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.11 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="~x86 x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/MozillaFirefox/defaults/pref /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdread dxr3 eds emboss encode escreen esd etwin fam flac foomaticdb fortran freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jpeg kde ldap libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang speex spell sqlite sse ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vidix vorbis win32codecs xine xml2 xmms xv xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
I'm also having the same errors, but with mono-1.1.6, at first I had mono-1.1.7, and thinking that the compile problem is due to 1.1.7, I downgraded mono to 1.1.6. But the problem persists. Also, unmerging previous version of gecko-sharp (0.6) does not solve it either.
The problem is that gecko-sharp 0.7 does not work correctly with the 1.9.3 gtk-sharp libraries You can either get the fix from svn or wait for the 0.8 release to come out. I chose the first option and now I'm running monodevelop 0.6 flawlessly. How to do it: emerge everything but monodevelop and gecko-sharp make sure you have subversion installed svn co svn://svn.myrealbox.com/source/trunk/gtkmozembed-sharp cd gtkmozembed-sharp ./autogen.sh ./configure --prefix=/usr make make install emerge --nodeps monodevelop Voila.
Or the easier thing is to emerge sync in a little while, and use the gecko-sharp-0.7-r1 which I've just commited with a fix for this. Please test and confirm that this fixes things, and mark FIXED if it does. Thanks.
gecko-sharp-0.7-r1 builds like a charm against 1.9.3 gtk-sharp libraries and give no errors at all... - thank you, Peter!