Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

Re: NETCDF4 ON MacOSX



"Paulo Calil" <paulo.calil@xxxxxxxxx> writes:

> HI, <br><br>I&#39;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 &#39;c_nccre&#39;:<br>fort-v2compat.c:242: error: &#39;NC_CLASSIC_MODEL&#39; 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 &#39;c_ncopn&#39;:<br>fort-v2compat.c:288: error: &#39;NC_CLASSIC_MODEL&#39; 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
===============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690