netcdf must be built with netcdf-4 enabled

安装完netcdf-4.3.1.1后并且check全部通过,然后再安装netcdf-cxx4-4.2.1时CPPFLAGS=-I/usr/local/netcdf4/include ./configure \
--prefix=/usr/local/netcdfCxx后,提示NetCDF must be built with netCDF-4 enabled。如何解决

http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html

参考下官网
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11630.html

http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html

http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11619.html