It must be something simple I missed (like setting an environment variable perhaps) but I'm trying octave for the first time so I'm not sure what to look for to fix it. The documentation on the octave website didn't help so far in my browsing of it. I have installed

i octave 2.1.71-1 Matlab-like language for computations
 i   octave-forge     2005.06.13-  Extensions to octave

without problem.  I run octave and 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).

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'
octave:1>


Ignoring the error, since I got the correct octave prompt anyway, if I try to run the "simple examples" from http://www.octave.org/doc/Simple-Examples.html#Simple-Examples the first matrix assignment is OK, then I get:

 b = rand (3, 2);
error: `rand' undefined near line 1 column 5
error: evaluating assignment expression near line 1, column 3

and later,

 x = lsode ("f", x0, t);
error: `lsode' undefined near line 1 column 5
error: evaluating assignment expression near line 1, column 3


It seems to be missing most or all of the functions it is supplied with? Like it hasn't initialised correctly or something??

This is on a TiBook G4 10.4.3, Xcode 2.2preview (haven't gotten round to updating) and a case-sensitive formatted hard disk. Exact same behaviour on my G5 with 10.4.3 server, where the fink binaries were compiled.

Clues much appreciated...many thanks,
-- 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

Reply via email to