I can't install the control pkg. because octave says it cant find mkoctfile, but as you can see below, it is there and is findable by the system command.

Any Ideas how to fix this?

ans = 6aa29920a531

Package Name | Version | Installation directory

--------------+---------+-----------------------

io | 2.4.10 | /home/doug/octave/io-2.4.10

statistics | 1.3.0 | /home/doug/octave/statistics-1.3.0

symbolic | 2.6.0 | /home/doug/octave/symbolic-2.6.0

warning: function /home/doug/octave/statistics-1.3.0/mad.m shadows a core library function

warning: called from

load_packages_and_dependencies at line 48 column 5

load_packages at line 47 column 3

pkg at line 457 column 7

/home/doug/.octaverc>@<anonymous> at line 8 column 15

/home/doug/.octaverc at line 8 column 1

Package Name | Version | Installation directory

--------------+---------+-----------------------

io *| 2.4.10 | /home/doug/octave/io-2.4.10

statistics *| 1.3.0 | /home/doug/octave/statistics-1.3.0

symbolic *| 2.6.0 | /home/doug/octave/symbolic-2.6.0

>> pkg install -forge control

pkg: unable to find the mkoctfile command, Octave installation is incomplete

error: called from

__gripe_missing_component__ at line 53 column 3

configure_make at line 40 column 7

install at line 184 column 7

pkg at line 437 column 9

>> system("mkoctfile -v")

mkoctfile, version 4.4.0

ans = 0

>> which mkoctfile

'mkoctfile' is a function from the file /usr/local/share/octave/4.4.0/m/miscellaneous/mkoctfile.m

>> path

Octave's search path contains the following directories:

.

/home/doug/octave/symbolic-2.6.0

/home/doug/octave/statistics-1.3.0

/home/doug/octave/io-2.4.10

/usr/local/lib/octave/4.4.0/site/oct/x86_64-pc-linux-gnu

/usr/local/lib/octave/site/oct/api-v52/x86_64-pc-linux-gnu

/usr/local/lib/octave/site/oct/x86_64-pc-linux-gnu

/usr/local/share/octave/4.4.0/site/m

/usr/local/share/octave/site/api-v52/m

/usr/local/share/octave/site/m

/usr/local/share/octave/site/m/startup

/usr/local/lib/octave/4.4.0/oct/x86_64-pc-linux-gnu

/usr/local/share/octave/4.4.0/m

/usr/local/share/octave/4.4.0/m/audio

/usr/local/share/octave/4.4.0/m/deprecated

/usr/local/share/octave/4.4.0/m/elfun

/usr/local/share/octave/4.4.0/m/general

/usr/local/share/octave/4.4.0/m/geometry

/usr/local/share/octave/4.4.0/m/gui

/usr/local/share/octave/4.4.0/m/help

/usr/local/share/octave/4.4.0/m/image

/usr/local/share/octave/4.4.0/m/io

/usr/local/share/octave/4.4.0/m/java

/usr/local/share/octave/4.4.0/m/linear-algebra

/usr/local/share/octave/4.4.0/m/miscellaneous

/usr/local/share/octave/4.4.0/m/ode

/usr/local/share/octave/4.4.0/m/optimization

/usr/local/share/octave/4.4.0/m/path

/usr/local/share/octave/4.4.0/m/pkg

/usr/local/share/octave/4.4.0/m/plot

/usr/local/share/octave/4.4.0/m/plot/appearance

/usr/local/share/octave/4.4.0/m/plot/draw

/usr/local/share/octave/4.4.0/m/plot/util

/usr/local/share/octave/4.4.0/m/polynomial

/usr/local/share/octave/4.4.0/m/prefs

/usr/local/share/octave/4.4.0/m/profiler

/usr/local/share/octave/4.4.0/m/set

/usr/local/share/octave/4.4.0/m/signal

/usr/local/share/octave/4.4.0/m/sparse

/usr/local/share/octave/4.4.0/m/specfun

/usr/local/share/octave/4.4.0/m/special-matrix

/usr/local/share/octave/4.4.0/m/startup

/usr/local/share/octave/4.4.0/m/statistics

/usr/local/share/octave/4.4.0/m/strings

/usr/local/share/octave/4.4.0/m/testfun

/usr/local/share/octave/4.4.0/m/time

/usr/local/share/octave/4.4.0/data

>>

--

DAS