Debian 4 Build Instructions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 33: Line 33:
  
 
   sudo aptitude full-upgrade
 
   sudo aptitude full-upgrade
 +
 +
This will also work when moving from Lenny to Sid.
  
 
Note: When I ran aptitude full-upgrade , I got a bunch of package configuration options - I took the safe option and just went with whatever it suggested. If you have no idea what you are doing (like me) then that's probably your best bet.
 
Note: When I ran aptitude full-upgrade , I got a bunch of package configuration options - I took the safe option and just went with whatever it suggested. If you have no idea what you are doing (like me) then that's probably your best bet.
  
#
+
''' Getting the prerequisites '''
 +
 
 +
Ok first you need a bunch of stuff to get started - then you need Mono 2.0.1 (trembles) or better...
 +
 
 +
  aptitude install subversion ruby
 +
  aptitude install nant ( this gets you a bunch of the mono stuff anyway )
 +
  aptitude install build-essential swig autoconf gawk mono-common binfmt-support bison libglib2.0-dev
 +
 
 +
''' Install Mono 2.0.1 '''
 +
 
 +
Yes... you know you wan't to do it... this is one way ( compile from source ) there are several others but this worked for me.
 +
 
 +
# wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.0.1.tar.bz2
 +
# tar xf mono-2.0.1.tar.bz2
 +
# cd mono-2.0.1
 +
# ./configure --with-libgdiplus=yes
 +
# make (chuckled at the "Function Emit Trampolines bit)
 +
# make install

Revision as of 06:38, 19 January 2009

The following packages and their dependencies are required to run OpenSim on a default Debian 4 netinstall:

  • mono
  • libmono-corlib2.0-cil
  • libmono-sqlite2.0-cil
  • libmono-system-web2.0-cil
  • libmono-microsoft8.0-cil
  • libmono-system-runtime2.0-cil
  • libmono-oracle2.0-cil (new dependency since r7587)

Hint #1: It is possible to use Debian Etch, but you will need to add custom repositories for mono to work. However installing or upgrading to Lenny/Sid will enable you to use the standard debian repositories. This is a good thing.

Hint #2: OpenSim will run on Mono 1.9.1, but seems to run a little better on Mono 2.0.1


Upgrading Etch to Lenny

I culled this from the a a little post on go2linux http://www.go2linux.org/upgrading-debian

To upgrade the Linux Debian Stable Etch to testing Lenny, just need to follow these two steps.

1. Edit sources.list

 sudo vi /etc/apt/sources.list

and change all words etch to lenny, or stable to testing

2. Update and upgrade

 sudo aptitude update
 sudo aptitude install apt dpkg aptitude
 sudo aptitude full-upgrade

This will also work when moving from Lenny to Sid.

Note: When I ran aptitude full-upgrade , I got a bunch of package configuration options - I took the safe option and just went with whatever it suggested. If you have no idea what you are doing (like me) then that's probably your best bet.

Getting the prerequisites

Ok first you need a bunch of stuff to get started - then you need Mono 2.0.1 (trembles) or better...

 aptitude install subversion ruby
 aptitude install nant ( this gets you a bunch of the mono stuff anyway )
 aptitude install build-essential swig autoconf gawk mono-common binfmt-support bison libglib2.0-dev

Install Mono 2.0.1

Yes... you know you wan't to do it... this is one way ( compile from source ) there are several others but this worked for me.

  1. wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.0.1.tar.bz2
  2. tar xf mono-2.0.1.tar.bz2
  3. cd mono-2.0.1
  4. ./configure --with-libgdiplus=yes
  5. make (chuckled at the "Function Emit Trampolines bit)
  6. make install
Personal tools
General
About This Wiki