i can get you started but not all the way here.
The required tools, some of which may already be installed, are:
m4 (for make)
mercurial (for hg)
sudo apt-get update # to make sure the repository list is current
sudo apt-get upgrade # to make sure all installed packages are current
sudo apt-get install --install-recommends bison bzip2 cmake curl flex g++ m4 mercurial python2.7 python2.7-dev python-pip libaprutil1 libaprutil1-dev libapr1 libapr1-devlibGL.so (libgl1-mesa-dev)
libxinerama-dev libxml2.so (libxml2-dev)
sudo apt-get install --install-recommends libgl1-mesa-dev libglu1-mesa-dev libstdc++6 \You will also need to make sure you have the right versions of Gcc installed. Check what you have installed. You will need 4.8 for compiling the viewers. BUT modern ubuntu based distro's also need 4.9 or above for compiling dynamic kernal moduels. So you will need to do whats below but you may also need to add in your existing gcc version as a slave option as well.
sudo update-alternatives --remove-all gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 48 \
--slave /usr/bin/g++ g++ /usr/bin/g++-4.8 \
--slave /usr/bin/gcov gcov /usr/bin/gcov-4.8
sudo update-alternatives --config gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 49 \
--slave /usr/bin/g++ g++ /usr/bin/g++-4.9 \
--slave /usr/bin/gcov gcov /usr/bin/gcov-4.9
sudo update-alternatives --config gccWhen it asks you to choose the default version you can select auto, this works.
Here is the kicker... i don't know which version of autobuild to use, the mac compile insturctions point you to the linden lab autobuild, but that doesn't seam to like 64bit linux, i think it would work on 32bit but can't be sure as i have no 32bit system to test on.
The firestorm version of autobuild does not work for the inworldz viewer.
Anyway the next stage is to install the appropriate version of autobuild using a varient of the following line which is taken from the firestorm and linden pages respectively .
sudo pip install hg+https://bitbucket.org/NickyD/autobui ... =autobuild
sudo pip install 'hg+https://bitbucket.org/lindenlab/autobuild-1.0#egg=autobuild'Thats all the packages preperation done.
clone the repository. Navigate to where ever you keep your source code, for me thats ~/src
hg clone https://bitbucket.org/inworldz/inworldzcd into your new inworldz directory
Please note i have left the DFMODSTUDIO:BOOL=TRUE there, but if you do not have a version of FMOD installed you can use, changing this to false should also build with open AL. Configure the viewer 32bit
autobuild configure -c RelWithDebInfoOS -- -DPACKAGE:BOOL=FALSE -DFMODSTUDIO:BOOL=TRUEConfigure 64bit
autobuild configure -c RelWithDebInfoOS -- -DPACKAGE:BOOL=FALSE -DFMODSTUDIO:BOOL=TRUE -DWORD_SIZE=64This configures the viewer now we need to actually compile it
autobuild build -c RelWithDebInfoOS --no-configure