Ubuntu 14.04 下安装HTK工具箱时编译错误的解决

来源:互联网 发布:网络兼职招聘 编辑:程序博客网 时间:2024/05/22 06:13

1. 在64位Ubuntu 14.04 中尝试安装HTK工具箱,./configure 时可能出现 C compiler 错误, 需要使用如下命令

sudo ln -s  /usr/bin/gcc /usr/bin/gcc34

添加gcc34的link指向gcc。


2. ./configure 之后 make all报错,返回错误信息 "fatal error: sys/cdefs.h: No such file or directory",使用如下命令

sudo apt-get install libc6-dev-i386

安装libc6-dev-i386库。


3. ./configure 之后 make all报错,返回错误信息“/usr/bin/ld: cannot find -lX11”

使用如下命令安装32位版库:

sudo apt-get install libx11-dev:i386

即可顺利编译。


参考解决方案

http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/download/comments/cant-configure-htk

http://askubuntu.com/questions/470796/fatal-error-sys-cdefs-h-no-such-file-or-directory

http://stackoverflow.com/questions/12053732/install-htk-in-ubuntu-make-all-message-usr-bin-ld-cannot-find-lx11

0 0
原创粉丝点击