Octave3.6.4
Installing a package called miscellaneous gives errors.
Can anyone tell me why?
soichi
octave> pkg install -forge miscellaneous
In file included from cell2cell.cc:16:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/symtab.h:34:
/usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/regexp.h:90:3: warning:
'opts' defined as a struct here but previously declared as a class
[-Wmismatched-tags]
struct opts
^
/usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/regexp.h:40:3: note:
did you mean struct here?
class opts;
^~~~~
struct
1 warning generated.
In file included from partarray.cc:16:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/symtab.h:34:
/usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/regexp.h:90:3: warning:
'opts' defined as a struct here but previously declared as a class
[-Wmismatched-tags]
struct opts
^
/usr/local/Cellar/octave/3.6.4/include/octave-3.6.4/octave/regexp.h:40:3: note:
did you mean struct here?
class opts;
^~~~~
struct
partarray.cc:42:31: error: variable length array of non-POD element type
'Array<octave_idx_type>'
Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
^
partarray.cc:55:11: error: use of undeclared identifier 'eidc'
eidc[i] = eidx;
^
partarray.cc:70:11: error: use of undeclared identifier 'eidc'
eidc[i] = octave_value (arg.matrix_value ().column (1)).
^
partarray.cc:74:37: error: use of undeclared identifier 'eidc'
if (bidc[i](j) < 1 || eidc[i](j) > alldims(i))
^
partarray.cc:77:32: error: use of undeclared identifier 'eidc'
if (bidc[i](j) > eidc[i](j))
^
partarray.cc:79:17: error: use of undeclared identifier 'eidc'
eidc[i](j) = bidc[i](j) - 1;
^
partarray.cc:106:33: error: use of undeclared identifier 'eidc'
octave_idx_type end = eidc[j](cidx(j));
^
1 warning and 7 errors generated.
make: *** [partarray.oct] Error 1
'make' returned the following error: mkoctfile -Wall cell2cell.cc
mkoctfile -Wall partarray.cc
error: called from 'pkg>configure_make' in file /usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error: /usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error: /usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9