NOT linux friendly...

NOT linux friendly...

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

Moderator: Moderators

Biggen
Posts: 2
Joined: 26 Feb 2007, 16:21

NOT linux friendly...

Post by Biggen »

Just thought I would share some concerns from my expierences trying to get spring to run on linux (SuSe 10.2). From what I can tell, it looks like the linux version of Spring was an afterthought. I tried for about two hours yesterday trying to get the darn thing to run before I finally gave up. I typically set a 30 minute time limit when trying to compile and run new programs and spring took well over that (technically I never got it to run). So I thought I would touch on a couple of points that lead me to believe that the linux port was thrown together. These are all my opinions and I could be dead wrong but I thought some input may prove good toward winning over the linux faithful.

1. Had trouble figuring out what to download right from the "get-go" on the Download page. Of course running Linux, I always want the source code so that I can compile it myself. Saw the source listed under development but wasn't sure if that was what I needed. Might want to add a "Download for Linux" tag or something to the paragraph explaining the source code. Especially since it is listed under all the other installers at the top of the page.

2. Got the source, now what!?! Went to the fourms to have a look around and found a linux how-to sticky at the top of the linux forum. "OK", I thought... "Should be easy from here on out".... Noticed right off the bat that i would need a half a dozen or so dependencies to build the source. Nothing out of the ordinary if one is familiar with Linux. It would have been nice if links were included in the post that points to the project page for each dependency but luckily (for me) I have Yast with SuSe so I was able to get what I needed quickly.

3. After getting all the dependencies installed I also then noticed that I needed ANOTHER file called the linux data file that is not even listed on the download page!! In fact, its only mention of existence is in this sticky. Wierd, but ok. Not only that, but the version number for the linux data file is 74b1 while the source is 74b3. Hmm.... Getting stranger...

4. I proceded to "scons" the thing and scons came back with a "Python 2.4 not found". Really... Last I checked I had Python 2.5 loaded and operational. Back to the forums.... Found that I wasn't the only person that has this problem. Apparently the makefile is hard coded for Python 2.4 only. So after going in and editing the makefile so that it will look for Python 2.5 I re-ran "scons configure" and then "scons" and the project finally built.

5. Here is where I really got confused and it had to do with that damn linux data file. The readme that comes in the data file seems to be totally different from the sticky instructions. First off, the sticky said to unzip the tarball inside the spring "game" directory and overwrite the files yet the readme from the linux data doesn't say anything like this. The readme says to create a ".springrc" file with a specific path to the game (or data, can't remember) while the sticky doesn't reflect that at all.

Basically I got stuck here and didn't know what to do. Do I overwrite? Where does the linux data go? How do I get spring to see the data? Do I really need that ".springrc" file? etc...

So that is where I gave up and did a "rm -rfd" on the entire directory...

I not writing this post to bash the developers. I have read some great things on this project and would have loved to be able to get this thing up and running. But the lack of documentation for the linux version has me wondering if that will ever be possible (for at least me). God knows, I'm not perfect and the small projects I have done with linux in the past are not perfect either. Especially since this is an open source project it will always be a work-in-progress. That is a great thing!! But I just thought I would pass on some (hopefully) meaningful information to make the linux port much more friendly to idiots like me... :-)

The bottom line of my post is this: It needs better documentation for linux. Without it, the slightly confused (again, like me) have no hope of getting it work to work...
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Might have missed the wiki entry
http://spring.clan-sy.com/wiki/SetupGuide

Which contains the berlios link & the instructions should still be ok, (still needs some GUI polish though).

If u are still stuck always irc

Code: Select all

irc.freenode.net  #taspring
(generally linux users, since was focus point for porting over to linux originally i believe)
or

Code: Select all

irc.quakenet.org #sy
Offical Debian package i believe is in the works, 3rd Party Gentoo Ebuild and think its time i get around to making an rpm (testing with Fedora).
Last edited by hollowsoul on 26 Feb 2007, 22:11, edited 1 time in total.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Try http://spring.clan-sy.com/wiki/SetupGuide , it should be fairly accurate (it's the last / only place I've updated recently, and I have the feeling no one else is working on installation etc. on Linux)

