Building with autobuild

this text is a very early version. Please add missing parts

learn to use autobuild
http://wiki.secondlife.com/wiki/Get_source_and_compile

Kokua specific requirements
If not noted different all requirements of http://wiki.secondlife.com/wiki/Get_source_and_compile are also requirements to build Kokua. Additional 32 bit libraries needed for compiling SL Voice. The commands below are for debian/ubuntu distributions that are multi-arch ready. dpkg --add-architecture i386 apt-get update apt-get install libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libattr1:i386 libc6:i386 libc6-i686:i386 libcap2:i386 libdbus-1-3:i386 libflac8:i386 libgcc1:i386 libice6:i386 libjson0:i386 libogg0:i386 libpulse0:i386 libsm6:i386 libsndfile1:i386 libstdc++6:i386 libvorbis0a:i386 libvorbisenc2:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxi6:i386 libxtst6:i386 zlib1g:i386

get the Kokua version of autobuild
hg clone https://bitbucket.org/kokua/autobuild The Linden Lab version will not do the job. The kokua-autobuild version has scripting to allow older non-autobuild, mostly linux64, libraries to wind up in the packages directory of the build.

linux and linux 64 bit
the linux versions are tested to build and run using gcc 4.4.5, g++ 4.4.5 on debian squeeze and ubuntu lucid lynx.

get the Kokua source
the latest official source is here: hg clone https://bitbucket.org/kokua/kokua-release the latest beta source is here: hg clone https://bitbucket.org/kokua/kokua-beta

linux 64 bit
export AUTOBUILD_PLATFORM_OVERRIDE='linux64' autobuild configure -c RelWithDebInfoOS -- -DLL_TESTS=OFF

ReleaseOS and DebugOS are supported. Leaving out "export AUTOBUILD_PLATFORM_OVERRIDE='linux64'" will build the 32bit version, given you have anything installed for cross compiling. It's not tested if cross compiling linux64 on a 32bit linux works, but probably it does.

other platforms
autobuild configure -c RelWithDebInfoOS -- -DLL_TESTS=OFF

Instead of RelWithDebInfoOS you can also use ReleaseOS and DebugOS

Its not known how much fixing the Mac version needs.

build
autobuild build -c RelWithDebInfoOS

If you configured ReleaseOS or DebugOS replace  RelWithDebInfoOS accordingly.