[gdal-dev] netcdf option build error

Jeshua Lacock jeshua at OpenOSX.com
Tue Apr 29 15:36:01 EDT 2008


On Apr 29, 2008, at 1:23 PM, William Kyngesburye wrote:

> I looked thru my notes on HDF4 to see if there was anything else.   
> Are you compiling on Intel OSX?  There is a small endian issue in  
> HDF4 for Intel OSX where it will define the constants as bigendian,  
> but only for 32bit OSX.  In hconv.h, line 66, none of the tested  
> machine values match OSX Intel (__i386 or __i386__), so OSX Intel  
> gets caught as bigendian.

Yes; I am currently doing our Intel build.

> I don't know if this is enough to affect the definition of  
> MAX_VAR_DIMS or not.  I do see that MAX_VAR_DIMS is a backward- 
> compatibility define for Netcdf v2 - netcdf.h lines 912+.  The  
> modern version is NC_MAX_VAR_DIMS.  Did you use --disable-v2 when  
> configuring netcdf?

No I did not try disable-v2, do you think I should?

Thanks for your help - if you are interested, I would be happy to pay  
you to SSH in and take a look...


Best,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364



More information about the gdal-dev mailing list