I am running Octave 3.2.4 and I can not install any package. For instance, trying to install struct , I receive this message
octave:5> pkg install struct-1.0.9.tar.gz make: mkoctfile: Command not found
make: *** [arefields.oct] Error 127 'make' returned the following error: make: Entering directory `/tmp/oct-RJ8KCn/struct-1.0.9/src' mkoctfile -s arefields.cc make: Leaving directory `/tmp/oct-RJ8KCn/struct-1.0.9/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.2.4/m/pkg/pkg.m near line 1253, column 2 error: called from: error: /usr/share/octave/3.2.4/m/pkg/pkg.m at line 714, column 5 error: /usr/share/octave/3.2.4/m/pkg/pkg.m at line 287, column 7
I am using Ubuntu 11.04 but I've got the same message using 10.10, so I think this is not the problem.