Sunday, October 13, 2013

How to install htk on 64 bit machine

before running ./configure, make, sudo make install run the following command:
$linux32 bash
now run
$./configure
$make
$sudo make install

How to find machine is 32 bit or 64 bit:
use following command
$uname -a

it will result output like:
Linux dubhashi 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 i686 i686 i386 GNU/Linux
 
here x86_64  indicates that machine is 64 bit


Tuesday, October 1, 2013

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

Error:
$home/../htk$ make
(cd HTKLib && make HTKLib.a) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/elektronik/Namizje/htk/HTKLib'
gcc -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
In file included from /usr/include/features.h:378,
from /usr/include/stdio.h:28,
from HShell.h:40,
from HGraf.c:54:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[1]: *** [HGraf.o] Error 1
make[1]: Leaving directory `/home/elektronik/Namizje/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1

Solution:
If you try to install HTK on 64 bits machine, you might get some fatale error like "/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory". Because by default, it try to compile it on 32 bits machine. So you need to install gcc and g++ for 32 bits machine.

On fedora/CentOS:

yum install glibc-devel.i686

On Ubuntu: install the following pakages

g++-multilib
gcc-multilib

2. Personally, when i do "make all" on my machine (fedora 15), I get another fatal error "HGraf.c:73:77: fatal error: X11/Xlib.h: No such file or directory". So I need to install "libX11-devel" by by doing "yum install libX11-devel".


Source: http://quotidianlinux.wordpress.com/2012/01/20/htk-fatal-error/


Wednesday, June 26, 2013

Monday, June 24, 2013

SIOD ERROR: ran out of storage

SIOD ERROR: ran out of storage

Solution:


You need to explicitly give festival more heap space.    On the call to festival add --heap 10000000, (that's 10 million), or   bigger if required.  
eg.

$ festival --heap 10000000

for festival server:

$festival --server --heap 10000000

Thursday, June 20, 2013

Duration modelling and F0 Modelling


Go to your voice directory

1. Setup (or add) prosody related scripts and files:

$FESTVOXDIR/src/prosody/setup_prosody


ie.

/home/boss/festival/festvox/src/prosody/setup_prosody

2. open bin/make_dur_model and remove -stepwise
   now run:
   ./bin/do_build do_dur

Monday, June 3, 2013

ERROR [+2226] ReEstimateModel: No Usable Training Examples

$./scripts/model_gen.scr     lists/phone_list

ERROR [+2226]  ReEstimateModel: No Usable Training Examples
 FATAL ERROR - Terminating program HRest

Solution: only few phonemes causes problem.

            Open lists/phone_list
              remove some phones from it and try command,  so that you can find which phone causes problem

Monday, May 20, 2013

configure error: Can't find dumpfeats of festival

./configure  --with-tcl-search-path =/usr/local/ActiveTcl-8.4/bin/  --with-fest-search-path=/home/boss/tts_install/festival/examples/ --with-sptk-search-path =/usr/local/SPTK/bin/  --with-hts-search-path =/usr/local/HTS-2.2beta/bin/  --with-hts-engine-search-path =/home/boss/installations/hts_engine_API-1.06/bin/


checking for dumpfeats... :
configure error: Can't find dumpfeats of festival


Solution:
check the following part in mentioned command:
--with-fest-search-path   =/home/boss/tts_install/festival/examples/

remove the space between word '-path'  ymbol '='

so it will be
--with-fest-search-path=/home/boss/tts_install/festival/examples/




--
Pranaw Kumar
C-DAC MUMBAI
Ph-(+91) (22) 26201606

Friday, May 17, 2013

ERROR [+8220] LatticeFromLabels: Word ? not defined in dictionary


ERROR [+8220]  LatticeFromLabels: Word ? not defined in dictionary

Solution: Check the mlf file, it must be having '?', remove it.