Specific Instructions on Octave Installation and the Installation of Netcdf Package

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Specific Instructions on Octave Installation and the Installation of Netcdf Package

Jason Snyder
To Whom it may Concern,

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:

[jsnyder@MosheLaptop 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

--
Jason Snyder PhD



Reply | Threaded
Open this post in threaded view
|

Re: Specific Instructions on Octave Installation and the Installation of Netcdf Package

karl
Am 17.09.2018 um 08:29 schrieb Jason Snyder:
To Whom it may Concern,

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:

[jsnyder@MosheLaptop 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

--
Jason Snyder PhD




    

Hi Jason,

why you don't use forge:

https://octave.sourceforge.io/

If you write in Octave:

"pkg install -forge netcdf"

This should install the package.

Ciao

Karl