OpenSim: Building from sources

64-bit Linux

OpenSim from the release

Building the server on 64-bit Linux is quite straightforward. Follow the instructions from OpenSim Building Instructions.

You need to have mono, nant, svn installed. Remember to have mono-devel package installed (otherwise Nant will complain about missing package). 64-bit version of mono.pc file is under /usr/lib64/pkgconfig. Note also, that it is recommended to only have 64-bit versions of the packages (do not try to mix 32- and 64-bit versions).

OpenSim from SVN Sources

Get the latest SVN tree using anonymous SVN:

svn co http://opensimulator.org/svn/opensim/trunk

Mono from SVN Sources

Follow the instructions for compiling Mono.

You need to have 2 packages installed: glib2, glib2-devel and pkg-config

You may need also to set export PKG_CONFIG_PATH=/usr/lib64/pkgconfig

Get the latest SVN tree using anonymous SVN:

svn co svn://anonsvn.mono-project.com/source/trunk/mcs
svn co svn://anonsvn.mono-project.com/source/trunk/mono
svn co svn://anonsvn.mono-project.com/source/trunk/libgdiplus
svn co svn://anonsvn.mono-project.com/source/trunk/gtk-sharp (optional)

Build mono:
cd mono; ./autogen.sh --prefix=/usr/local;
make; make install

This will build both, mono and mcs.

Then go into libgdiplus and ./configure --prefix=/usr/local; make; make install

Remember, once mono is installed in /prefix/dir, make sure that lib64 symlinks to lib - this will make things easier for nant to work.

UltraSPARC/Solaris

Latest Mono on SPARC

The current status of getting Mono compiled on UltraSparc:

Mono building dependencies:

  • [X] m4 (1.4.11) installed on: C4
  • [X] autoconf (2.62) installed on: C4
  • [X] automake (1.9.6) installed on: C4
  • [X] libtool (1.5.26) installed on: C4
  • [X]GLib-2.0 (2.16.3) installed on: C4
  • [X] pkg-config (0.23) installed on: C4
  • [X] Mono (1.9.1): installed on: C4
  • [-] fontconfig (ver.2.5.92): compilation failed.
  • [X] fontconfig (ver.2.4.2) installed on C4, with pkgadd (dependencies: freetype, expat, libiconv)
  • [X] freetype (ver 2.3.1) installed on C4, with pkgadd,
  • [X] expat (ver.2.0.1) installed on C4, with pkgadd,
  • [X] libiconv (ver.1.11) installed on C4, with pkgadd

  • [X] libgdiplus (1.9): installed on C4 (compiled from sources)

Comments:

When compiling mono, we used: --with-gc=boehm CFLAGS='-O3'. There was a need to change permissions of one of the files.

Latest OpenSim? on SPARC

OpenSim building dependencies:

  • [X] nant (ver.0.86-beta1) installed on C4.
  • [X] OpenSim (rev.4619), builds fine! YES: 2008.05.16 - we have manually completed the entire toolchain.

OpenSim running:

  • [X] sqlite (ver.3.5.7) installed, pkgadd,
  • [X] basic server (standalone mode): YES: 2008.05.17 - the server works fine on C4.

Comments
All new GNU packages on C4 are installed in /usr/local Remember to put /usr/local/bin in front of your PATH variable. The older versions of tools are in /usr/sfw.

Windows Systems

OpenSim

Building the OpenSim server on win32 Microsoft XP is straightforward. Follow the instructions on from OpenSim Building instructions. You need to have a heap of packages (Win32 Build packages. Once these are installed, the MySQL databases need to be populated using the MYSQL Command Line and 'source text_file' instructions. We have used the provided users and ngi00 text files here.

Installing MySQL requires a number of settings to be defined. using the MySQL Server Instance Configuration, we used the defaults except for the 'OLTP up to 500 active connections' option which seemed appropriate. Port 3306 is the default port for the database. The you need to include the bin directory in the Path environment variable.

Inserting the database data from the command line involves the following: show databases; create database ngi00; use ngi00; source /ngi00.txt;

This gives 607 users with a simple sql count.

Unlike the SQLite databases, all the servers access the one database.

Topic revision: r6 - 16 May 2008 - 22:33:37 - MariuszNowostawski

tip TWiki Tip of the Day
Commenting with hidden text
To hide sections of a TWiki topic, use HTML comments. Example comment within a sentence: Visible ... Read on Read more

 
World45 Wiki
This site is powerd by World45 Wiki collaboration platformCopyright © by World45 Ltd. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback