Thanks for your help. Re-building did indeed work. Turns out the problem was that I had Qt4 and Qt5 installed but only Qt4 had the extras installed (dev-tools, language modules, etc) but octave was configured to use Qt5. Re-configuring with --qt-ver=4 (or something like that) did the trick. All working great now.
On 15 February 2017 at 20:53, PhilipNienhuis [via Octave] <[hidden email]> wrote:
I have just installed octave 4.2.0 from source. What is there appears to be working. However, I need the symbolic package so I tried:
pkg install -forge symbolic
but I get an error message:
error: 'pkg' undefined near line 1 column 1
Also, when I start octave, I get the following error messages before the version number, welcome message, etc:
error: '__all_opts__' undefined near line 2 column 6
error: execution exception in /usr/local/share/octave/4.2.0/m/optimization/PKG_ADD
So, what's the problem?
Judging from the error messages and taking into account that "pkg" is a core octave function, it looks like your Octave installation is borked.
Have you tried reinstalling Octave?
If you reply to this email, your message will be added to the discussion below: