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

[netCDF #XIZ-386452]: netCDF v4 beta fails to build on Mac OS X



> My host:
> 
> % uname -a
> Darwin trites.scd.ucar.edu 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb
> 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power
> Macintosh powerpc
> 
> My compilers:
> 
> % gcc -v
> gcc version 4.2.0 20060318 (experimental)
> 
> % gfortran -v
> gcc version 4.2.0 20060218 (experimental)
> 
> My environment:
> 
> setenv CC gcc
> setenv CPPFLAGS '-DNDEBUG -Df2cFortran'
> setenv CFLAGS '-O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC'
> setenv FC gfortran
> setenv F77 gfortran
> setenv F90 gfortran
> setenv F77FLAGS '-O -Wno-globals'
> setenv F90FLAGS '-O -fno-common'
> 
> Relevant files for HDF5 v1.8.0-beta1 installed in  /Users/grubin/
> {lib,include}.
> 
> Your requested information:
> 
> -- the exact version of netCDF - see the VERSION file.
> 
> % pwd
> /Users/grubin/src/netcdf-4.0-beta1
> 
> trites% cat VERSION
> 4.0-beta1
> 
> 
> -- the *complete* output of “./configure”, “make”, and 
> “make
> check. Yes, it's long, but it's all important.
> 
> Attached is output from:  ./configure --with-hdf5=/Users/grubin --
> enable-netcdf-4 --disable-f77 --disable-f90
> 
> 
> 
> -- if the configure failed, the contents of config.log.
> 
> Attached is the config.log file
> 
> 
> 

Howdy Rick!

There is no point tricking the configure into proceeding. If it
detects a problem, then there will be a problem in the build, even if
the configure proceeded. ;-)

The problem may be that you did not build HDF5 with the zlib
compression library. Complete instructions for building HDF5 as part
of netCDF-4 can be found here:

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

Please let me know if this doesn't help.

THanks,

Ed

Ticket Details
===================
Ticket ID: XIZ-386452
Department: Support netCDF
Priority: High
Status: Closed