Hi everyone,
I've been trying for several days to find a solution to my problem and have come up empty thus far. Let me preface this with the fact that I am a _partially_ competent Linux user on a good day.
I'm trying to install the optim package and its dependencies. I'm having problems with the general package (and all the other optim related packages as well) that I think are related to the mkoctfile. I've been looking for my particular problem, but the Google has failed me.
This is the error I get when trying to install general-1.3.2 into Octave:
octave:9> pkg install general-1.3.2.tar.gz
/usr/bin/mkoctfile-3.6.3: line 509: g++: command not found
make: *** [SHA1.oct] Error 127
'make' returned the following error: make: Entering directory `/tmp/oct-DzLEFf/general/src'
/usr/bin/mkoctfile-3.6.3 SHA1.cc
make: Leaving directory `/tmp/oct-DzLEFf/general/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.3/m/pkg/pkg.m near line 1385, column 9
error: called from:
error: /usr/share/octave/3.6.3/m/pkg/pkg.m at line 827, column 5
error: /usr/share/octave/3.6.3/m/pkg/pkg.m at line 383, column 9