Difference between revisions of "Mono"

Line 66: Line 66:
 
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make install</source>
 
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make install</source>
  
=== Post Build Steps ==
+
=== Post Build Steps ===
 
# Download an updated browsercaps.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.3/etc/mono [http://browsers.garykeith.com/downloads.asp browsers.garykeith.com]
 
# Download an updated browsercaps.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.3/etc/mono [http://browsers.garykeith.com/downloads.asp browsers.garykeith.com]
 
# Update the file /home/tcadmin/Monitor/mono-config with the new path of your mono build.
 
# Update the file /home/tcadmin/Monitor/mono-config with the new path of your mono build.

Revision as of 14:22, 6 August 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.3 with the version you are building.

Build libgdiplus

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

./configure --prefix=/opt/mono-2.10.3
make
make install

Build mono

./configure --prefix=/opt/mono-2.10.3 --with-libgdiplus=/opt/mono-2.10.3
make
make install

Build mono-basic

PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.3
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make install

Build xsp

PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig ./configure --prefix=/opt/mono-2.10.3
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make
PATH=$PATH:/opt/mono-2.10.3/bin PKG_CONFIG_PATH=/opt/mono-2.10.3/lib/pkgconfig make install

Post Build Steps

  1. Download an updated browsercaps.ini for improved browser recognition. Replace the existing file in /opt/mono-2.10.3/etc/mono browsers.garykeith.com
  2. Update the file /home/tcadmin/Monitor/mono-config with the new path of 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=437"