NSF Unidata

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

[netCDF #DKA-669037]: Error in Install netCDF-C-4.3.2

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.



Hello,

It appears that you need to install the 'm4' software. This is used to generate 
the manpages.  Everything else looks great; once m4 is installed you should be 
able to install netcdf successfully!  It looks like netcdf itself (the library 
and utilities) compiled successfully.

Have a good day,

-Ward

> Hi sir
> I need NetCDF for WRF , I first got zlib and HDF5  totally as you mentioned
> here
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html
> 
> and "make  check " passed without error ...but in "make install" i got
> these errors: please help me
> 
> nazanin@barashka:~/Desktop/netcdf-c-4.3.2$ make install
> Making install in include
> make[1]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/include'
> make[2]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/include'
> make[2]: Nothing to be done for `install-exec-am'.
> /bin/mkdir -p '/home/nazanin/local/include'
> /usr/bin/install -c -m 644 netcdf.h '/home/nazanin/local/include'
> make[2]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/include'
> make[1]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/include'
> Making install in h5_test
> make[1]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/h5_test'
> make[2]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/h5_test'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/h5_test'
> make[1]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/h5_test'
> Making install in libdispatch
> make[1]: Entering directory
> `/home/nazanin/Desktop/netcdf-c-4.3.2/libdispatch'
> make[2]: Entering directory
> `/home/nazanin/Desktop/netcdf-c-4.3.2/libdispatch'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/nazanin/Desktop/netcdf-c-4.3.2/libdispatch'
> make[1]: Leaving directory
> `/home/nazanin/Desktop/netcdf-c-4.3.2/libdispatch'
> Making install in libsrc
> make[1]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/libsrc'
> m4  -DAPI=C -DNETCDF4=TRUE   ../man4/netcdf.m4 >netcdf.3  || rm netcdf.3
> /bin/bash: m4: command not found
> make[2]: Entering directory `/home/nazanin/Desktop/netcdf-c-4.3.2/libsrc'
> make[2]: Nothing to be done for `install-exec-am'.
> m4  -DAPI=C -DNETCDF4=TRUE   ../man4/netcdf.m4 >netcdf.3  || rm netcdf.3
> /bin/bash: m4: command not found
> /bin/mkdir -p '/home/nazanin/local/share/man/man3'
> /usr/bin/install -c -m 644 ./netcdf.3 '/home/nazanin/local/share/man/man3'
> /usr/bin/install: cannot stat './netcdf.3': No such file or directory
> make[2]: *** [install-man3] Error 1
> make[2]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/libsrc'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/nazanin/Desktop/netcdf-c-4.3.2/libsrc'
> make: *** [install-recursive] Error 1
> 
> 


Ticket Details
===================
Ticket ID: DKA-669037
Department: Support netCDF
Priority: Normal
Status: Closed