Following DrScofield’s instructions for setting up OpenSim , I thought I’d give it a try on my OSX laptop. The process is not quite as straightforward, but it works. Here’s what I did:
- Download and install the Mono package for OSX from the Mono downloads page.
- If you don’t have subversion, install it. I personally like the packages from http://homepage.mac.com/hiirem/svkbuilds.html.
- Make sure you have Xcode installed (for the make command below)
- Fix nant, as documented here. Essentially, edit /usr/bin/nant and add the line in bold:
#!/bin/sh export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig exec /Library/Frameworks/Mono.framework/Versions/1.2.6/bin/mono /Library/Frameworks/Mono.framework/Versions/1.2.6/lib/NAnt/NAnt.exe "$@" - Check out and build opensim:
% svn co http://opensimulator.org/svn/opensim/trunk opensim % cd opensim % ./runprebuild.sh % nant - Compile libopenjpeg-libsl-2.1.2.0.dylib from source (this is mentioned in the OpenSim wiki) and copy it into the opensim/bin directory:
% svn co svn://opensecondlife.org/libsl/trunk libsecondlife % cd libsecondlife/openjpeg-libsl/ % make -f Makefile.osx % cp libopenjpeg-libsl-2.1.2.0.dylib ../../opensim/bin - Run opensim:
% cd ../../opensim/bin % mono ./OpenSim.exe - And finally, run the SL client with the appropriate option:
And… it works!% /Applications/Second\ Life.app/Contents/MacOS/Second\ Life -loginuri http://127.0.0.1:9000

The first time I connected my avatar appeared all black, but on subsequent connections it appeared properly clothed and colored.
18 responses so far ↓
1
Scott Norman
// Feb 9, 2008 at 9:29 am
What version of OS X did you do this on? Do you have an Intel or PowerPC Mac? I’ve been trying to get to work on PowerBook G4 on 10.5.1 and 10.4.11 and can’t get the view to login.
2
Hitchhiker
// Feb 9, 2008 at 4:49 pm
Scott: I’m using a MacBook Pro with 10.5.1. I have never tried on a PowerPC machine…
3
Scott Norman
// Feb 9, 2008 at 8:24 pm
Thanks for the info. I’ve been wondering if it might be PowerPC related.
4
Scott Norman
// Feb 9, 2008 at 9:59 pm
Curious if you’ve tried running up the other servers (asset, grid, etc.) that are a part of OpenSim?
5
Hitchhiker
// Feb 9, 2008 at 11:08 pm
Scott: no, I haven’t had time yet to explore in more detail.
6
Christopher Su
// May 27, 2008 at 2:30 pm
Do you think that this will work on 10.4.11 with Xcode 2? I’ll try it and get back to you on it.
7
Christopher Su
// May 28, 2008 at 10:21 am
I got it running the the physics engine is really sad, you can walk through objects.
8
Rexx Magnus
// Jul 21, 2008 at 10:31 am
You need to set the physics engine in the opensim.ini to:
physics = OpenDynamicsEngine
Or it won’t stop you from walking through objects.
9
Link
// Aug 6, 2008 at 4:25 am
Hi, can this be done on a PC ? Please email me with any info thanks.
10
Christopher Su
// Aug 6, 2008 at 4:39 am
Windows users have it easy
OpenSim has a Windows binary setup!
11
Link
// Aug 6, 2008 at 5:09 pm
I did set up the physics engin as told by rex and yet i still kepp moving throuprims. ! What am i doing wrong.
12
fun fun fun
// Aug 18, 2008 at 8:18 pm
argh. installing on a macbook pro with 10.4.11 - installed all the goodies but i did modify the directory for the mono.framework to 1.9.1. everything seems fine until i run nant where it tells me:
/usr/bin/nant: line 6: /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/NAnt/NAnt.exe: No such file or directory
I have been running it all under sudo. should i login as root? i really want it to work
13
fun fun fun
// Aug 18, 2008 at 8:20 pm
oh and it is correct, ha ha, the file isn’t there. shouldn’t it be there when the software is installed?
14
fun fun fun
// Aug 19, 2008 at 8:17 am
My problem was a newer version of nant didn’t have nant in the right directory. i downloaded the old one and now i’m getting a different error. has any one tried this with the most recent opensim? i noticed some of the links above have the outdated info. thanks.
15
fun fun fun
// Aug 19, 2008 at 8:47 am
omg how did you guys get this installed? everytime i try to build it it never creates libsecondlife/openjpeg-libsl
it creates libsecondlife ok, but not this one directory. i feel like the happy tree free who is smashing his head on the desk
16
Christopher Su
// Aug 19, 2008 at 11:09 am
Fun fun fun, this website should help you with your OpenSim installation:
hubpages (dot) com/_client/hub/Install-OpenSim-on-Mac
17
fun fun fun
// Aug 19, 2008 at 2:59 pm
thanks, unfortunately it still didn’t create the
libsecondlife/openjpeg-libsl/
directory
18
fun fun fun
// Aug 19, 2008 at 4:37 pm
okay i followed the directions here and i think the difference is the version of simlife that is downloaded. now i’m getting an error logging in, but the server seems to be running now. now it’s the grid. bla
Leave a Comment