HTK (a tool for speech recognition ) installation on Ubuntu 10.0.4

Nils Kassube kassube at gmx.net
Mon Sep 13 19:44:48 UTC 2010


Ric Moore wrote:
> On Mon, 2010-09-13 at 20:42 +0200, Nils Kassube wrote:
> > Jitender Kiraria wrote:
> > > I tried to install HTK (a Tool for Speech Recognition )  on
> > > Ubuntu 10.0.4 But I failed......If anyone has any idea about how
> > > I can resolve these errors ,,,,please,,,,,,,please,,,,,please 
> > > help me,,,,,Its very urgent( for my Minor Project)........
> > > The errors are as follows........
> > > 
> > > HGraf.c:73:77: error: X11/Xlib.h: No such file or directory
> 
> It appears he's trying to build from a tarball,

Yes, obviously - I didn't quote the make command …

> To do that, he will need all the dev files that the script needs.
> I'm surprised that ./configure didn't catch the missing lib files
> and report that lack. Ric

Well, some projects come without a ./configure and only have a Makefile. 
Often there is at least a README file which explains which libraries are 
needed but that doesn't help either because usually it doesn't mention 
the -dev package names but only the name of the libraries. While the 
names are similar, it may be difficult to find the correct package 
anyway.

Just another thought: It would also be useful to install the package 
checkinstall and then use the command

sudo checkinstall make install

as the final step to install the program. Then it is under control of 
the package management and can be easily uninstalled if necessary.


Nils




More information about the ubuntu-users mailing list