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

[netCDF #UXO-652363]: netcdf 4.0 +



Hi Jean-Guillaume,

Sorry to have taken so long to respond.
Our netCDF-4 developer is away from email until next week.

The error you are seeing appears to be caused by not having
the "config.h" file in the directory above the libsrc/ directory
where you are using the "nc.h" file.  This "config.h" file is
not included in the distribution, it is generated when you run the
"configure" script before running "make check install".  A
properly built "config.h" file will include definitions like this:

  /* The size of `off_t', as computed by sizeof. */
  #define SIZEOF_OFF_T 8

  /* The size of `short', as computed by sizeof. */
  #define SIZEOF_SHORT 2

  /* The size of `size_t', as computed by sizeof. */
  #define SIZEOF_SIZE_T 4

as well as many others determined at build time by running the
configure script.  Please see the installation instructions:

http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html

for how to run the configure script.  You will need to run "make distclean"
before running the configure script or start with a new copy of the
distribution.

Also, if you have any problems with running the configure script or other
problems with building and testing the distribution, please send us the
output requested here:

http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Reporting-Problems.html

Thanks!

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: UXO-652363
Department: Support netCDF
Priority: Normal
Status: Closed