This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Rafael, > I am trying to compile hdf5 and netcdf4 in my computer. It is a > i686 machine with gcc 4.3.3 version and gfortran. > > I downloaded hdf5-1.8.6.tar.gz and netcdf-4.1.1.tar Unfortunately that combination doesn't work. Please see the note here about only using HDF5-1.8.5-patch1 with netCDF-4.1.1 or using a later version of netCDF with HDF5-1.8.6. The netCDF-4.1.2 release will be announced soon, and that is known to work with HDF5-1.8.6: http://www.unidata.ucar.edu/netcdf/docs/known_problems.html#incompat-411-186 --Russ > I then try to compile hdf5 using the following commands (with success): > > FC=/usr/bin/gfortran > ./configure --prefix=/usr/local/hdf5 --enable-fortran \ > --enable-cxx --enable-shared --enable-hl > make > sudo make install > > I then tried to compile netcdf4 using > > ./configure --enable-fortran --prefix=/usr/local/netcdf4 \ > --enable-netcdf-4 \ > --enable-cxx \ > --with-hdf5=/usr/local/hdf5 > > make check install > > and got a bunch of errors, please find attached a config.log file describing > the errors. > > I would be grateful if you could please help me out with this. > > Thank you! > > > -- Rafael > ---------------------------------------- > Department of Mathematics and Statistics > Arizona State University > Tempe, Arizona 85287-1804 > Email: address@hidden > http://math.la.asu.edu/~rpacheco > ---------------------------------------- > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: HDD-756438 Department: Support netCDF Priority: Normal Status: Closed