Page 1 of 1
Portable build for linux
Posted: 30 Oct 2010, 14:32
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.
Re: Portable build for linux
Posted: 30 Oct 2010, 14:35
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.
Re: Portable build for linux
Posted: 30 Oct 2010, 16:15
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.
Re: Portable build for linux
Posted: 30 Oct 2010, 16:19
by koshi
Re: Portable build for linux
Posted: 15 Nov 2010, 19:02
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.
Re: Portable build for linux
Posted: 16 Nov 2010, 13:42
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?
Re: Portable build for linux
Posted: 16 Nov 2010, 17:19
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
Re: Portable build for linux
Posted: 16 Nov 2010, 19:15
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.
Re: Portable build for linux
Posted: 16 Nov 2010, 23:14
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:
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.