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.
Hi Shivali, It looks like you are trying to install the libraries into the source directory where you build them. Sorry, but you can't do that, it leads to the problems you are seeing. As we say in the installation instructions at http://www.unidata.ucar.edu/software/netcdf/docs/build_default.html The installation location specified with the--prefix option must be different from the source directory where the software is being built. --Russ > Package Version: 4.1.3 > Operating System: AIX5.3 > Description of problem: > [ncmr0102][/gpfs1/home/shivali/Julejunk/netcdf-4.1.3]> gmake install > Making install in include > gmake[1]: Entering directory > `/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include' > gmake[2]: Entering directory > `/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include' > gmake[2]: Nothing to be done for `install-exec-am'. > test -z "/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include" || > /opt/freeware/bin/mkdir -p "/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include" > /opt/freeware/bin/install -c -m 644 netcdf.h > '/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include' > /opt/freeware/bin/install: `netcdf.h' and > `/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include/netcdf.h' are the same file > gmake[2]: *** [install-includeHEADERS] Error 1 > gmake[2]: Leaving directory > `/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include' > gmake[1]: *** [install-am] Error 2 > gmake[1]: Leaving directory > `/gpfs1/home/shivali/Julejunk/netcdf-4.1.3/include' > gmake: *** [install-recursive] Error 1 > [ncmr0102][/gpfs1/home/shivali/Julejunk/netcdf-4.1.3]> > [ncmr0102][/gpfs1/home/shivali/Julejunk/netcdf-4.1.3]> > [ncmr0102][/gpfs1/home/shivali/Julejunk/netcdf-4.1.3]> > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: AUC-292543 Department: Support netCDF Priority: Normal Status: Closed