2017-03-03 27 views
0

我從這裏下載源代碼:按照指示如何運行bashscript?

autoreconf -vfi 
./configure 
make 
make install #if neccesary prefix with sudo 
ldconfig  #not needed on windows, on linux sudo may be needed 

,我已複製粘貼我尊重tr.dic https://github.com/hunspell/hunspell

是解壓到一個文件夾中的Ubuntu

然後編譯和tr.aff文件導入到src/tools文件夾中

在終端導航

然後我打電話wordspell命令,但它總是失敗

下面的截圖

enter image description here

這是詞形等bash腳本:https://github.com/hunspell/hunspell/blob/a6d32ee604e99ffc1919f38664817a2ee1500774/src/tools/wordforms

+0

'/ wordforms',而不是'wormform'如果你還沒有加入它到你的'$ PATH' – Aaron

回答

1
  1. ./wordforms./wordforms.sh
  2. 您可能需要使其可執行chmod +x wordforms
0

你可以看到有一個文件名爲 wordforms.sh。 你可以把它可執行文件

chmod +x wordforms.sh 

然後執行它作爲

./wordforms.sh [arguments] 

否則,

bash wordforms.sh [arguments]