<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Evolux</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Evolux"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Evolux"/>
	<updated>2026-11-09T00:07:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16372</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16372"/>
		<updated>2006-09-24T21:20:53Z</updated>

		<summary type="html">&lt;p&gt;Evolux: remove gemadata and bitmaps directories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux Setup Guide ==&lt;br /&gt;
&lt;br /&gt;
=== gentoo linux ===&lt;br /&gt;
* If you&#039;re running [http://www.gentoo.org Gentoo linux], you&#039;re lucky, because [http://developer.berlios.de/project/showfiles.php?group_id=4358 an ebuild is already available].&amp;lt;br&amp;gt;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:&amp;lt;br&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;mkdir /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# add this line to you /etc/make.conf&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&amp;lt;/b&amp;gt;&lt;br /&gt;
:# download the ebuild you want, for example: taspring-linux-release-ebuild-0.72-r1.tar.bz2&lt;br /&gt;
:# &amp;lt;b&amp;gt;mv taspring-linux-release-ebuild-0.72-r1.tar.bz2 /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;cd /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;tar jxvf taspring-linux-release-ebuild-0.72-r1.tar.bz2&amp;lt;/b&amp;gt;&lt;br /&gt;
:# most likely you don&#039;t run a ~x86 system (unstable) so do a:&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;echo &amp;quot;games-strategy/taspring-linux-release ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;echo &amp;quot;dev-libs/boost threads&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;/b&amp;gt;&lt;br /&gt;
:# You might want to have a look at the USE flags, type:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge -pv taspring-linux-release&amp;lt;/b&amp;gt;&lt;br /&gt;
:# finally install it with:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge taspring-linux-release&amp;lt;/b&amp;gt;&lt;br /&gt;
:* if you get this error:&lt;br /&gt;
:: Calculating dependencies... done!&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Emerging (1 of 1) games-strategy/taspring-linux-release-0.72-r1 to /&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking ebuild checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking auxfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking miscfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking taspring-linux-data-0.72b1.tar.bz2 ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Unpacking source...&lt;br /&gt;
:: &lt;br /&gt;
:: !!! ERROR: games-strategy/taspring-linux-release-0.72-r1 failed.&lt;br /&gt;
:: Call stack:&lt;br /&gt;
::   ebuild.sh, line 1539:   Called dyn_unpack&lt;br /&gt;
::   ebuild.sh, line 711:   Called src_unpack&lt;br /&gt;
::   taspring-linux-release-0.72-r1.ebuild, line 45:   Called subversion_src_unpack &lt;br /&gt;
::   subversion.eclass, line 278:   Called subversion_fetch&lt;br /&gt;
::   subversion.eclass, line 127:   Called die&lt;br /&gt;
:: !!! subversion.eclass: ESVN_REPO_URI is empty.&lt;br /&gt;
:: !!! If you need support, post the topmost build error, and the call stack if relevant.&lt;br /&gt;
:: &lt;br /&gt;
:: !!! This ebuild is from an overlay: &#039;/usr/local/portage&#039; &lt;br /&gt;
:* Then try: &amp;lt;b&amp;gt;rm -Rf /usr/portage/distfiles/svn-src/spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* Afterwards do: &amp;lt;b&amp;gt;emerge taspring-linux-release&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== all other linux distributions ===&lt;br /&gt;
&lt;br /&gt;
In short, to get spring compiled under linux, make sure you&#039;ve got all necessary development packages installed. On [http://www.ubuntu.com/ (K)Ubuntu linux], and maybe [http://www.debian.org/ Debian] too, this can be done by copying the following in a root terminal (or use the graphical package manager Synaptic or Adept if you can&#039;t stand commandline):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;apt-get install build-essential subversion scons libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-filesystem-dev libboost-regex-dev libdevil-dev libfreetype6-dev python2.4-dev&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;For any other distribution, grab these libraries and the base development packages too (for Gentoo, base development packages aren&#039;t needed, because everything is compiled from source: they&#039;re already installed). I&#039;ve no clue about RPM based distros. But [http://www.google.com google] is your friend.&lt;br /&gt;
&lt;br /&gt;
* Grab the latest work-in-progress sourcecode from subversion (using commandline SVN): &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;svn co https://taspring.clan-sy.com/svn/spring/trunk&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Or look in https://taspring.clan-sy.com/svn/spring/tags/ for the last official release.&lt;br /&gt;
&lt;br /&gt;
* To compile the sourcecode, switch to the trunk directory created by the svn checkout in the previous step. Then type: &amp;lt;code&amp;gt;scons configure&amp;lt;/code&amp;gt; to configure the build. (You can fine tune the build by passing options to this command [for enabling debugging/optimizing etc.]. Type &amp;lt;code&amp;gt;scons --help&amp;lt;/code&amp;gt; to view the available options.) Now, if you really installed all development package, the scons configure will output: &amp;quot;Everything seems OK. Run `scons&#039; now to build.&amp;quot;. If it outputs with an error you&#039;re probably missing a development package. &lt;br /&gt;
&lt;br /&gt;
* As instructed on end of previous step, type: &amp;lt;code&amp;gt;scons&amp;lt;/code&amp;gt; Spring will now build including [[NTAI]], [[JCAI]] and a few [[GroupAI]]s. You should end up with a file &amp;lt;code&amp;gt;trunk/game/spring&amp;lt;/code&amp;gt; (the executable) and some shared objects (SOs or DLLs) in &amp;lt;code&amp;gt;trunk/game/aidll&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Now, grab [https://developer.berlios.de/project/showfiles.php?group_id=4358 the linux data tarball] and extract it somewhere. This will create a directory taspring-linux-data-0.71b1 (or higher version number).&lt;br /&gt;
&lt;br /&gt;
* Put a symlink to the spring executable in the data directory:&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;ln -s /path/to/trunk/game/spring /path/to/taspring-linux-data-0.71b1/spring&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optionally, make symlinks for the shared objects in &amp;lt;code&amp;gt;trunk/game/aidll too&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* For the current svn version, the directories &amp;quot;gamedata&amp;quot; and &amp;quot;bitmaps&amp;quot; are superseded by content from sdz archives, you should delete these directories from the data directory.&lt;br /&gt;
&lt;br /&gt;
* Now run spring by &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt;&#039;ing (change dir) to the &amp;lt;code&amp;gt;taspring-linux-data-0.71b1&amp;lt;/code&amp;gt; directory and typing: &amp;lt;code&amp;gt;./spring&amp;lt;/code&amp;gt; If you&#039;ve compiled with debugging enabled, you might want to run inside gdb to provide the devs with a backtrace if spring crashes: &amp;lt;code&amp;gt;gdb ./spring&amp;lt;/code&amp;gt;&lt;br /&gt;
** Basic commands inside gdb are: &lt;br /&gt;
*** &amp;lt;code&amp;gt;&#039;&#039;&#039;r&#039;&#039;&#039;un&amp;lt;/code&amp;gt; - Run the program (spring) &lt;br /&gt;
*** &amp;lt;code&amp;gt;&#039;&#039;&#039;bt&#039;&#039;&#039;&amp;lt;/code&amp;gt; - Print a backtrace &lt;br /&gt;
*** &amp;lt;code&amp;gt;&#039;&#039;&#039;q&#039;&#039;&#039;uit&amp;lt;/code&amp;gt; - Quit &lt;br /&gt;
*** &amp;lt;code&amp;gt;&#039;&#039;&#039;help&#039;&#039;&#039;&amp;lt;/code&amp;gt; - This one&#039;s important&lt;br /&gt;
&lt;br /&gt;
* Be happy!&lt;br /&gt;
&lt;br /&gt;
Tips:&lt;br /&gt;
&lt;br /&gt;
* Checkout [http://www.fileuniverse.com File Universe] for much more maps &amp;amp; mods.&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
* A binary release of [[AAI]], a skirmish AI, is included in the data package.&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc  or ~/.openalrc, example:  (&amp;quot;&#039;(&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; &lt;br /&gt;
(define devices &#039;(alsa))&amp;lt;br&amp;gt;&lt;br /&gt;
(define speaker-num 2)&amp;lt;br&amp;gt;&lt;br /&gt;
(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
* just poke any developer on IRC&lt;br /&gt;
** channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
** or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
* post it on the forum&lt;br /&gt;
* or file a bug in our [http://taspring.clan-sy.com/mantis/ Bug tracking system].&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Evolux</name></author>
	</entry>
</feed>