在虚拟机linux系统,ubuntu18.0.4下安装,指令如下,请教怎么解决这个问题,谢谢!
~/kaldi-trunk/tools$ make
extras/check_dependencies.sh
extras/check_dependencies.sh: libtool is not installed.
extras/check_dependencies.sh: python 2.7 is not installed
extras/check_dependencies.sh: we recommend that you run (our best guess):
sudo apt-get install libtool python2.7
Makefile:31: recipe for target 'check_required_programs' failed
make: *** [check_required_programs] Error 1
~/kaldi-trunk/tools$ sudo apt-get install libtool python2.7
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
libtool 已经是最新版 (2.4.6-2)。
python2.7 已经是最新版 (2.7.15~rc1-1ubuntu0.1)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被升级。
lihao@lihao-virtual-machine:~/kaldi-trunk/tools$ make
extras/check_dependencies.sh
extras/check_dependencies.sh: libtool is not installed.
extras/check_dependencies.sh: python 2.7 is not installed
extras/check_dependencies.sh: we recommend that you run (our best guess):
sudo apt-get install libtool python2.7
Makefile:31: recipe for target 'check_required_programs' failed
make: *** [check_required_programs] Error 1
输入sudo apt install python就OK拉
这个命令下载的就是2.7的版本
然后就可以make了(我竟然也有回答的一天,一样的问题,也是18.04,我就是这样解决的,你试试吧)
我遇到的问题是用sudo yum安装automake和autocnf之后,显示安装成功,但是make的时候也跟楼主一样
我的解决方法是进入到automake目录下,运行
./configure
make
sudo make install
之后再./extras/check_dependencies.sh
就显示all ok了
autoconf也一样