Re: second mono compilation failed

Dick Porter <[email protected]> 28 Mar 2003 22:47:43 +0000
Newsgroups gmane.comp.gnome.mono.garbage-collection
Message-ID <[email protected]>
On Fri, 2003-03-28 at 21:26, Mateusz Łoskot wrote:
> 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.

mono-gc-list is for the discussion of the implementation of the garbage
collector in the mono runtime.  Problems building mono should be
addressed to [email protected].

(I've followed up to the gc list so this goes in the archive.)



Now, to actually answer your questions...

> 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

gtk# relies on GC support in the runtime.


> 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

There was a problem with your build - configure failed to discover the
size of the unix socket path field.  I don't know how to make this
clearer.

> 
> 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.

Search for "sun_path" in config.log, and see if there are errors logged
in the next few lines of output.

> 
> 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.

If you can't build it successfully, then I can only suggest precompiled
versions (you can unpack the rpms with rpm2cpio to get the contents.)

There's a script available from http://www.go-mono.com/download.html
which should automate the mono build, but it won't solve the configure
problem.

- Dick


_______________________________________________
Mono-gc-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list