Problem to install quaternion package

pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Relea
ses/quaternion-2.4.0.tar.gz"
is_real_array.cc: In function 'octave_value_list Fis_real_array(const octave_value_list&, int)':
is_real_array.cc:49:32: error: 'const class octave_value' has no member named 'is_numeric_type'; did you mean 'is_matrix
_type'?
   49 |                 || ! ((args(i).is_numeric_type () && args(i).is_real_type ())
      |                                ^~~~~~~~~~~~~~~
      |                                is_matrix_type
is_real_array.cc:49:62: error: 'const class octave_value' has no member named 'is_real_type'; did you mean 'is_int8_type
'?
   49 |                 || ! ((args(i).is_numeric_type () && args(i).is_real_type ())
      |                                                              ^~~~~~~~~~~~
      |                                                              is_int8_type
is_real_array.cc:50:34: error: 'const class octave_value' has no member named 'is_bool_type'; did you mean 'is_double_ty
pe'?
   50 |                       || args(i).is_bool_type ()))
      |                                  ^~~~~~~~~~~~
      |                                  is_double_type
make: *** [Makefile:5: is_real_array.oct] Error 1
make: Entering directory '/tmp/oct-nivFSM/quaternion/src'
mkoctfile is_real_array.cc
make: Leaving directory '/tmp/oct-nivFSM/quaternion/src'

error: pkg: error running 'make' for the quaternion package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 612 column 9

Unfortunately, the package is unmaintained since 2015, and Octave internals have change ever since. You can try the following:

  1. Contact the developer:

  2. Apply a patch from the MXE Octave project to fix this problem:

1 Like