<?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=Radtoo</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=Radtoo"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Radtoo"/>
	<updated>2026-11-08T20:53:26Z</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=16360</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16360"/>
		<updated>2006-06-17T07:43:40Z</updated>

		<summary type="html">&lt;p&gt;Radtoo: /* Linux Setup Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux Setup Guide ==&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]. If not, a short walk-trough to compile, run and debug spring on provided below.&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;
* To grab the sourcecode from SVN (using commandline SVN), refer to [https://developer.berlios.de/svn/?group_id=4358 this berlios page about SVN]. Use one of the two anonymous checkout methods (upper two) unless you&#039;re a spring developer (but in that case you wouldn&#039;t be reading this, right?). &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;
* 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&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>Radtoo</name></author>
	</entry>
</feed>