Building for Gentoo Linux [64-bit]

Questions, problems and discussion about compiling FreeOrion.
Message
Author
AndrewW
Juggernaut
Posts: 767
Joined: Mon Feb 04, 2013 10:15 pm

Re: Building for Gentoo Linux

#16 Post by AndrewW » Thu Mar 21, 2013 8:32 pm

Updated the instructions on the Wiki and the first post in this thread to include building the Gigi that comes with the source rather then using the Gigi package.

myk
Space Krill
Posts: 3
Joined: Thu Oct 24, 2013 7:41 pm

Re: Building for Gentoo Linux [64-bit]

#17 Post by myk » Thu Oct 24, 2013 7:45 pm

what were the USE flags for dev-games/ogre that you used?

AndrewW
Juggernaut
Posts: 767
Joined: Mon Feb 04, 2013 10:15 pm

Re: Building for Gentoo Linux [64-bit]

#18 Post by AndrewW » Thu Oct 24, 2013 8:15 pm

myk wrote:what were the USE flags for dev-games/ogre that you used?
Set:
boost, freeimage, opengl, threads, zip

myk
Space Krill
Posts: 3
Joined: Thu Oct 24, 2013 7:41 pm

Re: Building for Gentoo Linux [64-bit]

#19 Post by myk » Thu Oct 24, 2013 8:26 pm

AndrewW wrote:boost, freeimage, opengl, threads, zip
Should the ois flag not be set?

I had:
dev-games/ogre-1.8.1 USE="boost cg freeimage ois opengl threads zip -doc -double-precision -examples -gles2 -poco -profile -tbb -tools"

(cg is for NVidia) do poco/tbb (threading implementations) have any relevance?

AndrewW
Juggernaut
Posts: 767
Joined: Mon Feb 04, 2013 10:15 pm

Re: Building for Gentoo Linux [64-bit]

#20 Post by AndrewW » Fri Oct 25, 2013 2:30 am

myk wrote:
AndrewW wrote:boost, freeimage, opengl, threads, zip
Should the ois flag not be set?

I had:
dev-games/ogre-1.8.1 USE="boost cg freeimage ois opengl threads zip -doc -double-precision -examples -gles2 -poco -profile -tbb -tools"

(cg is for NVidia) do poco/tbb (threading implementations) have any relevance?
Don't know on the ois, didn't happen to have it on mine. Really couldn't say just what effect any individual one would have on this, just happen to know been working here with the flags I had set.

Supports:

boost
enable boost support

cg
NVIDIA toolkit plugin

double-precision
more precise calculations at the expense of speed

freeimage
support images via freeimage

gles2
build OpenGL ES 2.x RenderSystem

ois
pull in Object-oriented Input System library for samples

poco
when USE=threads, use poco for threading

tbb
when USE=threads, use tbb for threading

tools
build+install helper tools

zip
support zip archives

pheldens
Pupating Mass
Posts: 96
Joined: Fri Mar 15, 2013 12:54 pm

Re: Building for Gentoo Linux [64-bit]

#21 Post by pheldens » Sun Dec 14, 2014 12:12 pm

note: it only builds with boost 1.55

theres another branch that builds with 1.56 , but that segfaults upon start, so theres no linux build possible at present

AndrewW
Juggernaut
Posts: 767
Joined: Mon Feb 04, 2013 10:15 pm

Re: Building for Gentoo Linux [64-bit]

#22 Post by AndrewW » Mon Dec 15, 2014 2:13 am

pheldens wrote:note: it only builds with boost 1.55

theres another branch that builds with 1.56 , but that segfaults upon start, so theres no linux build possible at present
Current stable Boost in portage is: 1.55.0-r2.

But one can add a block to /etc/portage/package.mask to disallow newer versions:

>=dev-libs/boost-1.56


AndrewW
Juggernaut
Posts: 767
Joined: Mon Feb 04, 2013 10:15 pm

Re: Building for Gentoo Linux [64-bit]

#24 Post by AndrewW » Thu Mar 26, 2015 5:07 pm

Note this is for compiling it outside of portage, and has nothing to do with the package.

Post Reply