Hi all,
I have been installing WRF following the instructions in the tutorial. I passed System Environment Tests but I am now struggling in building libraries. I have searched on the Internet and have not found any solutions. I would really appreciate it if you could help.
First, I met the same problem as what was discussed on this page and I turned to install netCDF for c and for Fortran respectively. However, I failed in the "make install" step. I ran "make check" before "make install" and it seemed to be ready for installation:
However, when I ran "make install", errors occurred:
I tried to run "sudo make install" and this did not change the situation. The same errors still occurred.
I also met similar problems when installing other libraries including zlib, libpng and Jasper. In all cases, both "make install" and "sudo make install" did not work.
I have been installing WRF following the instructions in the tutorial. I passed System Environment Tests but I am now struggling in building libraries. I have searched on the Internet and have not found any solutions. I would really appreciate it if you could help.
First, I met the same problem as what was discussed on this page and I turned to install netCDF for c and for Fortran respectively. However, I failed in the "make install" step. I ran "make check" before "make install" and it seemed to be ready for installation:
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
PASS: run_examples.sh
PASS: format
PASS: sfc_pres_temp_more
PASS: simple
============================================================================
Testsuite summary for netCDF 4.9.0
============================================================================
# TOTAL: 4
# PASS: 4
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in CDL
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
PASS: do_comps.sh
============================================================================
Testsuite summary for netCDF 4.9.0
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[2]: Nothing to be done for `check-am'.
make[1]: Nothing to be done for `check-am'.
However, when I ran "make install", errors occurred:
Making install in include
make[2]: Nothing to be done for `install-exec-am'.
.././install-sh -c -d '/netcdf/include'
mkdir: /netcdf: Read-only file system
mkdir: /netcdf: Read-only file system
make[2]: *** [install-includeHEADERS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
I tried to run "sudo make install" and this did not change the situation. The same errors still occurred.
I also met similar problems when installing other libraries including zlib, libpng and Jasper. In all cases, both "make install" and "sudo make install" did not work.