which confused about which mono

Matt Calder <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAH8WfnvyG5w9qqLzzJsiYJ5Jz4R_59_Z1POuek0dgOdw_9rR+Q@mail.gmail.com>
I see odd inconsistencies when I run mono from the command line. Does
anyone know what could cause this:

calder@pharos:~/tmp/mono$ mono --version
Mono JIT compiler version 3.2.7 ((no/1b62dca Thu Mar 13 21:13:52 PDT 2014)
...

calder@pharos:~/tmp/mono$ which mono
/usr/bin/mono

calder@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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.