View topic - Badly needed, Spring Isolated on Ubuntu


All times are UTC + 1 hour


Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 27 Nov 2011, 08:19 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
This is for Desura Linux.

Desura linux is going Open Source client which means Desura is about to become the de-facto game DDP on *Nix.

That said, basically I need a spring for buntu that stays in it's own install dir and doesn't go outside of it. I'm going to use an sd7 for buntu instead of rapid (because of the way spring, linux and rapid work, it's actually less of an irritation to just use an sd7). This means the lobby needs to adhere to it as well.

Can someone help me? I know I am not providing enough details, but just ask whatever questions and I will answer to the best of my ability.

Sidenote: if someone would make me the crappiest lualobby on earth that actually worked I would be eternally grateful
Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 10:06 

Joined: 03 Jul 2011, 10:54
Isn't spring portable what you need?
Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 11:04 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Portable in spring has a different meaning for some reason. Portable spring on windows will happily go outside of it's install dir, so in order to keep it locked in it's cage you have to throw it in isolation mode.

Also, Windows installs != Linux installs. Entirely different ballgame. There is no "Portable" build of spring for linux at the moment.
Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 13:26 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
you have to compile it on the system you want to use it. more precicely, it depends on 32bit/64bit and on the version of all the libraries that spring uses, that are installed on the system.
to get it portable, you have to supply some values to cmake.
i build all my linux builds as portable ones, to prevent them of intermixing/falseifing testing results.
i dont have my build script here, but the values you have to set include:
LIBDIR, BINDIR, ...
most have t be set to ".".

as you well know, isolation mode is achieved through setting an env var, and it is changeable at start-time. so what you need is a portable build.

you have to do it yourself.
Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 13:46 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
hoijui wrote:
you have to do it yourself.
You don't, actually: using http://www.stanford.edu/~pgbovine/cde.html and a debian chroot (for sanity/repeatabilty) works nicely afaict
Top
 Offline Profile  
 
PostPosted: 30 Nov 2011, 18:10 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
From what I understand, portable builds of programs in linux is quite common and generally not a pain. What is spring's excuse?

CDE looks like the ticket, if I could figure out how to use it properly.
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 01:27 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Well another issue is that it seems to be quite difficult to get anyone in #sy to respond
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 05:07 
Spring Developer

Joined: 31 May 2009, 23:08
@hoijui:

isn't it possible to static link everything? this should allow to create an executable that runs with very few dependencies.
Top
 Offline Profile  
 
PostPosted: 01 Dec 2011, 05:30 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
I've spent basically all day trying to get anyone to respond in #sy
I think I could do it pretty easily, but I don't know the particulars of how spring works on *nix so I'm up against a brick wall until someone decides to help me out a bit.
Top
 Offline Profile  
 
PostPosted: 02 Dec 2011, 02:48 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Hoijui was a MASSIVE help and got me much of the way moved forward. Please see this thread (mods lock this thread pls):

http://springrts.com/phpbb/viewtopic.php?f=12&t=27228
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.