"Paulo Calil" <paulo.calil@xxxxxxxxx> writes:
> HI, <br><br>I've managed to install netcdf4 (alpha18) on a linux machine
> using gfortran and g77. <br><br>However, when trying on a Macbook, I got the
> following error (after installing zlib and hdf 1.8.0) when running make :
> <br><br>--------------------------------<br>fort-v2compat.c: In function
> 'c_nccre':<br>fort-v2compat.c:242: error: 'NC_CLASSIC_MODEL'
> undeclared (first use in this function)<br>fort-v2compat.c:242: error: (Each
> undeclared identifier is reported only once
> <br>fort-v2compat.c:242: error: for each function it appears
> in.)<br>fort-v2compat.c: In function
> 'c_ncopn':<br>fort-v2compat.c:288: error: 'NC_CLASSIC_MODEL'
> undeclared (first use in this function)<br>make[3]: *** [
> fort-v2compat.lo] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: ***
> [all-recursive] Error 1<br>make: *** [all] Error
> 2<br>---------------------------------------<br><br><br>Any
> ideas?<br><br>Thanks<br><br>Paulo<br>
Howdy!
Firstly, if you got that error, it means you ran configure without
--enable-netcdf-4. You probably want netCDF-4, so you need to use
--enable-netcdf-4.
Secondly, I have fixed that, and the fix is in the latest daily
snapshot, so give it a try:
ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz
Finally, I am getting a different test failure on macs, which I am
working on right now. But even if make check fails for you, you can
continue to work on your netCDF-4 application while I work on getting
the build fixed for macs...
Thanks!
Ed
--
Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
==============================================================================
To unsubscribe netcdf-hdf, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================