I have successfully installed octave on my machine a centos machine but am hitting a wall when it comes to installing the netcdf package. I have tried to install the netcdf package from
https://sourceforge.net/projects/octave/ but I am having trouble getting it to install properly. I keep getting the error:
address@hidden netcdf-1.0.12]$ sudo make install
Installing package under /home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation ...
octave --no-gui --silent --norc --eval ' llist_path = pkg ("local_list"); mkdir ("/home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation"); load (llist_path); local_packages(cellfun (@ (x) strcmp ("netcdf",
x.name), local_packages)) = []; save ("/home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation/.octave_packages", "local_packages"); pkg ("local_list", "/home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation/.octave_packages"); pkg ("prefix", "/home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation", "/home/jsnyder/octave-4.2.0/netcdf-1.0.12//home/jsnyder/octave-4.2.0/.installation"); pkg ("install", "-local", "-verbose", "/home/jsnyder/octave-4.2.0/netcdf-1.0.12.tar.gz"); '
warning: docstring file '/usr/share/octave/3.8.2/etc/built-in-docstrings' not found
error: load: unable to find file /root/.octave_packages
make: *** [install] Error 1
Any idea on how to resolve this issue? I keep going around in circles trying to get the netcdf to work in octave but to not avail. I really could appreciate help in this regard.
-Jason
--