I'm facing some difficulties installing packages in octave (5.2.0 via snap). I'm running ubuntu 19.10
The problem is:
>> pkg install -forge control configure: error: in `/tmp/oct-bdXz48/control-3.2.0/src': configure: error: C++ compiler cannot create executables See `config.log' for more details checking for mkoctfile... /snap/octave/22/bin/mkoctfile-5.2.0 checking for octave-config... /snap/octave/22/bin/octave-config-5.2.0 checking whether the C++ compiler works... no pkg: error running the configure script for control. error: called from configure_make at line 82 column 9 install at line 190 column 7 pkg at line 441 column 9 >> which make >> which gcc >> which g++
apt kind of guy and very new to snap so I don't know if I'm looking into right direction. The
which inside octave does not have any luck with compiler related tools, but the base installation has gcc, g++, make etc...
hoo2@shirka:~$ uname -a Linux shirka 5.3.0-40-generic #32-Ubuntu SMP Fri Jan 31 20:24:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux hoo2@shirka:~$ apt list --installed build* Listing... Done build-essential/eoan,now 12.8ubuntu1 amd64 [installed]