Saturday, April 19, 2008

Compiling HTK on Mac OS X Leopard

There's no documentation on the HTK website for compiling HTK on Leopard, so after scouring the web and the HTK boards for a little too long, I discovered that there are two tricks necessary for making it work:

1) ./configure --build=i686-apple-macos
this option is necessary for it to properly recognize ARCH:

2) add "-I/usr/include/malloc" to CFLAGS in the Makefile

3) make all; make install; success :)