Hi > I am having problem in configuring the netCDF. Appended below are the > details, please help to sort out the problem-- > > 1. the exact version of netCDF-4.0.1 A later version of netCDF is available, version 4.1.1 from ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.gz but that may not be relevant to solving the problem you are having, which is inability to find the HDF5 library, a prerequisite if you want to build netCDF-4 rather than netCDF-3. > 2. the *complete* output of "./configure", and "make" > > address@hidden netcdf]# ./configure --prefix=/usr/local --enable-netcdf-4 > --with-hdf5=/usr/local --with-zlib=/usr/local > configure: netCDF 4.0.1 > checking build system type... i686-pc-linux-gnu ... > checking hdf5.h usability... no > checking hdf5.h presence... no > checking for hdf5.h... no > checking for H5Fflush in -lhdf5... no > configure: error: Can't find the hdf5 header and/or library, or can't link a > program to it. HDF5 must be built with zlib; the location of zlib must > be specified for netCDF-4 with the --with-zlib option. If HDF5 was > also built with szlib, then the location of szlib must also be > specified with the --with-slib option. The above is probably due to not installing HDF5 before trying to build netCDF-4 with --enable-netcdf-4 specified. You can still build netCDF-3, which is adequate for many purposes, if you don't specify --enable-netcdf-4 to the configure script before building. If you need the feateures of netCDF-4, such as compression or the enhanced data model, then you will need to install HDF5 first, according to the installation instructions here: http://www.unidata.ucar.edu/netcdf/docs/netcdf-install.html#Quick-Instructions --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UJV-294134 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.