|
From: | Terry Duell |
Subject: | Re: pkg problems |
Date: | Sun, 25 Nov 2012 13:34:48 +1100 |
User-agent: | Opera Mail/12.11 (Linux) |
On 25 November 2012 01:26, Terry Duell <address@hidden> wrote:Hello All,Sorry to keep on with pkg issues, but just as one problem is fixed anotherarises.I find that some of my recently installed packages via 'pkg install -forgexxx' are shown as not loaded when I run 'pkg list'.When I run, for example, 'pkg load signal', 'pkg list' shows that signal isloaded, but a 'help pwelch' returns 'error: help: `pwelch' not found'. If, after running 'pkg load signal' I run 'savepath', the problem still persists, and 'path' returns... /home/terry/octave/signal-1.2.0/x86_64-redhat-linux-gnu-api-v48+ as the only entry for signal.If I manually run 'addpath ("/home/terry/octave/signal-1.2.0")', the 'helppwelch' works as expected.Am I now seeing more pkg bugs, or are this behaviour due to me going aboutthings in the wrong way?Packages are no longer automatically loaded. You have to load them yourself. But you keep mentioning stuff from your .octaverc. Can you show us what do you have there?
Sure, below is a copy of my .octaverc.Following on from my previous post (above), you will see '/home/terry/octave/signal-1.2.0', which, as I said, I had to add manually. But to return to my question, after originally loading signal, and running savepath, Octave still didn't know about signal functions until I manually added the signal path.
----------~/.octaverc------------------- ## Begin savepath auto-created section, do not editaddpath ('/home/terry/octave/image-2.0.0/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/signal-1.2.0/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/optim-1.2.2/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/linear-algebra-2.2.0/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/specfun-1.1.0/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/miscellaneous-1.2.0/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/general-1.3.2/x86_64-redhat-linux-gnu-api-v48+:/home/terry/Myoctave:/home/terry/octave:/home/terry/octave/struct-1.0.10/packinfo:/home/terry/octave/struct-1.0.10/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/gnuplot-1.0.1/packinfo:/home/terry/octave/odepkg-0.8.2/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/java-1.2.9/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/control-2.4.1/x86_64-redhat-linux-gnu-api-v48+:/home/terry/octave/io-1.0.20/x86_64-redhat-linux-gnu-api-v48+', '-begin');
## End savepath auto-created sectionIf packages no longer auto load, what is the recommended method of doing so, such that they are always loaded when octave is started, and the paths are saved in the .octaverc file?
Cheers, -- Regards, Terry Duell
[Prev in Thread] | Current Thread | [Next in Thread] |