“First, you need a working D2/Phobos environment. Fortunately, as of DMD release 2.058, all you have to do is going to dlang.org, where you should be able to find a suitable package for your system.
Speaking of operating systems, the current code has been tested on OS X 10.6/10.7 x86/x86_64, (Arch) Linux x86/x86_64, and Windows x86using DMD. Other D compilers (GDC, LDC) might work if they are using a recent front-end version, but have not been tested…”
https://github.com/klickverbot/thrift/wiki/Getting-Started-with-Thrift-and-D