Difference between revisions of "User:AndrewW/Gentoo"

From FreeOrionWiki
Jump to: navigation, search
(Gentoo [64-bit])
(Gentoo [64-bit])
Line 19: Line 19:
 
  emerge ogre boost bullet openal freealut libogg libvorbis zlib libpng ois subversion -a
 
  emerge ogre boost bullet openal freealut libogg libvorbis zlib libpng ois subversion -a
  
 +
To set python to a 2.x version:
 +
 +
eselect python list
 +
eselect python set x (replace with the number from the above list)
  
 
Get the current build:
 
Get the current build:
Line 28: Line 32:
 
  cmake .
 
  cmake .
 
  make
 
  make
 +
 +
Tell it where to find things:
  
 
  sed -i 's#PluginFolder=\.#PluginFolder=/usr/lib/OGRE/#' ogre_plugins.cfg
 
  sed -i 's#PluginFolder=\.#PluginFolder=/usr/lib/OGRE/#' ogre_plugins.cfg

Revision as of 18:07, 16 June 2013

Gentoo [64-bit]

You will need the following packages:

  • ogre
  • boost
  • bullet
  • openal
  • freealut
  • libogg
  • libvorbis
  • zlib
  • libpng
  • ois
  • 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 ois subversion -a

To set python to a 2.x version:

eselect python list
eselect python set x (replace with the number from the above list)

Get the current build:

svn co http://svn.code.sf.net/p/freeorion/code/trunk/FreeOrion/ freeorion

Compile: (You should already be in the freeorion directory at this point, if not switch to that first)

cmake .
make

Tell it where to find things:

sed -i 's#PluginFolder=\.#PluginFolder=/usr/lib/OGRE/#' ogre_plugins.cfg

Enjoy.

No guarantees, but it worked for me anyways thought it might help someone else out.