在OSX上安装Ispell

时间:2014-11-28 19:42:48

标签: macos emacs osx-yosemite ispell

我从GNU镜像下载了ispell tarball,并在我的OSX上安装了Ispell。当我做"做所有"在我的文件夹中,我收到以下错误:

[pradeep@laptop ispell-3.1]$make all
+ cc -O -c buildhash.c
In file included from buildhash.c:69:
./config.h:878:1: error: expected identifier or '('
<U+001B>[01;31m<U+001B>[K#define SIGNAL_TYPE_STRING "<U+001B>[m<U+001B>[K void"
^
1 error generated.
make: *** [buildhash.o] Error 1

我的操作系统是Yosemite。有什么建议吗?

1 个答案:

答案 0 :(得分:0)

通常不需要安装ispell.elflyspell.el,因为它们都与大多数Emacs安装一起打包。它们是不需要构建的elisp个文件 - Emacs旨在读取elisp和/或ispell.elflyspell.el个文件。

相反,需要安装的是第三方可执行文件,例如aspellhunspell。安装主可执行文件后,还需要安装语言词典

基本上,ispell.elflyspell.el(在Emacs的帮助下)为aspellhunspell前端


注意:OSX附带旧版本的Emacs。不要使用旧版本(例如/usr/bin/emacs),而应考虑使用当前版本--with-nshttp://emacsformacosx.com/有关可用于OSX的不同版本的更多信息,以下链接有一些内容丰富的文章:https://emacs.stackexchange.com/questions/271/what-is-the-difference-between-aquamacs-and-other-mac-versions-of-emacs