0
這是我第一次嘗試在Windows中編譯任何東西,它已經給我帶來了毛病(不是因爲Windows)。 我下載一本字典從這裏:嘗試在Windows上編譯時發出錯誤127
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中的拼寫模塊一起使用...
這不是編譯錯誤;你的SO標籤是不正確的。 Make正試圖運行程序'buildhash',但該程序在您的系統上不存在,因此失敗。我不熟悉你正在嘗試構建的軟件包,所以我不知道該程序是否應該隨它一起提供,或者你需要先自己安裝它,或者是什麼。但是,問題在於你試圖構建的軟件包,編譯器或windows。您應該在專用於該包的列表或論壇上尋求幫助(或添加與該包相關的SO標籤)。 – MadScientist
感謝您的回覆和您的建議。我會盡力聯繫開發者。 – Koenich