Hello,

Just follow what the error message says

You need Mono version 2.4 or better installed to build MCS


Marek

I'm trying to build mono from git sources
./autogen.sh --prefix=/usr/local && make && sudo make install

, but unfortunately it fails like this:

make[6]: Entering directory `/home/tavasti/build/mono/mcs'
build/common/basic-profile-check.cs(13,67): error CS0234: The type or namespace name `AllowReversePInvokeCallsAttribute' does not exist in the namespace `System.Runtime.InteropServices'. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Leaving directory `/home/tavasti/build/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
make[5]: Leaving directory `/home/tavasti/build/mono/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/tavasti/build/mono/mcs'
make[3]: *** [profiles-do--all] Error 2

Any hints?

--Tavasti

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to