mfiles installed with pkg -auto install are not found

Eric Chassande-Mottin echassandemottin at gmail.com
Fri Feb 15 07:37:38 CST 2008


>  > ~$ rm .octave_packages
>  > ~$ rm -rf octave/signal-1.0.5
>  > ~$ octave -q
>  > octave:1> pkg -auto install octave/signal-1.0.5.tar.gz
>  > octave:2> hilbert
>  > usage: h = hilbert(f,N,dim);
>  > error: evaluating if command near line 45, column 3
>  > error: called from `hilbert' in file `octave/signal-1.0.5/hilbert.m'
>  > octave:2> which hilbert
>  > hilbert is the user-defined function from the file
>  > octave/signal-1.0.5/hilbert.m
>  > octave:3> quit
>  > ~$ octave -q
>  > octave:1> hilbert
>  > error: `hilbert' undefined near line 1 column 1
>  > octave:2> pkg list
>  > Package Name  | Version | Installation directory
>  > --------------+---------+-----------------------
>  >       signal  |   1.0.5 | octave/signal-1.0.5
>  >

>  Ok, the package is install, just not loaded..

>  What happens when you quit
>  and restart Octave? Is the package available?

this is what I do in the above test. hilbert.m is
not loaded after a quit/restart of Octave.

> Are you running as a user
>  or as root?  In any case I can't duplicate this under 3.0.0 on my machine..

as a simple user.
is there anything I can do to understand what happens ?

eric.


More information about the Bug-octave mailing list