On Wed, Apr 23, 2008 at 3:34 PM, Heiga ZEN (Byung Ha CHUN) <
zen@xxxxxxxxxxxxxxx> wrote:
Hi,
Yufeng Hao wrote (2008/04/23 16:35):
I try to construct hts enviroment on CentOS (64bit), but failed. The process list below:
1. uncompress SPTK-3.1and compile it --> OK;
2. uncompress HTK-3.4 and patch it with HTS-2.1RC1;
3. compile failed. message list below.
(cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/hyf/htk/HTKLib'
gcc -I. -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -c -o HGraf.o HGraf.c
HGraf.c:119:77: X11/Xlib.h: No such file or directory
HGraf.c:120:23: X11/Xutil.h: No such file or directory
HGraf.c:121:21: X11/Xos.h: No such file or directory
HGraf.c:123:27: X11/keysymdef.h: No such file or directory
...
Does anyone tell me why? how to fix it?
I used to done well on REDHAT AS5. But failed this time. :(
Does /usr/include/X11/Xlib.h exist?
No. It does not exist.
Otherwise, please install it like as follows:
% yum install libX11-devel
I installed as below. But that problem still exist. :(
[root@localhost HTKLib]# yum install libX11-devel
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:01
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 130 kB 00:10
update : ################################################## 430/430
Added 430 new packages, deleted 0 old in 3.27 seconds
primary.xml.gz 100% |=========================| 548 kB 05:13
base : ################################################## 1788/1788
Added 1788 new packages, deleted 0 old in 8.13 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 47 kB 00:00
extras : ################################################## 194/194
Added 194 new packages, deleted 0 old in 0.85 seconds
Parsing package install arguments
No Match for argument: libX11-devel
Nothing to do
Regards
YF HAO
Regards,
Heiga ZEN (Byung Ha CHUN)
--
------------------------------------------------
Heiga ZEN (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)
Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan
http://www.sp.nitech.ac.jp/~zen
------------------------------------------------