Compiling gigi and freeorion on Gentoo Linux

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
tomka
Space Krill
Posts: 1
Joined: Fri Sep 14, 2012 11:32 pm

Compiling gigi and freeorion on Gentoo Linux

#1 Post 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

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Compiling gigi and freeorion on Gentoo Linux

#2 Post 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.

zhur
Space Floater
Posts: 38
Joined: Thu Aug 09, 2012 8:15 am

Re: Compiling gigi and freeorion on Gentoo Linux

#3 Post 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?

Post Reply