Installing spring at uni

Installing spring at uni

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

Moderator: Moderators

Post Reply
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Installing spring at uni

Post by Comp1337 »

My uni runs a linux system (red hat enterprise), what would be the best bet for installing spring here (keep in mind that i am missing dependancies, do not have root etc)?
the games will probably only be local, would wine work then?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Installing spring at uni

Post by Kloot »

You could take the all-in-one-directory approach:

Code: Select all

/home/1337/ (or wherever your account is based)
|-- spring077b5/
|   |-- AI/
|   |   |-- Bot-libs/
|   |   |-- Helper-libs/
|   |-- base/
|   |-- fonts/
|   |-- LuaUI/
|   |-- maps/
|   |   |-- DeltaSiegeDry.sd7
|   |   |-- SpeedMetal.sd7
|   |-- mods/
|   |   |-- BA65.sd7
|   |-- spring.bin
|   |-- unitsync.so
|   |-- selectkeys.txt
|   |-- uikeys.txt
|   |-- usericonds.tdf

... etc
Add "SpringData=/home/1337/spring077b5/" to ~/.springrc-0.77b5 and
you'll have a mostly self-contained install (that may or may not run ;)).
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Installing spring at uni

Post by lurker »

And plenty of use of
rpm --install --prefix "/home/username/local" (or maybe --relocate?)
./configure --prefix=/home/username/local
SteelSide
Posts: 9
Joined: 04 Oct 2008, 13:51

Re: Installing spring at uni

Post by SteelSide »

If you got chroot you could always create a little mini system inside your homedir (incase it doesn't like the ~/username/local/ aproach. With chroot it is fooled the directory target of chroot is the real root, so ~/username/<mahspringdir> it thinks is /, and etc/ inside that it think it's the real etc... and so on)
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Installing spring at uni

Post by BrainDamage »

try this static binary installer? (lot of people had issues with it tho)

currently, the thread below :P
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Re: Installing spring at uni

Post by Comp1337 »

Kloot wrote:You could take the all-in-one-directory approach:

Code: Select all

/home/1337/ (or wherever your account is based)
|-- spring077b5/
|   |-- AI/
|   |   |-- Bot-libs/
|   |   |-- Helper-libs/
|   |-- base/
|   |-- fonts/
|   |-- LuaUI/
|   |-- maps/
|   |   |-- DeltaSiegeDry.sd7
|   |   |-- SpeedMetal.sd7
|   |-- mods/
|   |   |-- BA65.sd7
|   |-- spring.bin
|   |-- unitsync.so
|   |-- selectkeys.txt
|   |-- uikeys.txt
|   |-- usericonds.tdf

... etc
Add "SpringData=/home/1337/spring077b5/" to ~/.springrc-0.77b5 and
you'll have a mostly self-contained install (that may or may not run ;)).
basically i compile at home, do this, stick it on a thumbdrive, and boom?

Also, does this solve the problem of missing libGLEW and such?
Martin
Posts: 2
Joined: 13 Sep 2008, 21:38

Re: Installing spring at uni

Post by Martin »

I have installed lots of stuff at my university, though not spring. But in 99% of the cases it is enough to do

Code: Select all

./configure --prefix=$HOME/opt && make && make install
and then add "~/opt/bin" to your PATH and maybe also "~/opt/lib" to your LD_LIBRARY_PATH.
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: Installing spring at uni

Post by Nemoder »

A bigger problem might be the lack of good 3D video hardware and the proprietary drivers for it. I don't think spring runs too well (or at all?) with software rendering even on fast CPUs.

You can certainly give the mojosetup installer a try, it doesn't need root access and any missing libs you can download for your system and just put in the Spring/libs directory.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Re: Installing spring at uni

Post by Comp1337 »

hardware wont be a prob..
Ill try the Mojo-installer again i think

Compiling doesnt work here though, missing loads of deps
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Re: Installing spring at uni

Post by Comp1337 »

Installed using Mojo, spent a while downloading rpms and manually getting the libs out into /spirng/lib, and now i get

Code: Select all

./springstart.sh: line 2: 25550 Floating point exceptionLD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH ./springlobby "$@"

Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: Installing spring at uni

Post by Nemoder »

I tested it on Fedora8 and Fedora9 liveCDs and it ran ok.
Not sure why the lobby is crashing for you, you could try running spring directly and see if that much works:
LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH ./spring
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Installing spring at uni

Post by clericvash »

It won't help with any missing dependencies, since obviously they need to be installed on your system you play it on, so you need root to be able to install them.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Re: Installing spring at uni

Post by Comp1337 »

Though it should work if I copy all the missing dependancies to the spring/libs dir right?

Also, hox important is it that the libs are for the right distro? is it possible to mix nd match?
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: Installing spring at uni

Post by Nemoder »

The springstart.sh script will tell it to look in the spring/libs dir for any missing system libs but they must be libs that are built for your specific distribution and version.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Re: Installing spring at uni

Post by Comp1337 »

Then i am fucked i guess
there are basically no libs for RHEL .(
Post Reply

Return to “Linux”