[MonoDevelop] GtkMozEmbed AfterHandlers & AfterSignals & other problems

Todd Berman tberman@sevenl.net
Sun, 21 Mar 2004 14:17:28 -0500


On Sun, 2004-03-21 at 21:14 +0200, Boris Maryshev wrote:
> Hi all!
> 
> Trying out .NET the right way (Free Software that is) whole sunday i started 
> building MonoDevelop. However problem arose in front of me:
> 
> make[1]: Entering directory `/src/MonoDevelop/gtkmozembed-sharp'
> mcs --unsafe --target library \
> -r glib-sharp -r gtk-sharp -r gdk-sharp \
> generated/*.cs ./NewWindow_delegate.cs ./NewWindow_handler.cs ./NewWindowOrphan_handler.cs 
> -o gtkmozembed-sharp.dll \
> && cp gtkmozembed-sharp.dll ../build/bin/.
> EmbedWidget.custom(4) error CS0103: The name `AfterHandlers' could not be 
> found in `GtkMozEmbed.EmbedWidget'
> EmbedWidget.custom(8) error CS0103: The name `AfterHandlers.AddHandler' could 
> not be found in `GtkMozEmbed.EmbedWidget'
> EmbedWidget.custom(11) error CS0103: The name `AfterHandlers.RemoveHandler' 
> could not be found in `GtkMozEmbed.EmbedWidget'
> EmbedWidget.custom(12) error CS0103: The name `AfterSignals' could not be 
> found in `GtkMozEmbed.EmbedWidget'
> EmbedWidget.custom(13) error CS0165: Use of unassigned local variable `cb'
> EmbedWidget.custom(18) error CS0103: The name `AfterHandlers' could not be 
> found in `GtkMozEmbed.EmbedWidget'
> Compilation failed: 6 error(s), 0 warnings
> make[1]: *** [gtkmozembed-sharp.dll] Error 1
> make[1]: Leaving directory `/src/MonoDevelop/gtkmozembed-sharp'
> make: *** [all-recursive] Error 1
> 
> God! Tried to find out 
> what the reason is but finally i give up. Bad for me. 
> Tried both r1189 and r1211 .
> 

This is because your gtk-sharp is too old.

our snapshots require gtk-sharp from cvs, not the latest release.

> One more thing, althogh somwhat unrelated to first problem IMO. ./configure 
> tell's me that: "gtksourceview-sharp 0.1: no", however i compiled this thing 
> from cvs without any problems and installed that as well.
> 
> Maybe that's the reason behind problem i have with release 0.1:
> 
> ./Gui/SourceEditorBuffer.cs(51) error CS0246: Cannot find type `SourceBuffer'
> ./Gui/SourceEditorView.cs(18) error CS0246: Cannot find type `SourceView'
> Compilation failed: 2 error(s), 0 warnings
> make[4]: *** [MonoDevelop.SourceEditor.dll] Error 1
> make[4]: Leaving directory 
> `/src/monodevelop-0.1/src/AddIns/DisplayBindings/SourceEditor'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/src/monodevelop-0.1/src/AddIns/DisplayBindings'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/src/monodevelop-0.1/src/AddIns'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/src/monodevelop-0.1/src'
> make: *** [all-recursive] Error 1
> 
> Sorry for upsetting your mail readers with loads of stupid errors.
> 

This is because gtksourceview-sharp is not installed.

Install the gtksourceview 0.1.0 tarball from:

http://www.go-mono.com/archive/gtksourceview-sharp-0.1.0.tar.gz

> Cheers,
> boris
> -- 
> If I have not seen so far it is because I stood in giant's footsteps.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list