Archive

Posts Tagged ‘opensim’

opensim on the mac mini

April 27th, 2009 JB Kraft Comments off

My debian box died :( Not a happy day but that machine is about 7 years old and full of scabbed parts from who knows where. Oh well. So I pained about buying another box and to make a long story short decided to try out a mac mini as a server. Nuts huh? So, one of the tasks was to rebuild Xanth (my opensim) on the mini. Mono is 2.4 I installed from the dmg.

These are a couple of snags I ran into…

1. Grabbed the git code from ‘git clone http://opensimulator.org/git/opensim’

2. Tried ./runprebuild.sh worked ok but nant blew up. The trouble was pkg-config was not installed so I threw that on and all is well. ‘./configure –prefix=/usr/local’… etc…

3. Copy OpenSim.ini.example to OpenSim.ini and ran ‘mono OpenSim.exe’

4. Client dies on region handshake. Edit Regions/default.xml and change ‘external_host_name’ from 127.0.0.1 to the actual IP of the machine fixed that.

That wasn’t so bad. Now to get it rigged into MySQL and hooked back up to opengrid but I have to grab my old db data from the HD and run it over and…, well, I’ll post about that experience another time. Cool thing is, it’s works :)

Categories: Projects Tags:

Xanth!

June 19th, 2008 JB Kraft Comments off

So after muddling around with the opensim code on my trusty server here at the lab I decided it was time to hook the sucker up to the osgrid and see what happened. Slightly bumpy road but read on if you care.

The bumps in road were caused mostly by my forgetting I am dealing with windows heads here and pushing out of my head years ago how that wicked tech called the ini file worked. Mostly I had stuff in the wrong sections. Why the hell are there sections? Would a comment not suffice? I dont know how that thinking survives frankly, but nonetheless, this is not a rant about the M$ view, but rather accolades for the opensim work.

I stuck a single sim on the grid, called Xanth at 10001,10002. Delighful! It works pretty well. TP’s are kinda flaky and I have yet to have someone drop by, but so far it looks good, seems stable, and best of all no one has complained. The only trouble is the stupid jpeg code for the map generating does not want to work. I rebuilt the .so and all. I don’t know.

Anyway, here’s a shot. You can see the next sim off in the distance and that wee gash of black pixels on the dock is me in all my noobish glory.

Categories: General Tags:

Using the viewer for other grids

May 31st, 2008 JB Kraft Comments off

I dinged together a patch for the viewer (VWR-7513) to allow loading of grids from an xml file. I have 5 viewers sitting on my HD sucking up 200MB a pop, plus the code and builds for 2. Kinda silly. So the viewer code had the internal grids hard coded into a static array and accessed with enums!! Unreal. Anyway now I can pick my local grid, osgrid and whatnot from the login panel and nuked 4 viewers from the HD. :) I hope they take the patch dammit!

Categories: General Tags: ,

Opensim + Ubuntu

April 24th, 2008 JB Kraft Comments off

Some issues encountered getting OpenSim to kick on Ubuntu, noted here for posterity.

* i used the mono package from http://www.go-mono.com/mono-downloads/download.html not the one from apt as it was way behind
* i used the svn drop
* i didn’t realize the ode physics, openjpeg and sqlite3 come out of svn prebuilt and the *.so weren’t right. gave me cannot load assembly errors on the dll’s
* checked out the libs from svn http://opensimulator.org/wiki/PhysicsEngines
* ubuntu has 1.9.x of automake and autogen.sh requires 1.10.x so i edited configure.in and found AC_PROG_MKDIR_P and commented it out (that was the only requirement holding things up, how stupid!) and changed AM_INIT_AUTOMAKE(1.10 foreign) to AM_INIT_AUTOMAKE( 1.9 foreign)
* configure, make -k worked normally and so i copied the ode/src/.libs/libode.so to the OpenSim/bin
* all is well with physics

After svn update, certain things can disappear and give errors on the nant build. Run prebuild.sh before nant fixes those. Also you have to copy the lidode.so from the pyhics build to opensim/bin after ever rebuild.

So the cycle is…

* cd $OPENSIM_ROOT
* svn update
* ./prebuild.sh
* nant
* cd bin
* cp ../../opensim-libs/unmanaged/OpenPhysics/ode/src/.libs/libode.so .

Categories: General Tags: ,