【发布时间】:2017-06-01 09:53:32
【问题描述】:
这是我第一次尝试在 Windows 中编译任何东西,它已经让我毛骨悚然(不是因为 Windows)。 我从这里下载了一本字典:
https://www.j3e.de/ispell/igerman98/dict/igerman98-20161207.tar.bz2
当我提取文件夹时,会有一个 Makefile,所以我认为我必须先编译程序。我尝试了两种方法:第一个 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 中的拼写模块一起使用...
【问题讨论】:
-
这不是编译错误;您的 SO 标签不正确。 Make 正在尝试运行程序
buildhash,但该程序在您的系统上不存在,因此它失败了。我不熟悉您要构建的软件包,所以我不知道该程序是否应该附带它,或者您需要先自己安装它,还是什么。但是,问题在于您尝试构建的包,而不是 make、编译器或 windows。您应该在专门针对该软件包的列表或论坛上寻求帮助(或添加与该软件包相关的 SO 标签)。 -
感谢您的回复和建议。我会尝试联系开发人员。
标签: windows makefile compiler-errors compilation