To compile the source, you need a the standard set of X Window development libraries as well as the following specialized libraries:
To generate vector postscript output, dynagraph uses a built-in utility modeled after Christophe Geuzaine's gl2ps library (see http://www.geuz.org/gl2ps/.) The utility borrows quite a few ideas and most of its user interface from the gl2ps library.