Portable build for linux

Portable build for linux

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Portable build for linux

Post by xyz »

Hello,
I was thinking, why not have a portable build for linux also? Like this game does: http://ethernet.wasted.ch/

As I see it the spring bin file uses elf parser which I believe, can run on any LSB compatible distribution.

So why not put everything into one folder and tar-gz it? Or am I missing something?

Cheers.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Portable build for linux

Post by hoijui »

would the library versions not be a problem?
for example, gentoo users having boost 1.42, and ubuntu users 1.37. spring linked only against one of them.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Portable build for linux

Post by xyz »

Well according to this: http://forums.gentoo.org/viewtopic-t-38 ... t-lsb.html Gentoo does not claim to be LSB compatible :)

But anyway I did not have the time to really look into it. My reply is based on what I could google in 5 min.

I will try to put together a portable build at some point so we can test.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable build for linux

Post by koshi »

xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Portable build for linux

Post by xyz »

Am I the only one getting errors while trying to compile the 82.6.1 git snapshot?

I have also manage to get a "portable" build built against the latest GIT.

http://www.queeq.com/files/portable.tar.gz

The binary file is 100M or so, so I believe it has all the needed lbs in there. Linux guys please check if it works on your system. Thanks.

P.S.: the download is probably slow, as it is hosted on my home machine.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Portable build for linux

Post by hoijui »

complaining about compile errors without giving a log of them. -> baaaaad

could you explain how you did the portable build? edited CMake files? would we want to integrate that somehow?
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Portable build for linux

Post by xyz »

hoijui wrote:complaining about compile errors without giving a log of them. -> baaaaad
So this means I am the only one getting the error :)

Error log here: http://pastebin.com/bq1SeCNc
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Portable build for linux

Post by xyz »

hoijui wrote:could you explain how you did the portable build? edited CMake files?
I just set DCMAKE_INSTALL_PREFIX to a location in my home dir and I wanted to use the CDE tool on it, but then I saw the size of the file, and I was wandering why it is so big.
hoijui wrote:would we want to integrate that somehow?
Hmm, having a bin file of 100+M is not a really good idea, but also waiting for distros to update their repository is not a really good idea either (fedora is still at 0.82.5.2), but this might be due to the compiling error.
koshi wrote:viewtopic.php?p=237321#p237321
this also sounds like a good idea.

And there is also CDE.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Portable build for linux

Post by hoijui »

this error is fixed in master already. it seems to materialize only under uncommon situations. the last user with that error was using GCC 4.5, i think.
you can fix it by adding this to rts/lib/lobby/Connection.cpp:

Code: Select all

#include <list>
somewhere near the other includes.

if the is that big, it is because of the debug symbols. they are split off to a separate file by packagers.
Post Reply

Return to “Linux”