I've managed to install netcdf4 (alpha18) on a linux machine using gfortran and g77.
However, when trying on a Macbook, I got the following error (after installing zlib and hdf 1.8.0) when running make :
-------------------------------- fort-v2compat.c: In function 'c_nccre': fort-v2compat.c:242: error: 'NC_CLASSIC_MODEL' undeclared (first use in this function) fort-v2compat.c:242: error: (Each undeclared identifier is reported only once
fort-v2compat.c:242: error: for each function it appears in.) fort-v2compat.c: In function 'c_ncopn': fort-v2compat.c:288: error: 'NC_CLASSIC_MODEL' undeclared (first use in this function) make[3]: *** [
fort-v2compat.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ---------------------------------------