shantikumari
New member
I am getting an error regarding make install command in HPC mobaxterm terminal
Below I have attached a file that contain the error. Please improve the code to get rid of the error.
[shanti@master2 netcdf-4.1.3]$ make install
Making install in include
make[1]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/netcdf/include" || /usr/bin/mkdir -p "/netcdf/include"
/usr/bin/mkdir: cannot create directory ‘/netcdf’: Permission denied
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make: *** [install-recursive] Error 1
[shanti@master2 netcdf-4.1.3]$
#permission is denied how to get rid of this. Even I tried sudo make install but it did not work
Below I have attached a file that contain the error. Please improve the code to get rid of the error.
[shanti@master2 netcdf-4.1.3]$ make install
Making install in include
make[1]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Entering directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/netcdf/include" || /usr/bin/mkdir -p "/netcdf/include"
/usr/bin/mkdir: cannot create directory ‘/netcdf’: Permission denied
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/shanti/BUILD_WRF/LIBRARIES/netcdf-4.1.3/include'
make: *** [install-recursive] Error 1
[shanti@master2 netcdf-4.1.3]$
#permission is denied how to get rid of this. Even I tried sudo make install but it did not work