[Mono-list] problem on FreeBSD
Lloyd Dupont
lloyd@galador.net
Sun, 16 Feb 2003 12:27:14 +1100
I just start to try for the 1st time mono, on my FreeBSD (4.7) station, a=
nd I=20
run into the following problems.
I downloaded, uncompress and install the mono (0.19) runtime with the=20
following commands:
$ ./configure
$ gmake
$ gmake install
everything run fine and and afterward an HelloMono.cs test run without an=
y=20
trouble.
So I decide to give a go to GTK# (0.7)
$ gmake
$ gmake install
everything run fine but for 'gconf/GConf' package (I drop it, no worry).
then the mono problem begin.
I 'cd samples' and try=20
$ mono button.cs
and get the following (and surprising) error:
bash-2.05b$ mono button.exe
Unhandled Exception: System.ExecutionEngineException: No GCHandle support=
=20
built-in
in (unmanaged) 06 System.Runtime.InteropServices.GCHandle:GetTargetHandle=
=20
(object,int,System.Runtime.InteropServices.GCHandleType)
in <0x00004> 06 System.Runtime.InteropServices.GCHandle:GetTargetHandle=20
(object,int,System.Runtime.InteropServices.GCHandleType)
in <0x00025> 00 System.Runtime.InteropServices.GCHandle:Alloc=20
(object,System.Runtime.InteropServices.GCHandleType)
in <0x0005b> 00 System.WeakReference:AllocateHandle (object)
in <0x0002a> 00 System.WeakReference:.ctor (object,bool)
in <0x00019> 00 System.WeakReference:.ctor (object)
in <0x0005d> 00 GLib.Object:set_Raw (intptr)
in <0x00016> 00 Gtk.Object:set_Raw (intptr)
in <0x00062> 00 Gtk.Window:.ctor (Gtk.WindowType)
in <0x00047> 00 Gtk.Window:.ctor (string)
in <0x00040> 00 GtkSamples.ButtonApp:Main (string[])
I'm surprised I had though GCHandle would be supported .....