Click here to register.

Comments

Flat
Makefile Errors?
User: Ramen
Date: 8/8/2008 5:23 pm
Views: 303
Rating: 6    Rate [
]

I am trying to follow the instructions listed above for installing HTK.   I am using a 32-bit system.  I get as far as running

$./configure --prefix=/home/yourusername/bin/htk-3.4

But when I try to run make all, I get about 800 errors. At the top of the list of errors, my terminal says,

"HGraf.c:73:77: error: X11/Xlib.h: No such file or directory
HGraf.c:74:23: error: X11/Xutil.h: No such file or directory
HGraf.c:75:21: error: X11/Xos.h: No such file or directory
HGraf.c:77:27: error: X11/keysymdef.h: No such file or directory"

and then it has several lines of stuff looking like,

"HGraf.c:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token"

 Does anyone know what's going on here/how I can fix this?

 

By the way, I coculd not find a module to make my version of GCC compatible with 3.4.  Instead, I simply downloaded GCC 3.4 and edited the Makefile so that it would run GCC 3.4 instead of my new version of GCC.

 

Thanks!

Reply
Re: Makefile Errors?
User: kmaclean
Date: 8/23/2008 12:18 pm
Views: 18
Rating: 5    Rate [
]

Hi Ramen, 

Sorry for the delay in getting back to you, been travelling...

You probably need to install libX11 to your distro.

For Fedora 9, I would use:

#yum install libX11

Note that I think X11 is only required for the HTK graphical audio recorder (HSLab)... so if you are using Audacity, you don't need it.

Ken

Reply
PreviousNextAdd