Package Details: htk 3.4.1-3

Git Clone URL: https://aur.archlinux.org/htk.git (read-only, click to copy)
Package Base: htk
Description: A portable toolkit primarily used for speech recognition research
Upstream URL: http://htk.eng.cam.ac.uk/
Licenses: custom: Proprietary
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 8
Popularity: 0.000000
First Submitted: 2008-08-08 11:09
Last Updated: 2015-06-09 22:41

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mmm commented on 2012-06-02 20:24

Please fix the PKGBUILD to a working state, original and dimigon's version fails on me (x86). Both on:

make[1]: Leaving directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMLib'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[1]: Leaving directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMTools'
make: *** [hlmtools] Error 1


any advice?

Also, adlerweb's advice can be applied neatly, so file is downloaded and extracted automatically:

user=
pass=
source=(http://${user}:${pass}@htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz configure.patch configure.ac.patch Makefile.in.patch)


Thank you,

dimigon commented on 2012-03-13 22:19

Here is a PKGBUILD that includes surfhai's comments:
http://pastebin.com/SeQ9pXGy

You must modify it by adding your HTK username and password

Here are the necessary patch files, the first two of which were posted by platinummonkey
configure.patch: http://pastebin.com/JLNm32PK
configure.ac.patch http://pastebin.com/1XkVXueb
Makefile.in.patch http://pastebin.com/WvGuTgdj

surfhai commented on 2012-02-15 21:28

here is the x86_64 PKGBUILD from platinummonkey
http://pastebin.com/hChkUGYY

- I had to enter the USERNAME and PASSWORD, run makepkg (it downloads the source files)
- switch to the directory "src" and extract the files in the same folder
- go to the "htk" directory and create the configure.ac.patch and configure.patch
- go to "HLMTools" directory and open "Makefile.in" and apply the following:
mkinstalldir:
if [ ! -d $(bindir) -a X_@TRADHTK@ = X_yes ] ; then mkdir -p $(bindir) ; fi

here are some spaces before the if [!.... remove them and make one tab instead of the 8 spaces
mkinstalldir:
if [ ! -d $(bindir) -a X_@TRADHTK@ = X_yes ] ; then mkdir -p $(bindir) ; fi
- after that makepkg runs through for version 3.4.1

adlerweb commented on 2012-01-28 02:30

@ottoshmidt This software can only be downloaded if you've registered on the developers website. Add your USER/PASS to source in the PKGBUILD and remote the commenting # it so it reads like

source=(http://USER:PASS@htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz)

(Note: Do not touch the wget-line, this will not work without further modification because its lacking something to unpack the archive...)

ottoshmidt commented on 2011-11-27 22:36

/tmp/packerbuild-1000/htk/htk/PKGBUILD: line 23: cd: /tmp/packerbuild-1000/htk/htk/src/htk: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

sebcactus commented on 2011-10-14 14:03

in the second sed line, there are 8 spaces before the first 'if' not just one.

sebcactus commented on 2011-10-14 14:02

Try using the following:

sed -i 's|-m32||' configure
sed -i 's| if|\tif|' HLMTools/Makefile.in

just before the ./configure in the PKGBUILD

ElMastro commented on 2011-05-06 15:27

I really can't made it (on arch64), neither with patches, nor without. There are some packages that need this to work propertly. Can anibody fix this?

Anonymous comment on 2011-01-07 03:17

This compiles on x86_64 with two patches to the configure and configure.ac source. I've posted to pastebin the patches as well as the diff for the PKGBUILD to compile on x86_64 without hindering i686 build.

PKGBUILD diff:
http://aur.pastebin.com/3JMvhGEy

configure.patch:
http://aur.pastebin.com/JLNm32PK

configure.ac.patch
http://aur.pastebin.com/1XkVXueb

atomopawn commented on 2010-11-22 06:24

Here's a PKGBUILD that works on 64-bit Arch:

http://aur.pastebin.com/6tZB6tCg

It requires this patch (somethings broken in a Makefile and this fixes it -- might help on 32-bit systems, too!):

http://aur.pastebin.com/PjTcB282