./configure时,error: cannot find install-sh, install.sh, or shtool解决方法
来源:互联网 发布:sql建立唯一索引 编辑:程序博客网 时间:2024/05/22 05:23
在测试kaldi例子timit时,需要安装irstlm(extras/install_irstlm.sh)出现Makefile生成失败问题:
./configure时,error: cannot find install-sh, install.sh, or shtool......
以及,automake的3936行错误:
sub substitute_ac_subst_variables
{
my ($text) = @_;
$text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
return $text;
}
最终发现这一切都是因为升级造成:喜欢把所有的东西都保持最新
因为,我的perl已经升级到了perl5.26,automake还停留在automake-1.11而最新的已经到了automake-1.15
继续升级autoconf和automake!!!
注意上面的顺序:
1、autoconf-2.69
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
tar xf autoconf-2.69.tar.xz
cd autoconf-2.69
./configure --prefix=/usr
make & make install
2、automake-1.15
wget ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz
tar xf automake-1.15.tar.xz
cd automake-1.15
./configure --prefix=/usr
make & make install
查看一下版本:
[houwenbin@localhost tools]$ autoconf --versionautoconf (GNU Autoconf) 2.69Copyright (C) 2012 Free Software Foundation, Inc.License GPLv3+/Autoconf: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Written by David J. MacKenzie and Akim Demaille.
[houwenbin@localhost tools]$ automake --versionautomake (GNU automake) 1.15.1Copyright (C) 2017 Free Software Foundation, Inc.License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>.
再次安装IRSTLM
[houwenbin@localhost tools]$ extras/install_irstlm.sh......libtool: install: /usr/bin/install -c dict /home/houwenbin/kaldi-master/tools/irstlm/bin/dictlibtool: install: /usr/bin/install -c ngt /home/houwenbin/kaldi-master/tools/irstlm/bin/ngtlibtool: install: /usr/bin/install -c dtsel /home/houwenbin/kaldi-master/tools/irstlm/bin/dtsellibtool: install: /usr/bin/install -c compile-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/compile-lmlibtool: install: /usr/bin/install -c interpolate-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/interpolate-lmlibtool: install: /usr/bin/install -c prune-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/prune-lmlibtool: install: /usr/bin/install -c quantize-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/quantize-lmlibtool: install: /usr/bin/install -c prune-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/prune-lmlibtool: install: /usr/bin/install -c score-lm /home/houwenbin/kaldi-master/tools/irstlm/bin/score-lmlibtool: install: /usr/bin/install -c tlm /home/houwenbin/kaldi-master/tools/irstlm/bin/tlmlibtool: install: /usr/bin/install -c plsa /home/houwenbin/kaldi-master/tools/irstlm/bin/plsalibtool: install: /usr/bin/install -c verify-caching /home/houwenbin/kaldi-master/tools/irstlm/bin/verify-cachinglibtool: install: /usr/bin/install -c cswa /home/houwenbin/kaldi-master/tools/irstlm/bin/cswa /bin/mkdir -p '/home/houwenbin/kaldi-master/tools/irstlm/include' /usr/bin/install -c -m 644 cmd.h thpool.h dictionary.h gzfilebuf.h htable.h index.h lmContainer.h lmclass.h lmmacro.h lmtable.h lmInterpolation.h mempool.h mfstream.h n_gram.h ngramcache.h ngramtable.h timer.h util.h crc.h interplm.h linearlm.h mdiadapt.h mixture.h normcache.h shiftlm.h cplsa.h cswam.h doc.h '/home/houwenbin/kaldi-master/tools/irstlm/include'make[2]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/src'make[1]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/src'Making install in scriptsmake[1]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm/scripts'make[2]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm/scripts'make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/home/houwenbin/kaldi-master/tools/irstlm/bin' /usr/bin/install -c add-start-end.sh build-lm-qsub.sh build-lm.sh rm-start-end.sh split-ngt.sh mdtsel.sh build-sublm.pl goograms2ngrams.pl lm-stat.pl merge-sublm.pl ngram-split.pl sort-lm.pl split-dict.pl plsa.sh '/home/houwenbin/kaldi-master/tools/irstlm/bin'make[2]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/scripts'make[1]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/scripts'Making install in docmake[1]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm/doc'make[2]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm/doc'make[2]: Nothing to be done for `install-exec-am'.make[2]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/doc'make[1]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm/doc'make[1]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm'make[2]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm'make install-exec-hookmake[3]: Entering directory `/home/houwenbin/kaldi-master/tools/irstlm'cd /home/houwenbin/kaldi-master/tools/irstlm/ && \ ln -s -n -f lib lib64make[3]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm'make[2]: Nothing to be done for `install-data-am'.make[2]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm'make[1]: Leaving directory `/home/houwenbin/kaldi-master/tools/irstlm'***() Installation of IRSTLM finished successfully***() Please source the tools/extras/env.sh in your path.sh to enable it
- ./configure时,error: cannot find install-sh, install.sh, or shtool解决方法
- ./configure时候遇到的问题 Cannot find install-sh, install.sh, or shtool in ac-aux
- install android ndk, host-setup.sh error
- automake提示错误configure.ac:5: installing `./install-sh'; error while making link
- install: cannot stat ‘javaws-wrapper.sh’: No such file or directory
- install.sh如何执行
- ossec install.sh failed
- install-recovery.sh & applypatch
- ./install-sh: no input file specified. checking for XML::Parser... configure: error: XML::Parser perl module is required for int
- configure: error: cannot run /bin/sh ./config.sub解决办法
- configure: error: cannot run /bin/sh ./config.sub解决办法
- configure: error: cannot run /bin/sh ./config.sub解决办法
- maven install error Cannot find parent
- cannot find the rxvt.exe or sh.exe binary 解决办法
- Cygwin – “ERROR: Cannot find ‘make’ program. Please install Cygwin make package or define the GNUMAK
- start-all.sh出现Error:Cannot find configuration directory问题
- libssh2编译错误(configure error: cannot find OpenSSL or Libgcrypt)解决方法
- configure: error: cannot link with -luuid,install uuid-dev.
- Spring Task 动态修改任务执行计划cron
- JSON是什么
- Elasticsearch(搜索(1)--基本的工具)
- 每天一道算法题——二进制中1的个数
- python基础-网络协议
- ./configure时,error: cannot find install-sh, install.sh, or shtool解决方法
- Php-mysql的触发器之实例篇(V客学院知识分享)
- 情感成本与逻辑黑洞
- Python 练习实例17
- select 常用语句总结
- 从软件工程角度看大前端技术栈
- 【Scikit-Learn 中文文档】流形学习
- c# WebApi之接口返回类型详解
- scikit-learn 中文文档-概率校准-监督学习|ApacheCN