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

Abe Gillespie abe.gillespie at gmail.com
Fri Jul 22 03:26:09 EDT 2011


The C# compilers are written in C#. So, yeah, you've got to have *something* on your system that can compile C#. That can either be a previous Mono installation or the mono-lite package as you've found out.

Sent from phone. Please excuse brevity and mistakes.

On Jul 22, 2011, at 2:29, Mike Christensen <mike at kitchenpc.com> wrote:

>> 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
> _______________________________________________
> 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