[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: 'pkg' undefined
From: |
PhilipNienhuis |
Subject: |
Re: error: 'pkg' undefined |
Date: |
Wed, 15 Feb 2017 12:53:19 -0800 (PST) |
stevebiggs wrote
> Hi,
>
> 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?
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/error-pkg-undefined-tp4681878p4681881.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.