[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] problem compiling on cygwin.
From:       Andy Hume <andyhume32 () yahoo ! co ! uk>
Date:       2008-11-29 14:33:16
Message-ID: 20747604.post () talk ! nabble ! com
[Download RAW message or body]



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.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic