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

[netCDF #HJL-431391]: Problems installing NetCDF-3.6.2 on Linux

Hi Elena,

> I'm trying to install netCDF-3.6.2 into a Linux(i686, Ubuntu 11.04)  
> operating system but I found the problem  " fatal error: ac_nonexistent.h: No 
> such file or directory" that I think is causing the not installation of the 
> libraries. Do you have any suggestion about how can I solve this?

This specific problem was fixed in netcdf-3.6.3 and all subsequent versions, by
inserting the statement

  #include <cstring>

in the file cxx/ncvalues.cpp.  Another solution is to build without the old
C++ API that's in that distribution, by setting the environment variable
CXX='' to indicate you don't want the C++ interface built (it's not used by
anything else in the netcdf distribution, so you only need it if you have
C++ programs calling it).

But maybe you just need to update to a more recent version of netCDF than 3.6.2,
which was released in March, 2007.  The current release is 4.1.3, which you can
build using the "--disable-netcdf-4" and "disable-dap" options to configure if 
just want a netCDF-3 library without netCDF-4 enhancements and without remote
access client support through OPeNDAP protocols, but with all the bug fixes 

More information from a user installing netCDF-3.6.2 for Ubuntu from source is 


You can also use Ubuntu package managers such as apt-get to install a binary 
distribution without building from source.


> I attach the "config.log", and the out-put of the "make check" and "make 
> install".
> Thanks a lot!
> Best Regards,
> Elena

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu

Ticket Details
Ticket ID: HJL-431391
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.