cd zlib-1.2.8/ ./configure --prefix=${NETCDF} make make check make install
hdf5
1 2 3 4 5
cd ../hdf5-1.10.5/ ./configure --with-zlib=${NETCDF} --prefix=${NETCDF} make make check make install
netcdf-c
1 2 3 4 5
cd ../netcdf-c* CPPFLAGS=-I${NETCDF}/include LDFLAGS=-L${NETCDF}/lib ./configure --prefix=${NETCDF} --enable-netcdf-4 --enable-largefile --disable-dap make make check make install
netcdf-fortran
1 2 3 4 5 6
cd ../netcdf-fortran* export LD_LIBRARY_PATH=${NETCDF}/lib:${LD_LIBRARY_PATH} CPPFLAGS=-I${NETCDF}/include LDFLAGS=-L${NETCDF}/lib ./configure --prefix=${NETCDF} --disable-fortran-type-check make make check make install