second mono compilation failed
Mateusz Łoskot <[email protected]> Fri, 28 Mar 2003 22:26:03 +0100
| Newsgroups | gmane.comp.gnome.mono.garbage-collection |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I'd like to start very interesting journey with the mono and
its company ;)
SO, I compiled every source package required, compiler and runtime, etc.
After that, I wrote some sample console HelloWorls.cs and compiled
it succesfuly, and run it well.
Next, I compiled and installed gtk-sharp.
Everything went well.
The only problem is I can not compile and run any gtk-sharp based
sample.
When I try to compile sample gtk-sharp HelloWorld.cs I got:
####
HelloWorld.cs(26) error CS0246: Cannot find type `DeleteEventArgs'
Compilation failed: 1 error(s), 0 warnings
####
I tried to find some solution on the news groups, but there
was no working solution.
When I try to run samples compilet during gtk-sharp compilation and
installation I got error message to:
gekon@gekon:/tmp/gtk-sharp-0.8/sample# mono gtk-hello-world.exe
Unhandled Exception: System.ExecutionEngineException: No GCHandle
support built-in
in (unmanaged) mono(mono_raise_exception+0x20) [0x80c12fe]
in (unmanaged) mono(ves_icall_System_GCHandle_GetTargetHandle+0x5f)
[0x80cd54d]
in <0x00026> 00 System.Runtime.InteropServices.GCHandle:Alloc
(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 <0x00036> 00 GtkSamples.HelloWorld:Main (string[])
I found on the Internet that there is garbage collector required.
So, I downloaded gc las version from go-mono.org , compilation
and installation went well.
I do everything described on www.go-mono.org (article for Beginners).
Next, I trie to compile mono again with gc support as described in
documentation.
Shortly after command make I got some strange error message:
[...cut....]
In file included from ../../mono/io-layer/handles-private.h:16,
from daemon.c:26:
../../mono/io-layer/wapi-private.h:25:2: #error configure failed to
discover size of unix socket path
make[3]: *** [daemon.lo] Error 1
make[3]: Leaving directory `/tmp/mono-0.23/mono/io-layer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mono-0.23/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mono-0.23'
make: *** [all-recursive-am] Error 2
I found only one information about that:
http://marc.theaimsgroup.com/?l=mono-list&m=104878104919519&w=2
But there is no useful suggestion for me.
I tried to find some information in config.log but I
could not figure out what is important in this file for the problem.
I downloaded every source yesterday, so I use latest versions.
I'm Slackware 9.0 user with kernel 2.4.20 and every
package comming with Slack 9.0 - nothing changed.
Please, could someone help me ?
I would like to manage to run gtk-sharp applications.
I'm going to create some software, and port from Windows, but it
is new problem for me and I'm not so experienced to solve it.
Best regards
--
Mateusz Ĺoskot
E-mail: [email protected] Mobile: +48 (0) 693456131
GNU/Linux (Slackware 9.0) http://counter.li.org: #220771
GnuGP Key http://dendro.sggw.waw.pl/~mloskot/pgp/
_______________________________________________
Mono-gc-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list