Comments

Flat
Compiling on Ubuntu 10.04
User: César Mendonça
Date: 8/4/2010 8:28 am
Views: 11103
Rating: 23

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!

Re: Compiling on Ubuntu 10.04
User: kmaclean
Date: 8/4/2010 1:18 pm
Views: 2333
Rating: 22

Thanks for letting us know!

Re: Compiling on Ubuntu 10.04
User: dungtt
Date: 10/21/2012 3:43 am
Views: 205
Rating: 25

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!

Re: Compiling on Ubuntu 10.04
User: kmaclean
Date: 10/21/2012 8:39 am
Views: 332
Rating: 21

>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++

Re: Compiling on Ubuntu 10.04
User: dungtt
Date: 10/21/2012 11:04 pm
Views: 224
Rating: 20

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!

Re: Compiling on Ubuntu 10.04
User: ralfherzog
Date: 10/22/2012 12:10 pm
Views: 193
Rating: 22

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

Re: Compiling on Ubuntu 10.04
User: Amyda
Date: 4/5/2013 11:33 pm
Views: 249
Rating: 9

Hi friend,

how to remove the appearance of -m32? Thanks a lot

Re: Compiling on Ubuntu 10.04
User: heartrude
Date: 4/4/2013 7:16 pm
Views: 237
Rating: 13

I used Ubuntu 12.04. this method was all ok. thx vm

PreviousNext