ArcEmu should have a tutorial on how to compile your own from source, go to arcemu and read their wiki.