Taking Marius' and Joe's advice into account, I decided to keep
things simple and use "Fink" to install Octave and Octave Forge on my
new Intel Mac, accepting the earlier 2.1.73 and 2006-03-17 versions
resp. rather than the latest versions.
It's the first time I've used Fink and Fink Commander, but I was
familiar with dpkg, apt-get and synaptic on my old debian/ubuntu
system. Fink took hours to complete the installations, and
downloaded not only binaries but also source code (and compiled it)
for dozens of dependencies (including a 145MB binary for tetex-
somethingorother?!). When Fink had finished installing I now get the
following when running Octave (+ Forge)
paul-koufalas-computer:~ pkoufalas$ octave
GNU Octave, version 2.1.73 (i386-apple-darwin).
Copyright (C) 2006 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://
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful
error: `dispatch' undefined near line 2 column 1
error: near line 2 of file `/sw/share/octave/2.1.73/site/m/octave-
error: source: error sourcing file `/sw/share/octave/2.1.73/site/m/
Noting this error didn't occur with only Octave installed. I
searched look through the help archive and found a similar if not
This is a problem with loading bundles. Octave's libdl mechanism
work on MacOSX, and unfortunately the mechanism that does work,
disabled in 2.1.73 due to a bug in configure. This is a botched bug
In 2.1.72, configure looked for a header <Mach-O/dyld.h> which
a non-case-sensitive file system, that is, for the majority of Mac
users. On a case-sensitive file system it did not work, because the
file's real name is <mach-o/dyld.h>. I reported this bug, and it was
fixed. Unfortunately, at the same time the variable
ac_cv_header_Mach_O_dyld_h was renamed to
but not everywhere.
If you change configure line 17315
if test "$ac_cv_header_Mach_O_dyld_h" = yes; then
if test "$ac_cv_header_mach_o_dyld_h" = yes; then
and rebuild octave, chances are that your error will go away.
Is this indeed the problem, or have I misunderstood and there is a
different problem here, and different solution? If it is the same
problem, it would then appear that the Fink maintainer for Octave and
Octave Forge needs to be made aware of this problem and fix.