Forum OpenACS Q&A: spellchecker not working on my Mac OS X

I have ispell installed, but not aspell.

The spellchecker decides which binary to use like this:

if { ![catch {exec which aspell}] } {
    set bin [exec which aspell]
} elseif { ![catch {exec which ispell}] } {
    set bin [exec which ispell]
} else {
    set bin ""
}
This works on linux, but on Mac OS X, 'which aspell' returns a success code, even if it doesn't find the binary. (OS X Panther 10.3.x).
$ which aspell
no aspell in /usr/local/bin /opt/local/bin  /bin /sbin /usr/bin /usr/sbin
$ echo $?
0
So, bin gets set to "no aspell in ...". The quick fix is just to install aspell, which is what I'm going to do.