尝试在Windows上使用make进行编译会产生错误127

时间:2017-06-01 09:53:32

标签: windows makefile compiler-errors compilation

这是我第一次尝试在Windows中编译任何东西,它已经给了我毛骨悚然(不是因为Windows)。 我从这里下载了一本字典:

https://www.j3e.de/ispell/igerman98/dict/igerman98-20161207.tar.bz2

当我提取文件夹然后有一个Makefile,所以我认为我必须首先编译progrmam。我尝试了两种方法:第一个是Cygwin,第二个是MinGW。这两个程序都在我的PATH中。

我使用两个程序的终端导航到D:/ igerman98并在那里输入

make

我收到的第一条消息是:

$ make
A default make target doesn't exist. You might want to use one of those:
  make hunspell/de_DE.dic hunspell/de_DE.aff (or de_AT or de_CH)
  make myspell/de_DE.dic myspell/de_DE.aff (or de_AT or de_CH)
  make ispell/de_DE.aff ispell/de_DE.hash (or de_AT, de_CH ...)
  make aspell/de_DE.rws (or de_AT, de_CH ...)
  make ligature/rmligs
  make isowordlist-de_DE (or de_AT, de_CH ...)
Did I forget an important one ?-)

所以我再次输入以下内容:

make hunspell/de_DE.dic hunspell/de_DE.aff

但后来我收到以下错误:

$ make hunspell/de_DE.dic hunspell/de_DE.aff
test -e all.words.placebo.tmp || echo a > all.words.placebo.tmp
buildhash all.words.placebo.tmp ispell/de_DE_null.aff ispell/de_DE_null.hash
make: buildhash: Command not found
make: *** [ispell/de_DE_null.hash] Error 127

我在这里做错了什么?我只想创建de_DE.dic和de_DE.aff文件,以便我可以将它们与Textadept中的拼写模块一起使用...

1 个答案:

答案 0 :(得分:0)

在Linux下,程序buildhash附带ispell-package。在Windows下,您可以使用:ISPELL for Windwos