1

我从 GNU 镜像下载了 ispell 压缩包,并正在我的 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

我的操作系统是优胜美地。有什么建议么?

4

1 回答 1

0

It is generally not necessary to install either ispell.el or flyspell.el, because they both come packaged with most installations of Emacs. They are elisp files that do not need to built -- Emacs is designed to read elisp files such as ispell.el and/or flyspell.el.

Instead, what needs to be installed is a third-party executable such as aspell or hunspell. The language dictionaries will also need to be installed after the main executable is installed.

Essentially, ispell.el and flyspell.el (with help from Emacs) are front-ends for aspell or hunspell.


NOTE: OSX ships with an older version of Emacs. Instead of using an older version (e.g., /usr/bin/emacs), consider using a current version built --with-ns: http://emacsformacosx.com/ For more information on different builds that are available for OSX, the following link has some informative write-ups: https://emacs.stackexchange.com/questions/271/what-is-the-difference-between-aquamacs-and-other-mac-versions-of-emacs

于 2014-11-29T09:06:26.707 回答