This Tutorial assumes that you are using x86. If you are using amd64 just substitute the keyword.
Orxonox uses Ogre with CEGUI for rendering, OIS for input handling, eNet for network support Boost for threading and cMake as build-system. You will have to install these packages. Every needed package is in portage.
# echo "dev-games/cegui devil expat" >> /etc/portage/package.use # echo "dev-games/ogre cegui devil lua threads" >> /etc/portage/package.use
Some packages are unstable, for portage to use them do:
# echo "dev-games/ogre-1.4.5 ~x86" >> /etc/portage/package.keywords # echo "dev-games/ois-1.0 ~x86" >> /etc/portage/package.keywords
Then, emerge the packages. CEGUI and Boost are dependencies of Ogre, so they will not be installed explicitly. TCL is also mandatory.
# emerge cmake ogre ois tcl # CFLAGS="-fPIC" emerge enet
eNet needs to be compiled with -fPIC to be included as shared library (nico?: Dec '07).
Getting the Source Code
If you have not done so already, you need to install Subversion on your system. To do this, make sure that you have ssl included in your make.conf file:, which is normally located at /etc/make.conf:
... USE="..., ssl, ..." ...
Now emerge subversion:
# emerge subversion
Now proceed by following the steps described on the building page.