configure --enable-netcdf4 does not work
Command-line operators for netCDF and HDF files
Brought to you by:
zender
I'm trying to build nco with netcdf4 support, but configure --enable-netcdf4 does not work. It does not result in ENABLE_NETCDF4 being defined.
#################################
# Test for netCDF4 support #
#################################
DEBUG: After netCDF4 section LIBS = -lnetcdf -lcurl
configure: netcdf.h contains netCDF4 definitions
DEBUG: After netCDF4 section header_defines_nc_chunked =
DEBUG: After netCDF3 section LIBS = -lnetcdf -lcurl
ENABLE_NETCDF4....... yes
yes, i would fix this if i knew how. suggestions welcome. i may change configure so that it assumes netCDF4 is available rather than tries to check for it.
OK, yesterday I stripped a bunch of cruft out of configure.
I removed configure support for UDUnits1, DAP from libdap, and MPI.
Today I built a netcdf4-, UDUnits2-, DAP-enabled NCO against Debian Sid.
This is a small milestone. configure should now work much better on systems
with netCDF 4.1.x.
configure.in is now simpler looking, so maybe others can help improve it further.
If you have time, please download the latest snapshot and give it a whirl.
I am marking this bug as fixed.
Thanks,
c
This should have been marked as closed back in June. Tidying up.