Re: netcdf-4 alpha 14 and hdf5 1.8.0 alpha3

Hi,

I'm having the exact same problem. It seems to me that the file to be
included (H5DS.h) simply isn't part of hdf5-1.8.0-alpha3 as it should
be. It is nowhere to be found. On the website of the HDF5 group it is
announced to be a part of the official 1.8 release:
http://hdf.ncsa.uiuc.edu/HDF5/Tutor/h5dimscale.html
I can't seem to find it in any earlier alpha versions, either. Anyone
had success building netcdf4 who can tell whether the file H5DS.h exists
on their system?

Sincerly, Ilmar Wilbers

        Date: Wed, 21 Jun 2006 12:20:28 -0600
        From: Jeff Whitaker <jswhit@xxxxxxxxxxx>
        Subject: netcdf-4 alpha 14 and hdf5 1.8.0 alpha3
        
        Hi all:  Has anyone had success compiling netcdf-4 alpha against
        hdf5 
        1.8.0 alpha?  Looks like netCDF 4 is looking for H5DS.h, but
        it's now 
        called H5DSpublic.h.  Changing the include in nc4hdf.c fixes
        that error, 
        but then I get:
        
        if /bin/sh ../libtool --tag=CC --mode=compile gcc
        -DHAVE_CONFIG_H -I. 
        - -I. -I.. -I../fortran  -I../libsrc -I/Users/jsw/include 
        - -I/Users/jsw/include -g -g -O2 -MT nc4hdf.lo -MD -MP -MF
        "$depbase.Tpo" 
        - -c -o nc4hdf.lo nc4hdf.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
        "$depbase.Tpo"; 
        exit 1; fi
        libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I..
        -I../fortran 
        - -I../libsrc -I/Users/jsw/include -I/Users/jsw/include -g -g
        -O2 -MT 
        nc4hdf.lo -MD -MP -MF .deps/nc4hdf.Tpo -c nc4hdf.c  -fno-common
        -DPIC -o 
        .libs/nc4hdf.o
        nc4hdf.c: In function 'dimscale_visitor':
        nc4hdf.c:164: error: 'H5G_stat_t' has no member named 'u'
        nc4hdf.c:169: warning: assignment makes integer from pointer
        without a cast
        nc4hdf.c:170: error: 'H5G_stat_t' has no member named 'u'
        nc4hdf.c: In function 'rec_match_dimscales':
        nc4hdf.c:4376: warning: comparison between pointer and integer
        nc4hdf.c:4377: error: 'H5G_stat_t' has no member named 'u'
        make[2]: *** [nc4hdf.lo] Error 1
        make[1]: *** [all-recursive] Error 1
        make: *** [all] Error 2
        
        - -Jeff
        
        - -- 
        Jeffrey S. Whitaker         Phone  : (303)497-6313
        Meteorologist               FAX    : (303)497-6449
        NOAA/OAR/PSD  R/PSD1        Email  : Jeffrey.S.Whitaker@xxxxxxxx
        325 Broadway                Office : Skaggs Research Cntr 1D-124
        Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================