SetupGuide
From Spring
Linux Setup Guide
Gentoo linux
- If you're running Gentoo linux, you're lucky, because an ebuild is already available.
The best way to install the ebuild in gentoo would be to add an portage overlay and copy the file into the overlay. Now in detail:
- mkdir /usr/local/portage
- add this line to you /etc/make.conf
PORTDIR_OVERLAY="/usr/local/portage" - download the ebuild you want, for example: spring-ebuilds-0.74-r3.tar.bz2
- mv spring-ebuilds-0.74-r3.tar.bz2 /usr/local/portage
- cd /usr/local/portage
- tar jxvf spring-ebuilds-0.74-r3.tar.bz2
- most likely you don't run a ~x86 system (unstable) so do a:
echo "games-strategy/spring ~x86" >> /etc/portage/package.keywords - echo "dev-libs/boost threads" >> /etc/portage/package.use
- if you want spring's evn version instead of stable do:
emerge spring-svn - You might want to have a look at the USE flags, type:
emerge -pv spring - the current useflags are debug, optimize(which i enabled and worked without errors), omni (for omni lobby) and unity (for Unity Lobby).
- finally install it with:
emerge spring
- if you get this error:
- Calculating dependencies... done!
- >>> Emerging (1 of 1) games-strategy/taspring-linux-release-0.72-r1 to /
- >>> checking ebuild checksums ;-)
- >>> checking auxfile checksums ;-)
- >>> checking miscfile checksums ;-)
- >>> checking taspring-linux-data-0.72b1.tar.bz2 ;-)
- >>> Unpacking source...
- !!! ERROR: games-strategy/taspring-linux-release-0.72-r1 failed.
- Call stack:
- ebuild.sh, line 1539: Called dyn_unpack
- ebuild.sh, line 711: Called src_unpack
- taspring-linux-release-0.72-r1.ebuild, line 45: Called subversion_src_unpack
- subversion.eclass, line 278: Called subversion_fetch
- subversion.eclass, line 127: Called die
- !!! subversion.eclass: ESVN_REPO_URI is empty.
- !!! If you need support, post the topmost build error, and the call stack if relevant.
- !!! This ebuild is from an overlay: '/usr/local/portage'
- Then try: rm -Rf /usr/portage/distfiles/svn-src/spring
- Afterwards do: emerge spring
=== Debian, Ubuntu