octave can't find path for m-files

Ben Abbott bpabbott at mac.com
Thu May 1 14:18:32 CDT 2008


On Thursday, May 01, 2008, at 12:59PM, "Alfredo López Hierro" <alh at ono.com> wrote:
> Hello
> I was using octave 2.9 on ubuntu 7.10 and i upgraded last monday to ubuntu 8.04, and
>  then octave was automatically upgraded to 3.0. (both versions from ubuntu repos).
> when i type octave on terminal i get this warning many times:
> ...
> warning: addpath: /usr/share/octave/2.9.12/m: No such file or directory
> warning: addpath: /usr/share/octave/2.9.12/m/statistics: No such file or directory
> ...
> i think octave is looking for files of functions used in 2.9 version that, of course, are not
>  there now because they should be in /octave/3.0/m or something similar. maybe a
>  configuration file conserved from the previous version is causing the bug?. i've looked
>  for that kind of configuration file but i found nothing. i've completely removed octave
>  with synaptics and apt-get, i've made clean with apt-get and installed again without
>  success. if i type path in octave i obtain:

There is a good chance the path information for 2.9.12 is included in your ~/.octaverc file.

If that is the problem, you can just remove the offending lines.

Ben



More information about the Bug-octave mailing list