Debian, Ubuntu, (and Debian based distros):
Code:
apt-get update && apt-get install build-essential libsdl1.2-dev libfreetype6-dev
Code:
yum install SDL-devel python gcc alsa-lib-devel freetype-devel
GreYFox told me on Ubuntu it was ok with just:
Code:
apt-get update && apt-get install build-essential libsdl1.2-dev
Use urpmi on Mandriva. Most time the names should sound similar (even on SuSE, Slackware, ...) so it should be not so difficult if your really like to compile it. Development-packets are sometimes called *-devel on CentOS or RHEL and *-dev on Debian. These are the packages which should contain even headers.
If you have all you think you would need follow with that steps (which should work in same way on nearly every distro):
Do as some user (no need for root):
Code:
mkdir ddrace-compilation cd ddrace-compilation wget http://github.com/matricks/bam/tarball/master mv master bam-source.tar.gz && tar xvfz bam-source.gz cd matricks-bam* # if you have already downloaded some matricks stuff in the past for sure cd into that instead of wildcard ./make_unix.sh # if everything is ok you should have some file called 'bam' now in your directory cd .. wget http://github.com/GreYFoXGTi/DDRace/tarball/master mv master GreYFoXGTi_source.tar.gz && tar xvfz GreYFoXGTi_source.tar.gz cd GreYFoX* # if you have already downloaded source from GreYFoX cd into right version instead of wildcard ../matricks*/bam release # now it should compile - if you don't need all but just server change release to server_release
There are lot of different distros out there and even if most feel similar if you get deeper into Linux-World they might have some differences. In that case please ask in the forum.