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-220.127.116.11.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-18.104.22.168.dylib ../../opensim/bin
- Run opensim:
% cd ../../opensim/bin % mono ./OpenSim.exe
- And finally, run the SL client with the appropriate option:
% /Applications/Second\ Life.app/Contents/MacOS/Second\ Life -loginuri http://127.0.0.1:9000
And… it works!
The first time I connected my avatar appeared all black, but on subsequent connections it appeared properly clothed and colored.