[Bsd-sharp-list] Re: ports/108839: lang/mono 1.2.2.1 build fails with

Robert Jordan robertj at gmx.net
Tue Feb 6 11:22:28 MST 2007


Tom McLaughlin wrote:
> Build of lang/mono 1.2.2.1 is failing with the following error
> 
> gmake[8]: Entering directory
> `/usr/ports/lang/mono/work/mono-1.2.2.1/mcs/class/Mono.Security'
> MONO_PATH="../../class/lib/net_2_0_bootstrap:$MONO_PATH"
> /usr/ports/lang/mono/work/mono-1.2.2.1/runtime/mono-wrapper
> ./../class/lib/net_2_0_bootstrap/mcs.exe /codepage:65001 -d:NET_1_1
> -d:BOOTSTRAP_NET_2_0 -debug /noconfig -r:System.dll -unsafe
> -target:library -out:Mono.Security.dll @Mono.Security.dll.sources
> 
> ** (../../class/lib/net_2_0_bootstrap/mcs.exe:75234): WARNING **: Missing
> method .ctor in assembly
> /usr/local/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll, type
> System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
> 
> ** ERROR **: Can't find custom attr constructor image:
> /usr/local/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll mtoken:
> 0x0a00003f
> aborting...
> Stacktrace:


This seems to be caused by an old mono installation.

The user should rename /usr/local/lib/mono and recompile.
He also needs to assure that MONO_PATH isn't set in his
environment, since MONO_PATH is not intended to be used
by end-users.

Robert


More information about the Bsd-sharp-list mailing list