Difference between revisions of "Mono"

Line 43: Line 43:
 
* xsp
 
* xsp
  
When using the commands below replace 2.10.3 with the version you are building.
+
When using the commands below replace 2.10.6 with the version you are building.
  
 
Install any missing dependencies shown by the configure command before running make.
 
Install any missing dependencies shown by the configure command before running make.
Line 52: Line 52:
 
tar xjvf libgdiplus-2.10.tar.bz2 > /dev/null
 
tar xjvf libgdiplus-2.10.tar.bz2 > /dev/null
 
cd libgdiplus-2.10
 
cd libgdiplus-2.10
./configure --prefix=/opt/mono-2.10.5
+
./configure --prefix=/opt/mono-2.10.6
 
make > /dev/null
 
make > /dev/null
 
make install > /dev/null</source>
 
make install > /dev/null</source>
  
 
=== Build mono ===
 
=== Build mono ===
<source lang="bash">wget http://download.mono-project.com/sources/mono/mono-2.10.5.tar.bz2
+
<source lang="bash">wget http://download.mono-project.com/sources/mono/mono-2.10.6.tar.bz2
tar xjvf mono-2.10.5.tar.bz2 > /dev/null
+
tar xjvf mono-2.10.6.tar.bz2 > /dev/null
cd mono-2.10.5
+
cd mono-2.10.6
./configure --prefix=/opt/mono-2.10.5 --with-libgdiplus=/opt/mono-2.10.5
+
./configure --prefix=/opt/mono-2.10.6 --with-libgdiplus=/opt/mono-2.10.6
 
make > /dev/null
 
make > /dev/null
 
make install > /dev/null</source>
 
make install > /dev/null</source>
Line 68: Line 68:
 
tar xjvf mono-basic-2.10.tar.bz2 > /dev/null
 
tar xjvf mono-basic-2.10.tar.bz2 > /dev/null
 
cd mono-basic-2.10
 
cd mono-basic-2.10
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.5
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.6
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig make > /dev/null
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make > /dev/null
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig make install > /dev/null</source>
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make install > /dev/null</source>
  
 
=== Build xsp ===
 
=== Build xsp ===
Line 76: Line 76:
 
tar xjvf xsp-2.10.2.tar.bz2 > /dev/null
 
tar xjvf xsp-2.10.2.tar.bz2 > /dev/null
 
cd xsp-2.10.2
 
cd xsp-2.10.2
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.5
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.6
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig make > /dev/null
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make > /dev/null
PATH=$PATH:/opt/mono-2.10.5/bin PKG_CONFIG_PATH=/opt/mono-2.10.5/lib/pkgconfig make install > /dev/null</source>
+
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make install > /dev/null</source>
  
 
=== Post Build Steps ===
 
=== Post Build Steps ===
# Download an updated browsercap.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.5/etc/mono [http://browsers.garykeith.com/downloads.asp browsers.garykeith.com] Make sure you rename the file to browsercap.ini after downloading.
+
# Download an updated browsercap.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.6/etc/mono [http://browsers.garykeith.com/downloads.asp browsers.garykeith.com] Make sure you rename the file to browsercap.ini after downloading.
 
# Update the file /home/tcadmin/Monitor/mono-config with the path to your mono build.
 
# Update the file /home/tcadmin/Monitor/mono-config with the path to your mono build.
 
# Restart the monitor and serviceman services:
 
# Restart the monitor and serviceman services:

Revision as of 21:47, 22 October 2011

CentOS 5 / Fedora 15 / Redhat 5

32 bit
mono-2.10.2-bi.i386.rpm
64 bit
mono-2.10.2-bi.x86_64.rpm
Installation
yum install mono-2.10.2-bi.xxxxx.rpm --nogpgcheck

Debian 6 / Ubuntu 10

32 bit
mono-2.10.2-bi.i386.deb
64 bit
mono-2.10.2-bi.x86_64.deb
Installation
The second line might show errors if the dependencies are not installed. The third line will install the missing dependencies.
apt-get update
dpkg -i mono-2.10.2-bi.xxxxx.deb
apt-get install -f

Other / Manual Installation

32 bit
mono-2.10.2-i386.tar.gz
mono-deb-2.10.2-i386.tar.gz
64 bit
mono-2.10.2-x86_64.tar.gz
mono-deb-2.10.2-x86_64.tar.gz
Installation
Must be extracted to /opt. Extracting to other directories will not work.
mkdir /opt
cd /opt
wget http://www.tcadmin.com/installer/mono-2.10.2-xxxxx.tar.gz
tar xzvf mono-2.10.2-xxxxx.tar.gz
Check for missing dependencies and install them
ldd /opt/mono-2.10.2/bin/mono|grep "not found"
ldd /opt/mono-2.10.2/lib/libgdiplus.so|grep "not found"

Build from Source

Download the following packages from mono-project.com:

  • libgdiplus
  • mono
  • mono-basic
  • xsp

When using the commands below replace 2.10.6 with the version you are building.

Install any missing dependencies shown by the configure command before running make.

Build libgdiplus

Libgdiplus must be installed with support for png, jpg and gif. This is required by the default and custom themes.

wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
tar xjvf libgdiplus-2.10.tar.bz2 > /dev/null
cd libgdiplus-2.10
./configure --prefix=/opt/mono-2.10.6
make > /dev/null
make install > /dev/null

Build mono

wget http://download.mono-project.com/sources/mono/mono-2.10.6.tar.bz2
tar xjvf mono-2.10.6.tar.bz2 > /dev/null
cd mono-2.10.6
./configure --prefix=/opt/mono-2.10.6 --with-libgdiplus=/opt/mono-2.10.6
make > /dev/null
make install > /dev/null

Build mono-basic

wget http://download.mono-project.com/sources/mono-basic/mono-basic-2.10.tar.bz2
tar xjvf mono-basic-2.10.tar.bz2 > /dev/null
cd mono-basic-2.10
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.6
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make > /dev/null
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make install > /dev/null

Build xsp

wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
tar xjvf xsp-2.10.2.tar.bz2 > /dev/null
cd xsp-2.10.2
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.6
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make > /dev/null
PATH=$PATH:/opt/mono-2.10.6/bin PKG_CONFIG_PATH=/opt/mono-2.10.6/lib/pkgconfig make install > /dev/null

Post Build Steps

  1. Download an updated browsercap.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.6/etc/mono browsers.garykeith.com Make sure you rename the file to browsercap.ini after downloading.
  2. Update the file /home/tcadmin/Monitor/mono-config with the path to your mono build.
  3. Restart the monitor and serviceman services:
cd /home/tcadmin/Monitor
./monitor-service restart
./serviceman-service restart
Retrieved from "https://help.tcadmin.com/index.php?title=Mono&oldid=471"