[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #HDD-756438]: error compiling netcdf4 and hdf5

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:



> 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

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.