youstorm said:I had a similar, or the same problem on Ubuntu. This is what worked for me.
./clean -a
./configure
3 for gfortran option
Now I needed to edit this Makefile
cd src
edit the Makefile to make the line below exactly as written (netcdff before netcdf)
-L$(NETCDF)/lib -I$(NETCDF)/include -lnetcdff -lnetcdf
Now edit configure.arwp and remove the -C so that the line below is as such
CPP = /lib/cpp -P -traditional
Now compile
worked for me.
thanks sir its work for mee too