Page 1 of 1

Compiling gigi and freeorion on Gentoo Linux

Posted: Fri Sep 14, 2012 11:42 pm
by tomka
Hi, when building freeorion and the bundled gigi on Gentoo there are a couple of issues:

1) Gigi crashes the compiler when using swap as memory: https://bugs.gentoo.org/show_bug.cgi?id=434768
2) freeorion compiles, but does not run with boost-1.49: https://bugs.gentoo.org/show_bug.cgi?id=434952

I'd appreciate if anybody has suggestions on these issues.
Thanks,
Thomas

Re: Compiling gigi and freeorion on Gentoo Linux

Posted: Sat Sep 15, 2012 5:39 am
by Geoff the Medio
Various people have had issues getting FreeOrion to compile with 4 GB or less RAM, but this is the first I recall seeing about issues compiling GG. Regardless, I don't think this is anything we can fix, unless you can indicate a specific bit of code that's causing problems.

I also don't know what to tell you about FreeOrion with boost 1.49. My guess would be that you've got some conflict between dependencies' boost versions. Also, as far as I know, FreeOrion works fine with Boost 1.50 and 1.51. And "it crashes" isn't anything we can work with... so, just build against 1.48 if that's the latest working Boost version you can access.

Re: Compiling gigi and freeorion on Gentoo Linux

Posted: Sun Sep 23, 2012 11:26 am
by zhur
tomka wrote:2) freeorion compiles, but does not run with boost-1.49: https://bugs.gentoo.org/show_bug.cgi?id=434952
I installed boost 1.49 as well but the game works for me (Ubuntu).
Though I had a crazy problem that I couldn't solve for a long time but that was because I had two installations of Ogre and pkg-config selected wrong one by default. I don't know how it's handled in Gentoo but is there a chance that different headers somehow were used in GiGi and FreeOrion compilation or headers of incorrect Ogre version were used?