On Mon, 9 Jan 2006, Corey Halpin wrote:
Can you run
octave -x | tee oct.log
and send the result? That will let us know what commands octave is trying
to run, not just what fails.
OK...with octave-forge installed, I get:
GNU Octave, version 2.1.71 (powerpc-apple-darwin).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying
conditions.
There is ABSOLUTELY NO WARRANTY; not even for
MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type
`warranty'.
Additional information about Octave is available at
http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit
http://www.octave.org/help-wanted.html
Report bugs to <[EMAIL PROTECTED]> (but first, please read
http://www.octave.org/bugs.html to learn how to write a
helpful report).
+ global sound_play_utility="ofsndplay -";
+ mark_as_command comms
+ dispatch ("conv", "gconv", "galois");
error: `dispatch' undefined near line 2 column 1
error: near line 2 of file
`/sw/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
error: source: error sourcing file
`/sw/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
+ ## System-wide startup file for Octave.
+ ##
+ ## This file should contain any commands that should be
executed each
+ ## time Octave starts for every user at this site.
+
+
quit <--- I typed this
+ quit
error: Permission denied <--- not recorded in tee file.
With octave-forge removed, this becomes (leaving out the
first bit without the + debug signs, which is exactly the
same as above):
+ mark_as_command delete
+ mark_as_command close
+ mark_as_command grid
+ ## System-wide startup file for Octave.
+ ##
+ ## This file should contain any commands that should be
executed each
+ ## time Octave starts for every user at this site.
quit <--- I typed this
+ quit
error: Permission denied <--- not recorded in tee file.
dispatch is a part of octave itself.
calvin:~$ find /sw/lib/octave -name \*dispatch\*
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/dispatch.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/dispatch_help.oct
OK, I have those when octave-forge is installed, and not
when it isn't: did you mean dispatch is part of
octave-forge?
octave:1> b=rand(3,3)
error: `rand' undefined near line 1 column 3
error: evaluating assignment expression near line 1, column
2
rand is also a part of octave itself, however octave-forge ships an enhanced
version:
calvin:~$ find /sw/lib/octave -name \*rand\*
/sw/lib/octave/2.1.71/oct/powerpc-apple-darwin/rand.oct
/sw/lib/octave/2.1.71/oct/powerpc-apple-darwin/randn.oct
I have these when octave-forge is not installed...
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/rand.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/rande.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randg.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randn.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randp.oct
and these too when octave-forge is installed.
Have you tried just doing
fink remove octave-forge
Then running the example code? That would help determine if the problem is
octave related, octave-forge related, or some strange interaction.
Yes. I get the same errors with the example code, for
example,
octave:1> b=rand(3,3)
error: `rand' undefined near line 1 column 3
error: evaluating assignment expression near line 1, column
2
octave:1>
is with octave-forge removed. I don't get the initial
dispatch error though, of course.
Just creating a matrix works fine:
octave:1> a=[1,2;3,4]
a =
1 2
3 4
octave:2>
To answer Martin's question which just arrived,
octave:1> help rand
help: sorry, `rand' is not documented
Additional help for built-in functions, operators, and
variables
[]
whether or not octave-forge is installed, and same
substituting "dispatch" for "rand". On the other hand,
octave:6> help flipud
flipud is the user-defined function from the file
/sw/share/octave/2.1.71/m/general/flipud.m
-- Function File: flipud (X)
[]
works as expected, as does help -i.
Also, the command history doesn't work, i.e., control-p
doesn't do anything.
Many thanks for the help!
-- Viv
------------------------------------------------
Dr Viv Kendon [EMAIL PROTECTED]
Quantum Information tel: 0113 343 3858
Physics & Astronomy University of Leeds
http://quantum.leeds.ac.uk/~viv
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users