EDIT: bah, beaten
Biggen
Posts: 2
Joined: 26 Feb 2007, 16:21

Post by Biggen »

Thanks for the quick replies guys. I have a look at that information to see if it clears up any of my confusion!!

Since I "rm'ed" the damn thing I gotta download it again....

;-)
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

It would be a nice idea to make the download page on this website a bit more linux friendly...
10053r
Posts: 297
Joined: 28 Feb 2005, 19:19

Post by 10053r »

.debs are available for ubuntu. You might be able to make these work with suse with the use of the package "alien" to translate the .debs. I would also like to mention that the reason there are no good instructions is that it isn't really ready for the end user. There is no native linux lobby in any form of stability, and you must used a hacked executable and wine if you want to use the windows client.

Honestly, getting spring on linux working is hard because if this wasn't open source, the developers would never have even considered letting the world see it in the current state. Consider it an early beta, or a late alpha. Good installers are usually the LAST thing people build, not the first.
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

About the debs in Ubuntu. They surely are the easiest way of installing Spring.

However, the debs are outdated (I think the version was 72b1) and they don't include any lobbies.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

No they aren't, I made new ones for 0.74b3. (see http://spring.clan-sy.com/wiki/SetupGuide )
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

Didn't see them, sorry.
I meant the ones in the Ubuntu repositories. They have some maps, some AIs, and all you have to do is basically type

Code: Select all

sudo apt-get install spring
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

:shock: I didn't even know there were some in the ubuntu repositories

EDIT: they arent in the official repositories, are you sure you don't just have added some custom repository to /etc/apt/sources.list?
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

Well, there are Universe and Multiverse repositories in Ubuntu. They are not enabled by default, but contain lots of useful stuff, so probably the first thing anyone would do in Ubuntu is enable them.
The universe component is a snapshot of the free, open source, and Linux world. In universe you can find almost every piece of open source software, and software available under a variety of less open licences, all built automatically from a variety of public sources.
That's where Spring is I think.

EDIT: In any case, it would have been nice to have a single deb or rpm or whatever, right now in order to actually get the game going, people need to download mods and maps, and probably the base-ota-content stuff... The installation process is still a bit complicated.
Last edited by SupaSonic on 27 Feb 2007, 14:57, edited 1 time in total.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I think he may mean the really old ones called "debspring" which the guy no longer updates.
User avatar
SupaSonic
Posts: 26
Joined: 24 Feb 2007, 14:43

Post by SupaSonic »

clericvash wrote:I think he may mean the really old ones called "debspring" which the guy no longer updates.
Yep, that's the ones.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I am fraid they are no longer updated or supported by anyone buddy!

FBO (i think if memory serves) was the maker and maintainer of them but he got tied up with other work and dissapeared :(
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Well, actually the debs Cyril Brulebois and I made are based on the ones from fbo.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Yeah i meant the ones sonic ad, they are FBO's ones from his site, which are not supported as they are old and he does not update them, obviously yours are since they are recent.

But they should be added to the download page in all honesty.
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Post by pheldens »

generic script for all distros that meet the environment prerequisites.
http://spring.clan-sy.com/phpbb/viewtopic.php?t=6905
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

I think the initial post of Biggen should be taken more seriously and that those are very valid issues that i've goten into too when making Spring run in Linux.

You may want to consider «removing» older documentation.

And thanks to Biggen for a nice compilation and proper sequence of events and problems. I found it very «the same problems i've been encountering from the past».

I really think someone should look into it seriously. As in, really think as a person coming to this site without knowing nothing about nothing.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

As i have said on many occasions the spring website itself needs to be more non-windows friendly!
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

A nice bit to be done & polished someone feel like picking up the torch and help out...
Talking accomplishing very little.

Lets see docs could do with gui love
We got .debs
We got ebuild
Someone want to make rpm's? ( I get them done eventually but talking days/weeks till i get some ready)
Post Reply

Return to “Linux”