HTK website issues

860 views
Skip to first unread message

Hannah M Leach

unread,
Mar 4, 2014, 4:57:04 AM3/4/14
to fave-...@googlegroups.com
Hi all - having used the online interface before, I'm now just starting out trying to install the software onto my computer (not only am I a first-timer, I'm also a first-time Mac user, so please forgive any daft questions!).

I'm following the installation instructions and have come to installing HTK, but am having no luck opening any of the web pages, whether it's the home page, the registration page or the download page. I've tried in a couple of browsers, to no avail. Does anybody know why the pages are out, and whether/where I might be able to download HTK elsewhere?!

Thanks very much (and thanks so much for all the help on the FAVE site and on here - it's been great so far!) 
Hannah

Josef Fruehwald

unread,
Mar 4, 2014, 6:20:03 AM3/4/14
to fave-...@googlegroups.com
Hi Hannah,

It's not just you, and it is very frustrating. It looks like someone has uploaded a copy of HTK to github https://github.com/ibillxia/htk_3_4_1. I would have already done this with the bug fix, but unfortunately it is actually prohibited under the HTK license, which reads:

HTK is made available free of charge and can be downloaded from the website mentioned above. However it may not be redistributed, i.e. you must register at the website and download it from there. Details about the terms under which HTK is made available can be found in the LICENSE file.

I'll try to find out what person should be contacted at Cambridge about the website. If we're not allowed to re-distribute the source code, they should at least maintain their website.

-Joe

Josef Fruehwald

unread,
Mar 4, 2014, 12:56:07 PM3/4/14
to fave-...@googlegroups.com
I got in touch with the people at Cambridge, and it looks like it's back up.

-Joe

Hannah M Leach

unread,
Mar 6, 2014, 6:23:01 AM3/6/14
to fave-...@googlegroups.com
That's great Joe, thanks! I managed to download it, I'm not just struggling to install it (sorry, I'm such a newbie).

I'm following the instructions from Isabel's user guide, and have reached the Terminal section. Running the ./configure section is fine, then as soon as I type 'make all' I get the following error message: 

|| case "" in *k*) fail=yes;; *) exit 1;; esac; gcc  -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/include/malloc -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c HGraf.c:73:10: fatal error: 'X11/Xlib.h' file not found #include <X11/Xlib.h>      /* the X11 stuff makes string.h also available */

^1 error generated. make[1]: *** [HGraf.o] Error 1 make: *** [HTKLib/HTKLib.a] Error 1 soeadmins-air:htk hannah$

Any idea what this means, and/or how I can fix it?
Thanks again for your help!
Hannah

Laurel MacKenzie

unread,
Mar 6, 2014, 6:29:21 AM3/6/14
to fave-...@googlegroups.com
Hi Hannah,

I think this is an issue with Mac OS Mountain Lion (10.8) and later operating systems. They no longer come with X11, so you have to install it yourself.

These instructions (from http://stackoverflow.com/questions/11664835/mountain-lion-rvm-install-1-8-7-x11-error/11666019#11666019) are what got it working for me when I ran into this error:

Install XQuartz: http://xquartz.macosforge.org/landing/ (may require you to log out of the machine & log back in again)
Then enter the following command in the Terminal:
export CPPFLAGS=-I/opt/X11/include
Then pick up Ingrid's instructions from step 7:
./configure (step 7)
make all (step 8)
sudo make install (step 9)

Best,
Laurel


--
Dr Laurel MacKenzie | Lecturer in English Linguistics
The University of Manchester | School of Arts, Languages and Cultures | Oxford Road | M13 9PL Manchester
Office: Samuel Alexander Building N1.1 | tel: +44 (0)161 275 3152
Office hours, Spring 2014 (teaching weeks): Tuesday 3–4 and Thursday 12–1


On Thu, Mar 6, 2014 at 11:23 AM, Hannah M Leach <hmle...@sheffield.ac.uk> wrote:
That's great Joe, thanks! I managed to download it, I'm not just struggling to install it (sorry, I'm such a newbie).

I'm following the instructions from Isabel's user guide, and have reached the Terminal section. Running the ./configure section is fine, then as soon as I type 'make all' I get the following error message: 

|| case "" in *k*) fail=yes;; *) exit 1;; esac; gcc  -ansi -g -O2 -DNO_AUDIO -D'ARCH="darwin"' -I/usr/include/malloc -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c HGraf.c:73:10: fatal error: 'X11/Xlib.h' file not found #include <X11/Xlib.h>      /* the X11 stuff makes string.h also available */

^1 error generated. make[1]: *** [HGraf.o] Error 1 make: *** [HTKLib/HTKLib.a] Error 1 soeadmins-air:htk hannah$

Any idea what this means, and/or how I can fix it?
Thanks again for your help!
Hannah

On Tuesday, 4 March 2014 17:56:07 UTC, Josef Fruehwald wrote:

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+...@googlegroups.com.
To post to this group, send email to fave-...@googlegroups.com.
Visit this group at http://groups.google.com/group/fave-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fave-users/10259abf-a6dd-40ea-83ae-5109158fd42a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Josef Fruehwald

unread,
Mar 6, 2014, 6:32:53 AM3/6/14
to fave-...@googlegroups.com
Yeah, Laurel's advice should work.

If you run into any other issues, I might suggest checking out the FAVE wiki on github: https://github.com/JoFrhwld/FAVE/wiki If that doesn't have answers to further issues you might have, you should definitely let us know so that we can add them in.

-Joe
To post to this group, send email to fave...@googlegroups.com.

Keelan Evanini

unread,
Mar 6, 2014, 7:28:04 AM3/6/14
to fave-...@googlegroups.com
Hi Hannah,

Another approach to solving your issue with the missing X11 library file would be to disable X11 while compiling HTK.  Here are instructions for doing that:


FAVE-align does not depend on any of the HTK X11 functionality--it's only used by HTK in the HSLab command for interactively editing label files.  So, it is safe to disable this when compiling HTK for FAVE-align.

--Keelan

To post to this group, send email to fave-...@googlegroups.com.

Josef Fruehwald

unread,
Mar 6, 2014, 8:00:26 AM3/6/14
to fave-...@googlegroups.com
It's nice to have you here Keelan!

-Joe


Hannah M Leach

unread,
Mar 6, 2014, 8:17:56 AM3/6/14
to fave-...@googlegroups.com
Hi again all,

Laurel, thank you so much for your help - that worked perfectly! Thank you too, Keelan - I'd be pretty lost without this kind of forum for help!

Joe, thank you too - and sorry for clogging up the forum with questions. It seems to have fully installed now, so - fingers crossed! - I'll be able to get it working once my transcription file is ready. The Wiki is incredibly helpful :)

Hannah

Keelan Evanini

unread,
Mar 6, 2014, 8:45:25 AM3/6/14
to fave-...@googlegroups.com
Hi Joe,

It's nice to be here!  Thanks for setting up this helpful forum.

I've made some local modifications to extractFormants over the past few years that I've been meaning to contribute to FAVE-extract.  I've forked the repository, and I hope to find the time to add them in the near future--I'll keep you posted...

--Keelan


Josef Fruehwald

unread,
Mar 6, 2014, 10:22:18 AM3/6/14
to fave-...@googlegroups.com
That's great, Keelan! Send any pull requests to the dev branch.

-Joe


Reply all
Reply to author
Forward
0 new messages