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

[netCDF #RBT-496098]: Installing Netcdf4.1.3



Hello,

It appears that you are trying to install netCDF on top of the source 
directory; the error is indicating that you are trying to copy the file 
'netcdf.h' onto itself.  You will need to specify a different location to 
install to.

Thanks, I hope this helps,

-Ward

> Hi,
> I am trying to install NetCDF4.1.3 using intel/2015.3 using the following
> mode in linux:  --disable-netcdf-4 --disable-dap
> 
> After typing make check, I have the following information:
> ...
> All 7 tests passed
> ==================
> make[3]: Leaving directory
> `/home/jialunli/external/netcdf-4.1.3/examples/CXX'
> make[2]: Leaving directory
> `/home/jialunli/external/netcdf-4.1.3/examples/CXX'
> make[2]: Entering directory `/home/jialunli/external/netcdf-4.1.3/examples'
> make[2]: Nothing to be done for `check-am'.
> make[2]: Leaving directory `/home/jialunli/external/netcdf-4.1.3/examples'
> make[1]: Leaving directory `/home/jialunli/external/netcdf-4.1.3/examples'
> make[1]: Entering directory `/home/jialunli/external/netcdf-4.1.3'
> make[1]: Leaving directory `/home/jialunli/external/netcdf-4.1.3'
> 
> Then, I type make install, I got the following errors:
> 
> [jialunli@saguaro1 netcdf-4.1.3]$ make install
> Making install in include
> make[1]: Entering directory `/home/jialunli/external/netcdf-4.1.3/include'
> make[2]: Entering directory `/home/jialunli/external/netcdf-4.1.3/include'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/home/jialunli/external/netcdf-4.1.3/include" || /bin/mkdir -p
> "/home/jialunli/external/netcdf-4.1.3/include"
> /usr/bin/install -c -m 644 netcdf.h
> '/home/jialunli/external/netcdf-4.1.3/include'
> /usr/bin/install: `netcdf.h' and
> `/home/jialunli/external/netcdf-4.1.3/include/netcdf.h' are the same file
> make[2]: *** [install-includeHEADERS] Error 1
> make[2]: Leaving directory `/home/jialunli/external/netcdf-4.1.3/include'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/jialunli/external/netcdf-4.1.3/include'
> make: *** [install-recursive] Error 1
> [jialunli@saguaro1 netcdf-4.1.3]$
> 
> I wonder how to fix it? Thank you.
> 
> Jialun Li
> 
> 


Ticket Details
===================
Ticket ID: RBT-496098
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.