HTK编译错误:make [1]:“全部"不做任何事情 [英] HTK compile error: make[1]: Nothing to be done for 'all'

查看:1593
本文介绍了HTK编译错误:make [1]:“全部"不做任何事情的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

遵循官方HTK Unix/Linux安装指南 ,我遇到的问题与

Following the official HTK Unix/Linux installation guide, I had similar issues to the ones described in this thread when trying to run make all on HTK. I had initially been looking at the wrong Makefile (/htk-3.4.1/Makefile), as suggested by MadScientist. After fixing the extra indentation on line 77 in the correct Makefile (/htk-3.4.1/HLMTools/Makefile) generated by running ./configure --prefix=/tmp, the HTK compile error:

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

已经消失了,但是我仍然无法在make all上进行编译:

has disappeared, but I am still unable to compile on 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会导致错误:

Prior to make all, running ./configure --prefix=/tmp results in the error:

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

用于HTKLibHLMLibHTKToolsHLMTools.还将Makefile的第77行重置为四个缩进的制表符.

for HTKLib, HLMLib, HTKTools and HLMTools. It also resets line 77 of the Makefile to quadruple indented tabs.

我已安装gcc-multilib.基于

I have gcc-multilib installed. Based on this post, I installed libc6:i386 zlib1g:i386 lib32ncurses5 and lib32z1 in order to run this 32bit program on a 64bit computer.

有人遇到这个问题吗? VoxForge HTK安装指南的步骤4建议使用gcc 3.4编译器兼容性模块.

Has anyone run into this problem? Step 4 of the VoxForge HTK install guide suggests that gcc 3.4 compiler compatibility modules are required.

推荐答案

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

As suggested by MadScientist, I was at first looking at the wrong Makefile. I had been looking at /htk-3.1.4/Makefile, when the file that needed to be edited was /htk-3.1.4/HLMTools/Makefile. A case of not reading the error messages thoroughly.

在获得与第77行相同的错误消息之后

After getting the same error message for line 77

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

我在Atom中运行了空格到制表符",并更正了默认Makefile中的四重制表符.

I ran Spaces to Tabs in Atom, and corrected the quadruple tab in the default Makefile.

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

The make all command initially ran successfully, but as I was unable to access ls /tmp/bin.linux I attempted make all again and received the second error message

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

此问题的解决方法是运行make clean(请参阅

The fix for this was to run make clean (see this post). However, Nikolay Shmyrev has pointed out that this error means that everything has compiled, there for there is 'nothing to be done'.

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

I'm now having problems accessing /tmp/bin.linux but will deal with that elsewhere.

摘要: make[1]: Nothing to be done for 'all'错误表示所有内容都已编译.

SUMMARY: The make[1]: Nothing to be done for 'all' error means that everything has already compiled.

这篇关于HTK编译错误:make [1]:“全部"不做任何事情的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