[Mono-list] which confused about which mono

Martin Thwaites monoforum at my2cents.co.uk
Sat May 2 13:31:05 UTC 2015


do you have a mono version in ~/tmp/mono? if so it will use that first, but
i don;t think which takes into account your current directory.

On 1 May 2015 at 13:47, Matt Calder <mvcalder at gmail.com> wrote:

> I see odd inconsistencies when I run mono from the command line. Does
> anyone know what could cause this:
>
> calder at pharos:~/tmp/mono$ mono --version
> Mono JIT compiler version 3.2.7 ((no/1b62dca Thu Mar 13 21:13:52 PDT 2014)
> ...
>
> calder at pharos:~/tmp/mono$ which mono
> /usr/bin/mono
>
> calder at pharos:~/tmp/mono$ /usr/bin/mono --version
> Mono JIT compiler version 4.1.0 (master/3f87ade Fri May  1 07:50:52 EDT
> 2015)
> ...
>
> I get errors installing mono after successfully building it, and I suspect
> they are related to the above. Here is the error during sudo make install:
>
> make[7]: Entering directory `/home/calder/tmp/mono/mcs/class/System'
> make intermediate=secxml/ ./../../class/lib/basic/secxml/System.dll
> make[8]: Entering directory `/home/calder/tmp/mono/mcs/class/System'
> MCS     [secxml/basic] System.dll
> Corlib not in sync with this runtime: expected corlib version 130, found
> 128.
> Loaded from: /usr/lib/mono/4.5/mscorlib.dll
> Download a newer corlib or a newer runtime at
> http://www.mono-project.com/download.
> make[8]: *** [../../class/lib/basic/secxml/System.dll] Error 1
> make[8]: Leaving directory `/home/calder/tmp/mono/mcs/class/System'
>
> Thanks for any help.
>
> Matt
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150502/2875aaf4/attachment.html>


More information about the Mono-list mailing list