Please have a look at the "INSTALL" document and the documentation section on www.nagvis.org