Comments

Flat
HTK install...
User: regulator
Date: 7/18/2011 5:22 pm
Views: 21262
Rating: 13
Hi!

I am using Ubuntu 10.04 LTS - The Lucid Lynx. I have following problems with installation of HTK:

1. When I put ''./configure --prefix=/tmp'' in then I get at the end next WARNINGS:

config.status: WARNING:  HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
config.status: WARNING:  HTKTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING:  HLMLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING:  HLMTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  HTKLVRec/Makefile.in seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
**************************************************

2. After that when I put ''make all'' in I get next:

**************************************************
elektronik@ubuntu:~/Namizje/htk$ make all
(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

What could be the problem? (I have followed all instructions on this page and I can not find a solution...)

Thanks,
Regulator

Re: HTK install...
User: kmaclean
Date: 7/18/2011 7:47 pm
Views: 116
Rating: 16

>When I put ''./configure --prefix=/tmp''

Dunno, Google turned up this link : 4.8.3 Changed Directory Variables

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

try:

# ./configure --disable-hslab --disable-hlmtools

# make all

(so that you don't have to worry about gui libraries...)

-or-

It looks like you are on a 64-bit machine, did you try loading the 32-bit compatible libraries?: i.e.

#yum install glibc-devel.i686 libX11-devel.i686

(not sure what the equivalent is on Ubuntu)

Re: HTK install...
User: regulator
Date: 7/19/2011 11:57 am
Views: 121
Rating: 14

Hi!

Thanks for your answer.

******************************************************

try:

# ./configure --disable-hslab --disable-hlmtools

# make all

******************************************************

This is not working... It still remains the same problem.


1.) I have tried this:

elektronik@ubuntu:~/Namizje/htk$ apt-cache search ia32-libs
ia32-libs - ia32 shared libraries for use on amd64 and ia64 systems
elektronik@ubuntu:~/Namizje/htk$ apt-get install ia32-libs
E: Ni mogoče odprti zaklenjene datoteke /var/lib/dpkg/lock - open (13: Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Permission denied??? Why is it locked?

2.) And then this:

elektronik@ubuntu:~/Namizje/htk$ sudo apt-get install libc6-dev g++ gccsudo
[sudo] password for elektronik:
E: Ni mogoče dobiti zaklenjene datoteke /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

2.) Then:

elektronik@ubuntu:~/Namizje/htk$ apt-get install libx11-dev
E: Ni mogoče odprti zaklenjene datoteke /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


What could be the problem?

 

Thanks,

Regulator

 

 

 

 

 

Re: HTK install...
User: kmaclean
Date: 7/19/2011 12:11 pm
Views: 81
Rating: 12

>apt-get install ia32-libs

you need to us sudo for these commands:

$ sudo apt-get install ia32-libs

Re: HTK install...
User: regulator
Date: 7/19/2011 12:38 pm
Views: 478
Rating: 12

Great, Thanks :)

It seems that all of this files are already installed. So this does not resolve my main problem:

1.)First problem:

elektronik@ubuntu:~/Namizje/htk$ ./configure --prefix=/tmp

at the end I get this mistakes:

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING:  HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
config.status: WARNING:  HTKTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING:  HLMLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING:  HLMTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING:  HTKLVRec/Makefile.in seems to ignore the --datarootdir setting
config.status: creating Makefile
**************************************************

2.)Second problem:

elektronik@ubuntu:~/Namizje/htk$ make all

I get this:

(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

 

 

Re: HTK install...
User: kmaclean
Date: 7/19/2011 12:49 pm
Views: 142
Rating: 14

>error: gnu/stubs-32.h: No such file or directory

Googling "gnu/stubs-32.h: No such file or directory" comes up with this link: x86_64 Linux Error: gnu/stub-32.h missing error and solution which says:

# yum -y install glibc-devel

Re: HTK install...
User: regulator
Date: 7/19/2011 1:28 pm
Views: 134
Rating: 14

Hi!

It does not work like this... But I found the right solution:

sudo apt-get install g++-multilib

Thank's anyway for your help!

Regulator

Re: HTK install...
User: regulator
Date: 7/20/2011 3:01 pm
Views: 112
Rating: 15

Hi! I have another problem. When I put in make install I get next:

elektronik@ubuntu:~/Namizje/htk$ make install
(cd HTKTools && make all) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/elektronik/Namizje/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/elektronik/Namizje/htk/HTKTools'
(cd HTKTools && make install) \
    || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/elektronik/Namizje/htk/HTKTools'
if [ ! -d /home/elektronik/Namizje/HTK_tools/bin ] ; then mkdir /home/elektronik/Namizje/HTK_tools/bin ; fi
mkdir: cannot create directory `/home/elektronik/Namizje/HTK_tools/bin': No such file or directory
make[1]: *** [mkinstalldir] Error 1
make[1]: Leaving directory `/home/elektronik/Namizje/htk/HTKTools'
make: *** [install-htktools] Error 1

What seems to be the problem?

Re: HTK install...
User: regulator
Date: 7/20/2011 3:53 pm
Views: 95
Rating: 15

OK, I solved that problem. I have all the executable files in this path:

/home/elektronik/Namizje/HTK_tools/bin

Now, when I would like to test some of those, for example when I put in:

$ HInit

I get then:

HInit: command not found

Why is that so?

Re: HTK install...
User: regulator
Date: 7/20/2011 4:14 pm
Views: 264
Rating: 18

elektronik@ubuntu:~$ ls /home/elektronik/Namizje/HTK_tools/bin
Cluster  HERest  HLMCopy    HQuant    HSmooth  LGCopy  LNewMap
HBuild   HHEd    HLRescore  HRest     HVite    LGList  LNorm
HCompV   HInit   HLStats    HResults  LAdapt   LGPrep  LPlex
HCopy    HLEd    HMMIRest   HSGen     LBuild   LLink   LSubset
HDMan    HList   HParse     HSLab     LFoF     LMerge

PreviousNext