0

按照官方 HTK Unix/Linux 安装指南,我在尝试在 HTK上运行时遇到了与该线程中描述的问题类似的问题。正如 MadScientist 所建议的,make all我最初一直在查看错误的 Makefile ( )。/htk-3.4.1/Makefile在运行生成的正确 Makefile( /htk-3.4.1/HLMTools/Makefile)中修复第 77 行的额外缩进后./configure --prefix=/tmp,HTK 编译错误:

Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.

已经消失了,但我仍然无法编译make all

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

之前make all,运行./configure --prefix=/tmp会报错:

config.status: WARNING:  HLMTools/Makefile.in seems to ignore the --datarootdir setting

对于HTKLib,和. HLMLib_ 它还将 Makefile 的第 77 行重置为四倍缩进制表符。HTKToolsHLMTools

我已经gcc-multilib安装了。基于这篇文章,我安装libc6:i386 zlib1g:i386 lib32ncurses5lib32z1为了在 64 位计算机上运行这个 32 位程序。

有没有人遇到过这个问题?VoxForge HTK 安装指南的第 4 步建议需要 gcc 3.4 编译器兼容性模块。

4

1 回答 1

0

正如 MadScientist 所建议的那样,我起初查看的是错误的 Makefile。我一直在看/htk-3.1.4/Makefile,当需要编辑的文件是/htk-3.1.4/HLMTools/Makefile. 没有彻底阅读错误信息的情况。

在第 77 行收到相同的错误消息后

missing separator (did you mean TAB instead of 8 spaces?).

我在 Atom 中运行 Spaces to Tabs,并更正了默认 Makefile 中的四重制表符。

make all命令最初运行成功,但由于我无法访问,ls /tmp/bin.linux我再次尝试make all并收到第二条错误消息

make[1]: Nothing to be done for 'all'

解决这个问题的方法是运行make clean(参见这篇文章)。然而,Nikolay Shmyrev 指出,这个错误意味着一切都已编译,因为“无事可做”。

我现在在访问时遇到问题/tmp/bin.linux,但会在其他地方处理。

摘要:make[1]: Nothing to be done for 'all'错误意味着所有内容都已编译。

于 2019-08-21T22:57:07.517 回答