VoxForge
>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)
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
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
>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
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?
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?
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