I am a long-time fan of the D programming language, though I have never seriously learned it. One of the many big and small reasons that I do not use D is the official compiler dmd is hard to install on the old Linux servers I routinely access. Although a binary has been available for some time, it requires a recent glibc. I tried to compile the source code, but the compiler is separated into several source code trees and the documentation is quite lousy. It is not like I can download a tar-ball, unpack it and run ‘./configure;make;make install’.
The situation has not been changed much nowadays – the binary is still not working – but I hope I can help those who have the same problem. I wrote a Makefile to compile the D compiler. It grabs source code from github and compile it. If you have an old machine where the binary does not work, you can do the following to compile D (you need a C++ compiler and git of course):
mkdir -p dmd2; cd dmd2 git clone git://gist.github.com/1848272.git mv 1848272/compile-d.mak . make -f compile-d.mak export PATH="`pwd`/bin:$PATH"
The whole procedure only takes a few minutes, much faster than compiling gcc/g++. Hope it helps, just in case.