After many attempts, I managed to compile the supertux-GIT on Ubuntu 14:04 (Trusty Tahr). I made a tutorial teaching the way I used to compile, it worked.
I used the latest sources "supertux.googlecode.com" to compile and manually downloaded some libs for everything to work correctly.
The process is very simple!
Enjoy it!
- Configuring the Ubuntu Sources
Open the "Software & Updates" and "Ubuntu Software" tab select "Main Server" in the "Download from"; in the "Other Software" tab check the two "Independent" boxes. Click "Close" and then "Reload". Wait for the update process to finish.
- Downloading dependencies supertux
Open the Terminal and use the "sudo apt-get build-dep supertux" command and after use "s" to confirm.
Use the following commands, one after the other, and wait to download them:
sudo apt-get install libsdl2-2.0-0
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-2.0-0
sudo apt-get install libsdl2-image-dev
Using Mozilla Firefox or the browser you prefer, download this file:
http://ftp.gnu.org/gnu/libiconv/libiconv-1.12.tar.gz
...and unzip it in the Home folder. In Terminal, use the following commands:
cd /home/user/libiconv-1.12 (replace the user name of your account user)
./configure --prefix=/usr
sudo make
sudo make install
- Downloading the source code and compiling supertux
Now we download the Source Code supertux:
https://code.google.com/p/supertux/source/browse/
open this link and click on "Download .zip". After downloading, unzip the downloaded file to the Home folder and rename it to "supertux".
In Terminal, use these commands:
cd/home/user/supertux (replace the user name of your account User)
mkdir build
cd build
cmake -DDEBUG=ON ..
sudo make (this is a long process)
sudo make install
Just go in supertux folder you will find the game compiled and ready to run.