我正在尝试安装 HTK。我尝试了 ./configure,但收到以下错误make all
:
cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory '/home/pranay/HTK-3.4.1/htk/HTKLib'
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
In file included from HShell.h:40,
from HGraf.c:54:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
27 | #include <bits/libc-header-start.h>
所以我搜索了这个问题,在编译 HTK 时发现“致命错误:bits/libc-header-start.h: No such file or directory”。这导致了以下解决方案sudo apt-get install gcc-multilib
。然而,这又带来了另一个问题:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-multilib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gcc-multilib' has no installation candidate
在此之后,我无法找到合适的解决方案。我最初可以尝试从文件中删除 -m32 ,但显然这不是正确的方法,可能会导致更多问题。