|$ yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget|
|$ cd /usr/local/src|
|$ wget http://download.mono-project.com/sources/mono/mono-3.2.8.tar.bz2|
|$ tar jxf mono-3.2.8.tar.bz2|
|$ cd mono-3.2.8|
|$ ./configure --prefix=/opt/mono|
|$ make && make install|
|$ export PATH=$PATH:/opt/mono/bin|
|$ export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig|
|$ # make sure to add the previous two lines to your ~/.bash_profile|
ok for me on Centos 6.6 and mono : http://download.mono-project.com/sources/mono/
Just get error on yum lib install :
Worked with 220.127.116.11 on Centos 6.6 Final (with the obvious script changes for version)
Also, to install XSP I had to:
When I ran configure this failed so:
Back to the compile:
Then assuming /opt/mono is on you path
When I tried to use a test calendar script:
<%@ Page Language="C#" %> <html> <head> <title>Sample Calendar</title> </head> <asp:calendar showtitle="true" runat="server"> </asp:calendar>
I got an error about LIBGDIPLUS not found. I installed this and tried again. Still the same error.
All working so far .... Hope this helps someone.
@kimhs20 which monolite version have you used? I get this error all the time:
just succeed to make mono-18.104.22.168 with monolite 140: http://download.mono-project.com/monolite/monolite-140-latest.tar.gz
it was required to install monolite right after
P.S. CentOS 6.7
The installation worked with Mono 22.214.171.124 on RHEL 6. Thank you!
I was able to to install mono 4.9 and xsp 4.2. on CentOS release 6.8 (Final) based on your instructions, thanks!
I also got the error I got an error about LIBGDIPLUS not found because for some reason this would not install. I installed it from
using the commands below and it ran successfully.
Hope this helps someone else and thanks again.