I am using Octave(-gui) on Mac (OSX 10.15.7 Catalina) and try to install the netcdf
package. I get an error that nc-config was not found.
My version of Octave is 6.1.0. I also tried installing from local tar.gz.
This is the output of my Octave console:
>> pkg install -forge netcdf
configure: error: nc-config not found
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -std=gnu++11 accepts -g... yes
checking for mkoctfile... /Applications/Octave-6.1.0.app/Contents/Resources/usr/Cellar/octave-octave-app@6.1.0/6.1.0/bin/mkoctfile-6.1.0
checking for nc-config... no
error: pkg: error running the configure script for netcdf.
error: called from
configure_make at line 93 column 9
install at line 196 column 7
pkg at line 568 column 9
Could someone please point me in the right direction? Thank you!