$ NCDIR=/home/akira/local/netcdf-c
$ export LD_LIBRARY_PATH=${NCDIR}/lib:${LD_LIBRARY_PATH}
$ NFDIR=/home/akira/local/netcdf-fortran
$ CPPFLAGS=-I${NCDIR}/include LDFLAGS=-L${NCDIR}/lib ./configure --prefix=${NFDIR}
$ make check install