[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg problems
From: |
Terry Duell |
Subject: |
Re: pkg problems |
Date: |
Sun, 25 Nov 2012 16:02:20 +1100 |
User-agent: |
Opera Mail/12.11 (Linux) |
On Sun, 25 Nov 2012 13:54:28 +1100, Carnë Draug <address@hidden>
wrote:
The fact that you needed to addpath manually already suggests that
there's something wrong. You should have "pkg load" and "unload" take
care of the paths for you. What packages have you installed? What does
"pkg list" shows?
These are the packages I installed.
octave:3> pkg list
Package Name | Version | Installation directory
----------------+---------+-----------------------
combinatorics | 2.0.0 | /home/terry/octave/combinatorics-2.0.0
control *| 2.4.1 | /home/terry/octave/control-2.4.1
general *| 1.3.2 | /home/terry/octave/general-1.3.2
gnuplot | 1.0.1 | /home/terry/octave/gnuplot-1.0.1
image | 2.0.0 | /home/terry/octave/image-2.0.0
io *| 1.0.20 | /home/terry/octave/io-1.0.20
java *| 1.2.9 | /home/terry/octave/java-1.2.9
linear-algebra | 2.2.0 | /home/terry/octave/linear-algebra-2.2.0
miscellaneous *| 1.2.0 | /home/terry/octave/miscellaneous-1.2.0
odepkg *| 0.8.2 | /home/terry/octave/odepkg-0.8.2
optim *| 1.2.2 | /home/terry/octave/optim-1.2.2
plot *| 1.1.0 | /home/terry/octave/plot-1.1.0
signal *| 1.2.0 | /home/terry/octave/signal-1.2.0
specfun *| 1.1.0 | /home/terry/octave/specfun-1.1.0
statistics *| 1.1.3 | /home/terry/octave/statistics-1.1.3
struct *| 1.0.10 | /home/terry/octave/struct-1.0.10
Remove (or comment out) that addpath line from your
octaverc, start Octave again, and load the signal package only. Do you
have a problem accessing its functions?
OK, I removed the addpath for all the above packages, then ran 'pkg load
signal', and 'help pwelch' now runs as expected, so this may have put
things in a bit better shape. It will take a bit of time to test/check it
all properly, but at least it is looking a better than it was.
Also, I know Debian has a file
in /etc/octave.conf that used to mess up with my pkg. Does Fedora also
has one (maybe in some other place)?
I don't know, I can't find anything like that in /etc here.
For packages you want to load automatically at startup, the
recommended way is to add a "pkg load pkgname" in your .octaverc file.
You can have multiple in one line "pkg load pkgname1 pkgnam2
pkgname3". For packages ones you don't want to load automatically, do
nothing, and load them only whenever you need them.
OK, I will edit my .octaverc file, and hopefully that will work OK here.
Many thanks for your help, hopefully it will all be OK now.
Cheers,
--
Regards,
Terry Duell
- Re: pkg problems, (continued)
- Re: pkg problems, Terry Duell, 2012/11/24
- Re: pkg problems, Sergei Steshenko, 2012/11/24
- Re: pkg problems, Carnë Draug, 2012/11/24
- Re: pkg problems, Terry Duell, 2012/11/24
- Re: pkg problems, Carnë Draug, 2012/11/24
- Re: pkg problems,
Terry Duell <=
- Re: pkg problems, Carnë Draug, 2012/11/25
- Re: pkg problems, Terry Duell, 2012/11/25
- Re: pkg problems, Juan Pablo Carbajal, 2012/11/25
- Re: pkg problems, Terry Duell, 2012/11/26