安装netcdf-fortran时出错configure: error: cannot compute sizeof (off_t)

安装netcdf-fortran-4.5.3,configure时报了错误:
checking size of off_t... configure: error: in /CESM/software/netcdf-fortran-4.5.3': configure: error: cannot compute sizeof (off_t) Seeconfig.log' for more details

我的:./configure --prefix=/CESM/software/netcdf-4.8.1 CPPFLAGS=-I/CESM/software/netcdf-4.8.1/include LDFLAGS=-L/CESM/software/netcdf-4.8.1/lib

网上百度后并没有得到解决