[Mono-dev] problem compiling on cygwin.
robertj at gmx.net
Fri Nov 28 13:10:39 EST 2008
Lucas Meijer wrote:
> I'm compiling mono on windows in sygwin.
> After a few bumps on the road that google and the mono-devel archive took
> care of, I'm now running into this one:
> MCS [basic] mcs.exe
This is a MS.NET exception:
> Unhandled Exception: System.ArgumentException: Illegal enum value: 2051.
> Parameter name: access
> at System.AppDomain.InternalDefineDynamicAssembly(AssemblyName name,
It seems that you've somehow managed to run mcs on MS.NET's runtime.
This is not supported and not intended but it could be caused
> When I do a "which mcs" I get:
> /cygdrive/h/Program\ Files/Mono-2.0/bin/mcs
> which seems okay to me.
The space in "Program Files" might break the build system.
At least it did it in the past.
Try to reinstall Mono into c:\Mono\, adjust the path,
re-autogen and rebuild.
More information about the Mono-devel-list