[Mono-devel-list] DragonFly BSD and MONO

Todd Willey xtoddx at gmail.com
Fri Sep 3 18:30:41 EDT 2004

I've tried to get mono-1.0.1 to compile on DragonFly BSD.  Is there
anyone else working on this?  It should be as simple as compiling on

The first problem I came to was that config.sub and config.guess were
not properly reporting the OS name.  Newer versions can be found at
ftp://ftp.gnu.org/pub/gnu/config/ that properly report dragonfly as
the host.  They will need to be put in the root of the build tree as
well as in the libgc directory.

Running make will fail in mono/interpreter due to a missing -pthread
argument to gcc.  I fixed this by putting -pthread as mint_LDFLAGS in
that Makefile.  This gets the build to complete, but a make install
still fails.  Here is the relevant output of make install:

/usr/bin/install -c -m 644 mscorlib.dll /usr/local/lib/mscorlib.dll
MONO_PATH=. ../../mono/mini/mono --config ../../data/config
./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir
/usr/local/lib /root /usr/local/lib

** (./../gacutil.exe:49755): CRITICAL **: bind failed: No such file or directory
** (./../gacutil.exe:49674): WARNING **: Handle daemon failed to start

** (./../gacutil.exe:49674): WARNING **: Failed to attach shared
memory! Falling back to non-shared handles
See: http://www.go-mono.com/issues.html#wapi for details

Unhandled Exception: System.DllNotFoundException: libc
in <0x00053> (wrapper managed-to-native) Mono.Tools.Driver:symlink
in <0x0001b> Mono.Tools.Driver:Symlink (string,string)
in <0x005ef> Mono.Tools.Driver:Install
in <0x0063e> Mono.Tools.Driver:Main (string[])

*** Error code 1

Stop in /root/Desktop/Downloads/mono-1.0.1/runtime/net_1_1.

My questions are two-fold:
1) What should be done to immediately fix this install problem?
2) What would be a good set of options to try to add into
configure(.in) to have a build more tuned for DragonFly?


More information about the Mono-devel-list mailing list