[Mono-list] can't build mcs in cygwin due to "build/deps/basic-profile-check.out"

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Thu Aug 5 11:04:54 EDT 2010


It's not really about basic-profile-checker.It's rather that you need
usable gmcs and dependent core libraries which are already built.

Run "make get-monolite-latest" at mono topdir. It will download a
package of those files into your checkout.

Atsushi Eno


冶晶邓 wrote:
> it's ok when building mono, but failed at the begin of mcs:
>  
> 
>     make[3]: Entering directory `/cygdrive/d/code/3rd/mono/mcs'
>     make profile-do--net_2_0--all profile-do--net_3_5--all
>     profile-do--net_4_0--all
>     make[4]: Entering directory `/cygdrive/d/code/3rd/mono/mcs'
>     make PROFILE=basic all
>     make[5]: Entering directory `/cygdrive/d/code/3rd/mono/mcs'
>     make[6]: Entering directory `/cygdrive/d/code/3rd/mono/mcs'
>     Bootstrap compiler: Mono C# compiler version 2.6.7.0
>     make[6]: *** [build/deps/basic-profile-check.out] Error 77
>     make[6]: Leaving directory `/cygdrive/d/code/3rd/mono/mcs'
>     rm: cannot remove `.//build/deps/basic-profile-check.exe':
>     Permission denied
>     *** The compiler 'gmcs' doesn't appear to be usable.
>     *** You need Mono version 2.4 or better installed to build MCS
>     *** Read INSTALL.txt for information on how to bootstrap a Mono
>     installation.
>     make[5]: *** [do-profile-check] Error 1
>     make[5]: Leaving directory `/cygdrive/d/code/3rd/mono/mcs'
>     make[4]: *** [profile-do--basic--all] Error 2
>     make[4]: Leaving directory `/cygdrive/d/code/3rd/mono/mcs'
>     make[3]: *** [profiles-do--all] Error 2
>     make[3]: Leaving directory `/cygdrive/d/code/3rd/mono/mcs'
>     make[2]: *** [all-local] Error 2
>     make[2]: Leaving directory `/cygdrive/d/code/3rd/mono/mono/runtime'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/cygdrive/d/code/3rd/mono/mono'
>     make: *** [all] Error 2
> 
>  
>  
> i have installed the prebuilt mono-2.6.7.
> it seems that the MAKE runs basic-profile-check.out directly( with MS 
> .NET),  without mono runtime?
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list