2015-12-25 176 views
1

我嘗試了幾乎所有在google上編寫的解決方案,但仍然無法正常工作。Ubuntu上的HTK 3.4.1安裝錯誤14.04

此處鍵入的./configure後:

configure: creating ./config.status 
    config.status: creating HTKLib/Makefile 
    config.status: WARNING: HTKLib/Makefile.in seems to ignore the --datarootdir setting 
    config.status: creating HTKTools/Makefile 
    config.status: WARNING: HTKTools/Makefile.in seems to ignore the --datarootdir setting 
    config.status: creating HLMLib/Makefile 
    config.status: WARNING: HLMLib/Makefile.in seems to ignore the --datarootdir setting 
    config.status: creating HLMTools/Makefile 
    config.status: WARNING: HLMTools/Makefile.in seems to ignore the --datarootdir setting 
    config.status: creating HTKLVRec/Makefile 
    config.status: WARNING: HTKLVRec/Makefile.in seems to ignore the --datarootdir setting 
    config.status: creating Makefile 
    config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting 

************************************************** 

HTK is now ready to be built. 

Type "make all" to build the HTK libraries 
and tools. 

Then "make install" to install them. 

The tools will be installed in /usr/local/bin 

Build notes: Language Modelling tools will be 
built. HDecode will not be built. You can build 
it manually later by running 'make hdecode 
install-hdecode' 

它看起來像是在配置部分走錯了。

(cd HTKTools && make all) \ 
     || case "" in *k*) fail=yes;; *) exit 1;; esac; 
make[1]: Entering directory `/home/hmtsk/voxforge/bin/htk/HTKTools' 
make[1]: Nothing to be done for `all'. 
make[1]: Leaving directory `/home/hmtsk/voxforge/bin/htk/HTKTools' 
(cd HLMTools && make all) \ 
     || case "" in *k*) fail=yes;; *) exit 1;; esac; 
make[1]: Entering directory `/home/hmtsk/voxforge/bin/htk/HLMTools' 
make[1]: Nothing to be done for `all'. 
make[1]: Leaving directory `/home/hmtsk/voxforge/bin/htk/HLMTools' 

我已經嘗試過:

  • 命令和apt-get安裝的libx11-dev的
  • 命令和apt-get安裝的g ++ - multilib的
  • 的./configure --disable-HSLAB --disable -hlmtools
  • sudo apt-get install libc6-dev-i386
  • sudo gedit configure.ac然後刪除文件中的「-m32」。

我需要你的幫助,謝謝!

回答

0

不清楚你的錯誤是什麼。您可以忽略有關-datarootdir的警告,我也會收到這些警告,但要正確完成。你的輸出看起來正確。

檢查您的目錄HTKTools和HLMTools的內容。看看是否有任何二進制文件已經創建。您可以測試是否通過運行這樣的工作或沒有:

./HLMTools/LMerge 

USAGE: LMerge [options] wordList inModel outModel 

Option          Default 

-f s set output LM format to s   BIN 
-i f s interpolate with model s, weight f off 
-n n produce n-gram model     max 
-A  Print command line arguments   off 
-C cf Set config file to cf    default 
-D  Display configuration variables  off 
-G fmt Set source label format to fmt  as config 
-I mlf Load master label file mlf 
-S f Set script file to f     none 
-T N Set trace flags to N     0 
-V  Print version information   off 

注意HTK有要求的命令行幫助的非標準的方式,你不使用-h或--help,只是命令沒有選項。它應該給你一個想法,如果你可以繼續進行安裝。

如果仍然出現錯誤,請回復。