From: Arlindo da S. <da...@al...> - 2008-02-01 18:59:07
|
On Feb 1, 2008 4:22 AM, Patrice Dumas <per...@fr...> wrote: > On Fri, Feb 01, 2008 at 02:24:05AM -0500, Arlindo da Silva wrote: > > > > Pat: can you check whether I captured all your dynamic supplib mods? In > > particular, check m4/grib2.m4. The new HDF requirement may be > particularly > > challenging for you on Fedora as it requires a non-standard build of > HDF-4 > > No it won't be challenging since we already use --disable-netcdf... In > fact it is sometime required to be able to link with hdf and netcdf > together, first time it came in was for gdal (or grass), on Wed Feb 8 > 2006. > This is very encouraging. > > (--disable-netcdf). Do you know who maintains HDF-4 on Fedora? If you > cannot > > I comaintain HDF4 on fedora with Orion Poplawski. > > > have 2 versions of the HDF-4 library supported on fedora one solution > may be > > to drop NetCDF altogether as in the old days of v1.5 (or was it 1.6? > Hoop > > will remember) and let the standard HDF do the reading for both NetCDF > and > > HDF. Apparently HDF4.2r2 supports the NetCDF-3 API, if not I have a > wrapper > > library that could be useful. > > It supports the NetCDF-3 API but does it support the netcdf files? > HDF-4 have allways being able to read NetCDF files from Unidata, and of course its own HDF-4 format. It only writes in HDF-4 format, though. By adding the NetCDF-3 API, I can't imagine they would drop support for reading NetCDF files. BTW, NetCDF-2 and NetCDF-3 have different APIs but exactly the same file format. NetCDF-4 adopts HDF-5 as its file format, but can still read/write its previous NetCDF-2/3 format. > > Anyway there is support for both hdf4 builds with enable-dyn-supplibs > (in hdf4.m4). If a build with sd_ appended (--disable-netcdf) is detected > hdf2netcdf.h is included (to be seen in configure.ac). > This code fragment appears to be commented out in the configure.ac file. (I was wondering what this was all about.) Am I correct to assume that if I build HDF-4 with --disable-netcdf I should still be able to use the same library to build v1.9? Have you ever tested it? If this is the case, I only have to maintain one type of HDF-4 build in the supplibs. Thanks, Arlindo -- Arlindo da Silva da...@al... |