Portable Linux Spring Released!!! - Page 2

Portable Linux Spring Released!!!

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable Linux Spring Released!!!

Post by koshi »

Maybe I'm actually running into a situation similar to http://stackoverflow.com/questions/2738 ... -the-binut
Otherwise I guess I'll be looking into an automatic way of calculating the dependency closure...
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Portable Linux Spring Released!!!

Post by abma »

afaik this is where pkg-config comes in touch:

pkg-config --static --libs freetype2

should print all flags needed to staticly link freetype2...

maybe from this staticly linked linux distribution, you can get some hints, too: http://sta.li/
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable Linux Spring Released!!!

Post by koshi »

Haven't got much further with this. I did however stumble upon a big dumb hammer: http://statifier.sourceforge.net/statifier/main.html
Doesn't compile right away though. Will keep you posted.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable Linux Spring Released!!!

Post by koshi »

Didn't get that to build, but found something even better:
http://magicermine.com/trial.html
results in
http://springlobby.info/temp/static/spr ... _static_32http://springlobby.info/temp/static/spring_static_32 (71/144MB, built on buntu 10.04)
http://springlobby.info/temp/static/spring_static_64 http://springlobby.info/temp/static/spr ... _static_64 (71/41MB, built on buntu 11.10)
Testing on "foreign" systems, especially spring-free ones would be very welcome.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Portable Linux Spring Released!!!

Post by Forboding Angel »

http://pastebin.com/uGnfY412

Infolog from me running spring 64 ( http://springlobby.info/temp/static/spring_static_64 ). It seems to work perfectly. Linux Mint 12 - 64bit, vanilla. I haven't tested on lxde, but I can't imagine the results would be any different at all.

Only thing is, look at where it's trying to use the data directories, that's no good, but this is definitely progress in the right direction.

Grabbing the SL one now.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Portable Linux Spring Released!!!

Post by Forboding Angel »

Results of the SL one:
forboding-virtual-machine Downloads # ./springlobby_static_64
springlobby_static_64: was packed with Ermine Trial and should be used for evaluation only.
springlobby_static_64: license will expire in 30 day(s)
Segmentation fault
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable Linux Spring Released!!!

Post by koshi »

re Datadirs: that's ok, there's no magic involved yet, it's just the straight up spring binary
re SL segfault: catch me on lobby to debug
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Portable Linux Spring Released!!!

Post by koshi »

I've gotten pretty far with ermine: http://springlobby.info/temp/static/ermine_spring_32.7z
the only semi-ugly thing is the spring.actual binary needs preloading of the system gl lib (sth. like LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGL.so)

it also needs https://github.com/spring/spring/pull/29
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Portable Linux Spring Released!!!

Post by Forboding Angel »

Is this something that I can run in 64bit or do i need to have a 64bit version for that?
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Portable Linux Spring Released!!!

Post by jamerlan »

Is it possible to make portable 85 linux version of spring and put a link to main release thread? Currently no packages available so portable version can help! It will be perfect to see portable linux versions for new releases like it done for windows now.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Portable Linux Spring Released!!!

Post by Forboding Angel »

That's what koshi is working on. Unfortunately it isn't a simple process, so just be patient :-)
Post Reply

Return to “Engine”