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

[netCDF #DZU-954292]: Cannot install. Urgent:: Please respond

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #DZU-954292]: Cannot install. Urgent:: Please respond
  • Date: Mon, 22 Oct 2012 08:47:55 -0600

Hi Sricharan,

> I have been trying to install netcdf-4.2 with hdf5. I have installed
> hdf5 in the directory "/home/local".
> 
> These are the commands I executed
> 
> ./configure --enable-netcdf-4 --prefix=/home/local
> 
> i am getting an error saying cannot find hdf5
> 
> Please let me know if i have to add any other options. Please respond.

Yes, you need to set CPPFLAGS and LDFLAGS environment variables appropriately,
to specify where the hdf5 library was installed.  The --prefix option is 
intended to specify where netCDF should be installed.

See instructions here:

  http://www.unidata.ucar.edu/software/netcdf/docs/build_default.html

--Russ

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



Ticket Details
===================
Ticket ID: DZU-954292
Department: Support netCDF
Priority: Normal
Status: Closed