mfiles installed with pkg -auto install are not found
David Bateman
David.Bateman at motorola.com
Fri Feb 15 10:41:49 CST 2008
Eric Chassande-Mottin wrote:
> mine doesn't. the bug is thus in the script that calls "pkg load auto".
>
> ~$ octave -q
>
> octave:1> pkg list
> Package Name | Version | Installation directory
> --------------+---------+-----------------------
> signal | 1.0.5 | octave/signal-1.0.5
> octave:2> hilbert
> error: `hilbert' undefined near line 2 column 1
>
> octave:2> pkg load auto
>
> octave:3> 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'
>
>
It appears that debian modifies the octaverc file. Check in
<PREFIX>/share/octave/3.0.0/m/startup/octaverc
mine contains...
## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.
pkg ("load", "auto");
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
More information about the Bug-octave
mailing list