Difference between revisions of "User:AndrewW/Gentoo"

From FreeOrionWiki
Jump to: navigation, search
m (Gentoo)
Line 23: Line 23:
 
  ln -s /usr/lib/libBulletDynamics.so /usr/local/lib64/libbulletdynamics.so
 
  ln -s /usr/lib/libBulletDynamics.so /usr/local/lib64/libbulletdynamics.so
 
  ln -s /usr/lib/libLinearMath.so /usr/local/lib64/libbulletmath.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
 
  cd freeorion/FreeOrion
Line 32: Line 40:
 
  ln -s /usr/lib/OGRE/Plugin_PCZSceneManager.so .
 
  ln -s /usr/lib/OGRE/Plugin_PCZSceneManager.so .
  
Get the current build:
 
  
svn co https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk freeorion
 
  
 
Compile: (You should already be in the freeorion/FreeOrion directory at this point, if not switch to that first)
 
Compile: (You should already be in the freeorion/FreeOrion directory at this point, if not switch to that first)

Revision as of 22:33, 17 February 2013

Gentoo

You will need the following packages:

  • gigi - (includes ogre when emerging, so ogre doesn't need to be specified)
  • 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 gigi 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 .


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.