[Mono-list] Problems on FreeBSD with Beta 1

Scott Muc mono@muc-central.com
Mon, 17 May 2004 14:14:44 -0700


this is my progress so far...

mono - May 15th code snapshot
FreeBSD 4.9
mono/mini/abcremoval.h taken from CVS since the snapshot was missing
this file.


Here's how I've tried to build mono:

./configure --prefix=/usr/local
gmake
gmake install
...
/bin/sh ../../mkinstalldirs /usr/local/lib
/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 /root
/usr/local/lib
Package exported to: /usr/local/lib/mono/1.0
Accessibility installed into the gac (/usr/local/lib/mono/gac/)

Then it just hangs. I've mapped libc to libc.so.4 in the data/config
file. I would love to assist in finding out why this hangs, but I'm not
familiar with what needs to be done.

Scott


On Mon, 2004-05-17 at 12:26, Victor Jalencas wrote:
> Anyone can shed more light on this? I haven't been able to build mono on 
> FreeBSD for a long time. What is the recommended configuration (wrt 
> Boehm GC, threading, gcc...)?
> 
> Thanks in advance
> 
> Victor
> 
> Jonathan Stowe wrote:
> > Firstly it appears that you have to change the data/config file to map
> > to libc.so.4 rather than libc.so.6 on FreeBSD 4.9 before anything will
> > work. 
> > 
> > Secondly gacutil appears to have problems during make install:
> > 
> > MONO_PATH=. ../../mono/mini/mono --config ../../data/config
> > ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /root
> > /usr/local/lib
> >  
> > Unhandled Exception: System.NullReferenceException: Object reference not
> > set to an instance of an object
> > in (unmanaged) (wrapper managed-to-native) Mono.Tools.Driver:symlink
> > (string,string)
> > in <0x00004> (wrapper managed-to-native) Mono.Tools.Driver:symlink
> > (string,string)
> > in <0x00822> Mono.Tools.Driver:InstallAssembly (string[])
> > in <0x005d2> Mono.Tools.Driver:Run (string[])
> > in <0x00035> Mono.Tools.Driver:Main (string[])
> > 
> > 
> > I thought I would check before I stick it in bugzilla in case anyone had
> > seen this already.
> > 
> > /J\
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list