[Mono-dev] Building mono on windows

Michael Stoll unwichtig2 at mistoll.de
Mon Dec 3 17:22:51 UTC 2012


Hi Robert,

each make call got me the same message, so that didn't help.
But I found a solution. By replacing the mcs.exe with one from the 
binary release I got a better error message. So I found out that the 
machine.config was not accessible due to access restrictions. Fixed that 
and the build went well.

Regards Michale

Am 03.12.2012 16:15, schrieb Robert Jordan:
> Hi,
>
> On 03.12.2012 12:52, Michael Stoll wrote:
>> I'm trying to build Mono on Windows 7.
>>
>> The System:
>> Windows 7 Professional x64
>> Mono 3.0.1
>> Cygwin 1.7
>>
>> What I did:
>> Checkout git repository (with Tortoise GIT, no auto CRLF)
>> ./autogen.sh --prefix /usr/local &> autogen.log (see attachment)
>> make &> make.log (see attachment)
>>
>> But make fails:
>> MCS     [net_2_0] mscorlib.dll
>> Cannot open assembly './../../class/lib/build/mcs.exe': Permission 
>> denied.
>
> Rerun `make' until it works. It might also help to call `make'
> once from the directory where it started to fail (here: 
> mcs/classes/corlib):
>
>     make PROFILE=net_2_0
>
> When it comes to cygwin, doing stuff until it eventually starts
> working is a perfectly valid modus operandi. Don't worry ;)
>
> Robert
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list