Compile and install MONO on CentOS – cannot pass ‘make’

The basic instructions for installing Mono are:

tar xzvf mono-X.XX.tar.gz; cd mono-X.XX
. /configure –prefix = /usr/local;make; make install

So I downloaded the latest version from http://download.mono-project.com/sources/mono/ and unzipped it ( But this is a bz2, using the j option of the tar option).

The configuration seems to work fine. When I run make, it will insert about 40 minutes before then:

make[5]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/src/ mono-2.11.2/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127< br />make[6]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/src/mono-2.11.2 /mcs'
*** The compiler'gmcs' doesn't appear to be usable.
*** Trying the'monolite' directory.
make[7]: Entering directory `/ usr/local/src/mono-2.11.2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
Corlib not in sync with this runtime: expected corlib version 102, found 100.
Loaded from: /usr/local/src/mono-2.11.2/mcs/class/lib/monolite/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily .
make[8]: *** [build/deps/basic-profile-check.exe] Error 1
make[8]: Leaving directory `/usr/local/src/mono-2.11 .2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
*** The contents of your'monolite' directory may be out -of-date
*** You may want to try'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1
make[8]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[7]: *** [do-profile-check] Error 2

< p>Quit after a few lines.

My wisdom is over. Endless Google didn’t really take me anywhere, only a few people said that this happens when you overwrite dlls with daily builds Situation.

This is a brand new CentOS 6.2 installation, including PHP, Apache, Mysql, Webmin, and I am now trying to use Mono. I have downloaded the latest mono version (2.11.2), but The same thing happened with the last version (2.11.1).

I was close to giving up and switching to our web server Debian, maybe this is the way to go?

Any help appreciated. Cheers

I ran into the same problem. Answer The link in does not work anymore.

The URL that works for me is: http://download.mono-project.com/sources/mono/mono-2.11.3.tar.bz2

p>

The basic instructions for installing Mono are:

tar xzvf mono-X.XX.tar.gz; cd mono-X.XX
./configure –prefix = /usr/local;make; make install

So I downloaded the latest version from http://download.mono-project.com/sources/mono/ and unzipped it Compression (but this is a bz2, using the j option of the tar option).

The configuration seems to work fine. When I run make, it will insert about 40 minutes before then:

make[5]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/ src/mono-2.11.2/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/src/mono-2.11 .2/mcs'
*** The compiler'gmcs' doesn't appear to be usable.
*** Trying the'monolite' directory.
make[7]: Entering directory `/usr/local/src/mon o-2.11.2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
Corlib not in sync with this runtime: expected corlib version 102, found 100.
Loaded from: /usr/local/src/mono-2.11.2/mcs/class/lib/monolite/mscorlib.dll
Download a newer corlib or a newer runtime at http ://www.go-mono.com/daily.
make[8]: *** [build/deps/basic-profile-check.exe] Error 1
make[8]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
** * The contents of your'monolite' directory may be out-of-date
*** You may want to try'make get-monolite-latest'
make[8]: *** [do -profile-check-monolite] Error 1
make[8]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[7]: *** [do -profile-check] Error 2

Exit after a few lines.

My wisdom is over. The endless Google didn’t really take me anywhere, only a few people said yes This happens when you overwrite the dll with a daily build.

This is a brand new CentOS 6.2 installation, including PHP, Apache, Mysql, Webmin, and now trying to use Mono. I have downloaded the latest The mono version (2.11.2), but the same thing happened with the last version (2.11.1) .

I am close to giving up and switching to our web server Debian, maybe this is the way to go?

Any help appreciated. Cheers

I ran into the same problem. The link in the answer no longer works.

The website that suits me is: http://download.mono-project.com/sources/mono/mono-2.11.3.tar.bz2

Leave a Comment

Your email address will not be published.