Linux freeorion executable

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

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

Re: Linux freeorion executable

#76 Post by Geoff the Medio » Sat Mar 16, 2013 10:40 pm

Nagilum wrote:It should work on Mint and Ubuntu.
Probably also on Debian and other derivates.
Ok. Can you also list distros that the previous style of Linux build would be expected to work on? There's probably a discussion about it somewhere, but I'm not sure where that would be.

And:
Geoff the Medio wrote:Still not clear about whether the .deb files should be on sourceforge...

User avatar
shadowwraith
Space Floater
Posts: 28
Joined: Tue Jan 29, 2013 3:05 pm
Location: Scotland

Re: Linux freeorion executable

#77 Post by shadowwraith » Sun Mar 17, 2013 3:02 am

Nagilum wrote:It was just a first version.
I just finished an amd64 version which - at least for me - finally makes the sound work again.
http://www.nagilum.org/freeorion-0.4.2_r5866_amd64.deb
I'll create an updated i686 version later today which I'll give a proper name.

Update: Fixed dependency. Added dependency graph of the libs.. :>
OK Nagilum i tried your deb package since others weren't working i thought i'd give it a shot.

The package itself installed fine, tried to launch FO via the launch menu i.e menu -> games but it wasn't there so i searched for the executable it was in /usr/local/freeorion/bin launched it via terminal with ./freeorion this error appeared
/usr/local/freeorion/bin/freeorion.elf: error while loading shared libraries: libOgreMain.so.1.8.1: cannot open shared object file: No such file or directory
searched synaptic for libogre the only version available is 1.8, i did a little digging and found libogremain 1.8.1 in freeorion/libs i created a symlink from freeorion/libs/libOgreMain.so.1.8.1 to /usr/libs/libOgreMain.so.1.8.1

the game launched fine with sound, i selected single player, then clicked on ok to start the game the game froze with a nearly black screen.

i checked the terminal and this error was there
"/usr/local/freeorion/bin/freeorionca": error while loading shared libraries: libboost_python.so.1.52.0: cannot open shared object file: No such file or directory
searched synaptic again for libboost_python, only libboost_python 1.50 is available in the ubuntu repos atm, i searched in freeorion/libs but the library file was not there.

So your getting there slowly and this is greatly appreciated, hopefully the info here will help.

Regards

Shadowwraith

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

Re: Linux freeorion executable

#78 Post by Geoff the Medio » Sun Mar 17, 2013 3:15 am

Does it start up a game OK if you select 0 AI players?

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#79 Post by Nagilum » Sun Mar 17, 2013 10:47 am

shadowwraith: you're supposed to start it with "/usr/local/bin/freeorion".
It should be in $PATH..
Also for future reports always include your "lsb_release -a" output and which version you tested.
Thanks.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#80 Post by Nagilum » Sun Mar 17, 2013 11:20 am

Ok, here my latest build:
http://www.nagilum.org/FreeOrion-5873-Linux-Test.tar.xz
http://www.nagilum.org/freeorion-0.4.2_r5890_amd64.deb
http://www.nagilum.org/freeorion-0.4.2_r5890_i386.deb

MD5(FreeOrion-5873-Linux-Test.tar.xz)= 009c31de2d9883e437ce2f6f27a94971
MD5(freeorion_0.4.2-5890_amd64.deb)= ba84c815462389ed168ff5fd420edc5b
MD5(freeorion_0.4.2-5890_i386.deb)= 7c2a2ee42bc1c8ab38354be5e735c535

Also includes a few fixes for the deb files.

i386:
  • Install:

    Code: Select all

    dpkg -i freeorion-0.4.2_r5890_i386.deb
    Deinstall:

    Code: Select all

    dpkg -P freeorion:i386
amd64:
  • Install:

    Code: Select all

    dpkg -i freeorion-0.4.2_r5890_amd64.deb
    Deinstall:

    Code: Select all

    dpkg -P freeorion
Usage: Either just run "freeorion" or if that doesn't work "/usr/local/bin/freeorion".

Update: updated the links and md5s to the debs
Last edited by Nagilum on Wed Mar 27, 2013 1:18 am, edited 1 time in total.

User avatar
shadowwraith
Space Floater
Posts: 28
Joined: Tue Jan 29, 2013 3:05 pm
Location: Scotland

Re: Linux freeorion executable

#81 Post by shadowwraith » Sun Mar 17, 2013 2:59 pm

