VoxForge
I tried to compile HTK using Ubuntu 10.04. The tutorial says that I only could do this using gcc 3.4. But there is no gcc 3.4 for Ubuntu 10.04, and in the HTK site, it is written that I could use gcc 4 with the newest version of HTK source code. The "configure" was ok, but not "make all". I seek for the problem and has found this website, http://www.linuxidc.com/Linux/2009-12/23132.htm, in which uses the "sudo apt-get install libc6-dev g++ gccsudo" "apt-get install libx11-dev" to install some libraries. Now, everything works well!
i did follow what you said but when i type command:
sudo yum install compat-gcc-34-c++ compat-gcc-34
Result is:
Setting up Install Process
No package gcc-34-c++ available.
No package gcc-34 available.
Nothing to do
Please help me, thanks a lot!
>sudo yum install compat-gcc-34-c++ compat-gcc-34
yum is the Fedora package manager... are you using Fedora or Ubuntu (like the original poster)?
If you using Fedora do:
$yum info compat-gcc*
it lists the more current gcc compatibility libraries. Fedora 17 has:
compat-gcc-34
compat-gcc-34-c++
Thank you so much for quick reply!!! I appreciate you!
Now Im using Ubuntu. This is all step that i did
>tar -xvzf HTK-3.4-alpha.tar.gz
>tar -xvzf HTK-samples-3.4-alpha.tar.gz
>tar -xvzf htkbook_html.tar.gz
>sudo apt-get install libc6-dev g++ gcc
>sudo apt-get install libx11-dev
>sudo apt-get install yum
>sudo yum install compat-gcc-34-c++ compat-gcc-34
result is:
Setting up Install Process
No package compat-gcc-34-c++ available.
No package compat-gcc-34 available.
Nothing to do
Please helpl me, how to continue install HTK on Ubuntu?
Again, thank you very much!
Hi! Maybe this instruction helps. At least, it worked for me (I was using Ubuntu; now I am using Linux Mint which is derived from Ubuntu).
If you are using Ubuntu 64 bit, don't forget this advice:
Remove all appearances of -m32 in configure.ac (if I remember correctly, there is just one appearance of -m32) and run autoconf!
The installation procedure looks like this:
cd /home/ubuntu/Documents/htk autoconf ./configure make sudo make install
Regards, Ralf