Difference between revisions of "User:AndrewW/Gentoo"

From FreeOrionWiki
Jump to: navigation, search
(Gentoo [64-bit])
(Gentoo [64-bit])
Line 36: Line 36:
  
 
  sed -i 's#PluginFolder=\.#PluginFolder=/usr/lib/OGRE/#' ogre_plugins.cfg
 
  sed -i 's#PluginFolder=\.#PluginFolder=/usr/lib/OGRE/#' ogre_plugins.cfg
 +
 +
To run:
 +
 +
./freeorion
  
 
Enjoy.
 
Enjoy.
  
 
No guarantees, but it worked for me anyways thought it might help someone else out.
 
No guarantees, but it worked for me anyways thought it might help someone else out.

Revision as of 18:10, 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

To run:

./freeorion

Enjoy.

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