NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Trouble compiling netcdf 4.1.3 on Natty Narwhal

David Huard <david.huard@xxxxxxxxx> writes:

> Hi,
>
> I ran
>
> $ apt-get install build-dep netcdf
>
> then
>
> $ ./configure --prefix=...
> $ make
>
> I get this error from make:
> ...
> tst_h_dimscales4.c: In function ‘main’:
> tst_h_dimscales4.c:115:41: error: ‘H5F_LIBVER_18’ undeclared (first
> use in this function)
> tst_h_dimscales4.c:115:41: note: each undeclared identifier is
> reported only once for each function it appears in

Your HDF5 is out of date.

>
> This is on a 64 bit platform running Ubuntu 11.04, which comes shipped
> with netcdf 4.1.1. Unfortunately, there seems to be a bug with
> dimensions with netcdf4 files in 4.1.1.
>
> I'm attaching the config.log file.
>
> Suggestions ?
>

Upgrade to HDF5-1.8.7 and try again. Don't forget to do make clean
first.

Good luck!

Ed
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: