Please see the Moses website on how to compile and run Moses
http://www.statmt.org/moses/?n=Development.GetStarted