Freeorion Version 0.4.2 5873

Output of uname -a
Linux localhost 3.5.0-26-lowlatency #26-Ubuntu SMP PREEMPT Fri Mar 1 16:17:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Output of lsb_release
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Nagilum your most recent version installed and executed without a single error or hitch, tested the game with 0 AI, ran through ~20 turns without error.

My only gripes about the game so far is that the game still doesn't appear in the Launch menu's, i got around this by creating a panel shortcut, my only other gripe is this

Image

There seems to be an encoding error with the tech descriptions also there is no visible indication whether a tech has been researched or not without filtering.

I have included the game logs from that session.

All in all well done Nagilum, hopefully your deb files will work on future versions of the game :)
Attachments
freeoriond.log
Freeorion Server log
(19.84 KiB) Downloaded 52 times
freeorion.log
Freeorion Game log
(11.33 KiB) Downloaded 60 times

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#82 Post by Nagilum » Sun Mar 17, 2013 4:23 pm

Regrading your gripes, use the filters at the bottom.
AIs should work too so feel free to me know how that goes.
Thanks for testing!

User avatar
Dilvish
AI Lead, Programmer
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Linux freeorion executable

#83 Post by Dilvish » Sun Mar 17, 2013 7:59 pm

shadowwraith wrote:There seems to be an encoding error with the tech descriptions
I see that the unlock section there is off, which is odd since it looks to me like none of the relevant files have been touched between 5873 and 5872 (which I'm looking at at this moment). Does that problem pop up for other techs? If so I'd just recommend being sure to upgrade next time Nagilum puts up a package; its the kind of glitch that tends to get fixed quite quickly (at least if its a problem in the actual svn version).
also there is no visible indication whether a tech has been researched or not without filtering.
In the test builds (such as Nagilum packages) the Tech UI is currently undergoing significant revision and during the interim may temporarily lose some features. If you want to follow or contribute to the discussion of that, here is the thread: viewtopic.php?f=6&t=7344
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
shadowwraith
Space Floater
Posts: 28
Joined: Tue Jan 29, 2013 3:05 pm
Location: Scotland

Re: Linux freeorion executable

#84 Post by shadowwraith » Sun Mar 17, 2013 8:56 pm

i see that the unlock section there is off, which is odd since it looks to me like none of the relevant files have been touched between 5873 and 5872 (which I'm looking at at this moment). Does that problem pop up for other techs? If so I'd just recommend being sure to upgrade next time Nagilum puts up a package; its the kind of glitch that tends to get fixed quite quickly (at least if its a problem in the actual svn version)
the ENC error seems to appear on any tech that unlocks another take for example the pic from my last post Environmental Encapsulation which unlocks Orbital Construction, BUT if you look at the pic below

Image

Any tech that unlocks multiple techs, only the first tech unlock that is listed gets effected by the error, all other listed tech unlock entries afterwards for that tech is unaffected by the error.

Hope it helps

Regards

Shadowwraith

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

Re: Linux freeorion executable

#85 Post by Geoff the Medio » Sun Mar 17, 2013 9:55 pm

Update to the latest SVN.

The pedia text issue isn't specific to the Linux build, so please discuss it on a separate thread (if it persists after updating the stringtable).

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#86 Post by Nagilum » Mon Mar 18, 2013 10:21 pm


User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#87 Post by Nagilum » Wed Mar 20, 2013 9:34 pm

Allright,
I managed to set up a repo today.
Nothing in there but the freeorion debs. In order to use it do:

Code: Select all

echo 'deb http://www.nagilum.org/repo/ freeorion main' >>/etc/apt/sources.list.d/freeorion.list
curl http://nagilum.org/repo/orion@nagilum.org.key.asc|apt-key add -
After that for installing:

Code: Select all

apt-get update
apt-get install freeorion
And any updates should show up automagically...

User avatar
Dilvish
AI Lead, Programmer
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Linux freeorion executable

#88 Post by Dilvish » Wed Mar 20, 2013 10:18 pm

cool!
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: Linux freeorion executable

#89 Post by Bigjoe5 » Thu Mar 21, 2013 11:20 pm

Nagilum wrote:Allright,
I managed to set up a repo today.
Works for me on Ubuntu 12.04.
Warning: Antarans in dimensional portal are closer than they appear.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Linux freeorion executable

#90 Post by Nagilum » Fri Mar 22, 2013 7:16 am

Thanks for testing!
Updated repo to 5890.

Post Reply