User:AndrewW/Gentoo
From FreeOrionWiki
Gentoo
You will need the following packages:
- ogre
- boost
- bullet
- openal
- freealut
- libogg
- libvorbis
- zlib
- libpng
- subversion
Some of these may already be installed and you may not need to emerge all of these:
emerge ogre boost bullet openal freealut libogg libvorbis zlib libpng subversion -a
Create some links:
ln -s /usr/lib/libBulletCollision.so /usr/local/lib64/libbulletcollision.so ln -s /usr/lib/libBulletDynamics.so /usr/local/lib64/libbulletdynamics.so ln -s /usr/lib/libLinearMath.so /usr/local/lib64/libbulletmath.so
Get the current build:
svn co https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk freeorion
Create some additional links:
cd freeorion/FreeOrion ln -s /usr/lib/OGRE/Plugin_OctreeSceneManager.so . ln -s /usr/lib/OGRE/Plugin_ParticleFX.so . ln -s /usr/lib/OGRE/RenderSystem_GL.so . ln -s /usr/lib/OGRE/Plugin_BSPSceneManager.so . ln -s /usr/lib/OGRE/Plugin_OctreeZone.so . ln -s /usr/lib/OGRE/Plugin_PCZSceneManager.so .
You'll need to compile the Gigi that is included with the FreeOrion source.
cd GG cmake -DBUILD_TUTORIALS=off -DBUILD_OGRE_DRIVER=ON -DBUILD_OGRE_OIS_PLUGIN=ON . make
Back to the FreeOrion directory
cd ..
Compile: (You should already be in the freeorion/FreeOrion directory at this point, if not switch to that first)
cmake . make
Enjoy.
No guarantees, but it worked for me anyways thought it might help someone else out.