[Mono-list] Do you need to have Mono installed before you can build it?

Mike Christensen mike at kitchenpc.com
Fri Jul 22 02:29:46 EDT 2011


> I'm getting the error:
>
> make[6]: Entering directory `/home/mike/mono/mcs'
> make[6]: gmcs: Command not found
> make[6]: *** [build/deps/basic-profile-check.exe] Error 127
> make[6]: Leaving directory `/home/mike/mono/mcs'
> *** 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
>
> The docs at:
>
> http://mono-project.com/Compiling_Mono_From_Git#Checking_out_for_the_first_time
>
> Seem to hint I need the Mono compiler installed before I can build
> Mono..  What's the most straight forward way to do this on OpenSuSE
> 11.4?
>
> I do have gmsc.exe on another machine (version 2.6) - Can I just copy
> that somewhere and set EXTERNAL_MCS?  Thanks!

Ok I tried the

make get-monolite-latest

thing, and it seems to have built and the unit tests are passing..
haven't done a make install yet..

Is there a reason why the build script can't just build gmcs and then
run it?  I assume if this were easy it would work that way already
though :)

Mike


More information about the Mono-list mailing list