PGPLOT is a graphics package written by T.Pearson at Caltech. Information on it and how to install it can be obtained from here .
PDA is a library developed by STARLINK to aid replacement of routines from the commercial NAG package. NAG is a good package but it costs money. pamela no longer uses NAG. If you are a STARLINK site, you should have PDA installed, if not I direct you to the STARLINK software store .
NDF is a data format based on STARLINK's HDS system. It is the basis of many of STARLINK's packages such as Kappa and Portable Figaro. NDF has some very nice features. Once again I direct you to the STARLINK software store if you are not a STARLINK site.
The STARLINK software is very easy to install. I would choose the pre-installed binaries for your system in each case, and install to aa top level /star if I were you.
If all the above is ready then you should now change to the pamela sub-directory. Follow the instructions inside the Makefile to set pamela up.
Most of my software is written in Fortran77 and has been compiled successfully under ULTRIX, OSF, Solaris and SunOS with f77 and under Linux with g77.