[Mono-dev] problem compiling on cygwin.

Andy Hume andyhume32 at yahoo.co.uk
Sat Nov 29 09:33:16 EST 2008



Lucas Meijer-4 wrote:
> 
> Robert Jordan wrote:
> [...cut...]
>> 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
>> by this:
>>   
>>> When I do a "which mcs" I get:
>>> /cygdrive/h/Program\ Files/Mono-2.0/bin/mcs
>>> which seems okay to me.
> 
> I uninstalled mono, and reinstalled it at H:\Mono-2.0.  I updated my 
> .bashrc, source'd it,   reran autogen.sh, and ran
> make.  I get the exact same error.   At least I now realizes this error 
> actually comes from the CLR,  instead from the mono runtime.   Now to 
> find out why this is happening.
> 

There's a long-standing fault somewhere in the build system on Windows that
causes the mcs/mcs part of the build to sometimes use the MSFT CLR instead
of the Mono one.  make should run the command appending mono.exe but
apparently sometimes it is missed.  See bug 325109
(https://bugzilla.novell.com/show_bug.cgi?id=325109).  The problem seems
only to occur when doing a re-build of mcs so the workaround is to delete
some build outputs first, see the bug.

I don't get the same exact error you get but it may well be the same fault,
and you can use the same workaround.  Unless you're a make (?cygwin) guru
and can work out why this is occuring...

Andy
-- 
View this message in context: http://www.nabble.com/problem-compiling-on-cygwin.-tp20737913p20747604.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list