(1) Download the latest mono version:
$ cd opt
$ wget http://go-mono.com/sources/mono/mono-2.6.3.tar.bz2
Note: You might need the following if you plan to support Apache:
$ wget http://go-mono.com/sources/xsp/xsp-1.2.4.tar.bz2
$ wget http://go-mono.com/sources/mod_mono/mod_mono-2.6.3.tar.bz2
(2) Untar it and cd to the mono directory:
$ tar xjf mono-2.6.3.tar.bz2
$ cd mono-2.6.3
(3) Get GCC and the other tools needed for compilation:
$ yum install gcc bison pkgconfig glib2-devel gettext make
(4) I put my built packages in /opt so, run the following command to build mono:
$ ./configure –prefix=/opt/mono; make; make install
And that should do it. You should have a working version of the latest Mono on your system.
Don’t forget to add the path to your ~/.bash_profile if you haven’t already.
Update: 4/30/2010:
My good friend Katz pointed out if you run into some problems with libmono.so, then installing g++ may solve it. Do "yum install gcc-c++".
No comments:
Post a Comment