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

[netCDF #ILV-896191]: Installation problem



Hi Arezoo,

> I have tried to install netcdf but I am getting error during installation. I 
> wan wondering if you could help? I am using CentOS and it is 64bit. Below is 
> the steps I have taken as suggested by my colleague:
> 
> 1- I created the netcdf directory in /home/ldm
> 2- cd netcdf
> 3- I got the same version which my colleague is using from 
> (http://www.gfd-dennou.org/library/netcdf/unidata-mirror/)

A newer version 4.3.0, with bug fixes and performance improvements since 4.2.0, 
is
available from here:

  http://www.unidata.ucar.edu/downloads/netcdf/current/

> 4- tar -xvzf netcdf-4.2.0.tar.gz
> 5- cd netcdf-4.2

     cd netcdf-4.2.0

> 6- ./configure --prefix=/home/ldm/netcdf --enable-netcdf-4

If you want netCDF-4 enabled, you will have to get and install
the HDF5 library first.  If it's correctly installed, you need
to provide the configure script with its location, as described 
here:

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

> 7- make
> 
> Then I got these errors:
> /home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc:-1: Warning: Example 
> /home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc was already documented. 
> Ignoring documentation found here.
> </home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc>:3: Warning: included file 
> /home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc is not found. Check your 
> EXAMPLE_PATH
> Could not open file 
> /home/ldm/netcdf/netcdf-4.2/man4/html//home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc.html
>  for writing

This was probably a result of inadequate permissions to create new files in the
directory /home/ldm/netcdf/netcdf-4.2/man4/

> make[3]: *** [doxyfile.stamp] Error 1
> make[3]: Leaving directory `/home/ldm/netcdf/netcdf-4.2/man4'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ldm/netcdf/netcdf-4.2/man4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ldm/netcdf/netcdf-4.2'
> make: *** [all] Error 2
> 
> I do not know why it is saying that tutorial.doc was already documented. And 
> it is saying that it can not find 
> /home/ldm/netcdf/netcdf-4.2/man4/tutorial.doc, but this file exists in this 
> path.
> Any idea how to deal with this?

I'd recommend starting with the latest release, 4.3.0, and following the 
instructions
for building that release.  If you really need to use 4.2.0, the same 
instructions should
work for building that release, too.

--Russ

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



Ticket Details
===================
Ticket ID: ILV-896191
Department: Support netCDF
Priority: Normal
Status: Closed