Click here to register.

Linux: Download HTK, Julius & Audacity

Click here for the Windows version of this How-to 

HTK

HTK's licence requires you to register before you can download the toolkit.   The software is open source but there are limitations on the distribution of the HTK Toolkit itself.  However, there is no limitation on the distribution of the models you create with the toolkit.

Step 1 - Register with HTK 

Step 2 - Download HTK Toolkit and Samples

Create a new directory in your home directory called 'bin', it should have the following path (replace 'yourusername' with the user name you are using on your system):

  • /home/yourusename/bin 

click the following links:

and save them to your new bin directory.

Step 3 - Download HTK Book

Click the following link: 

and save it to your new bin directory.

The HTK book is an excellent reference to the toolkit commands.  However, it is written for speech scientists and can be very confusing to beginners.

Step 4 - Unpack you source files

Extract the files using:

  • Nautilus (right click each tar/gzipped file and click extract here); or
  • use tar from the command line for the following files:
    • tar -xvzf HTK-3.4-alpha.tar.gz
    • tar -xvzf HTK-samples-3.4-alpha.tar.gz
    • tar -xvzf htkbook_html.tar.gz

this should create the following directories in your bin folder:

  • htk-3.4
  • samples
  • htkbook

move the 'samples' and 'htkbook' directories to your htk-3.4 folder.

Step 5 - Compile & Install HTK

Compiler version

If you have a newer version of the gcc compiler (version 4 or above), you will need to install gcc version 3.4 compatibility modules so that HTK will compile properly. Use gcc's version command to see which version is installed on your system:

$gcc -v

Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)


If you have version 4.0 or above (I have version 4.3.0) use yum to install the required files to your system:

$su

#yum install compat-gcc-34-c++ compat-gcc-34

32-bit Systems

After unpacking the sources, open a command line terminal and go to the /hom/yourusername/bin/htk3.4 directory where you downloaded your files. 

configure 

The default location for binaries is "/usr/local" which will put the tools in "/usr/local/bin".  You need to change this default location using the "./configure" script to specify where you want the binaries installed:

$./configure --prefix=/home/yourusername/bin/htk-3.4

This directs the make command to put all your binaries in the following folder:

  • /home/yourusername/bin/htk-3.4/bin.linux

64-bit Systems

Easiest way to do this is as follows (thanks to aaa in this thread):

# linux32 bash

↑ 32 bit terminal

#./configure --prefix=/home/yourname/htk

(may also need to: yum install libx11-devel)

#make all

#make install


Old approach:

After unpacking the sources, open a command line terminal and go to the /hom/yourusername/bin/htk3.4 directory where you downloaded your files. 

You now need to install 386 compatibility versions of some development libraries:

$su

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

configure 

The default location for binaries is "/usr/local" which will put the tools in "/usr/local/bin".  You need to change this default location using the "./configure" script to specify where you want the binaries installed:

$./configure CC=gcc34 --prefix=/home/yourusername/bin/htk-3.4

This directs the make command to put all your binaries in the following folder:

  •  /home/yourusername/bin/htk-3.4/bin.linux

make 

To build the libraries and binaries, execute the following:

$make all

Running the following command will install them: 

$make install

Step 6 - Copy required HTK Perl Scripts

Create a new directory called "HTK_scripts" in your voxforge folder, it should have the following path:

  • /home/yourusename/voxforge/HTK_scripts 

Copy the following HTK scripts to your newly created 'HTK_scripts' folder:

  • mkclscript.prl (located in /htk-3.4/samples/RMHTK/perl_scripts folder)
  • maketrihed (located in /htk-3.4/samples/HTKTutorial folder)
  • prompts2mlf (located in /htk-3.4/samples/HTKTutorial folder)
  • prompts2wlist (located in /htk-3.4/samples/HTKTutorial folder)

Julius

Julius has no limitations on distribution.  It uses Acoustic Models in HTK format, and Grammar files in its own format.  

Julius is a large vocabulary continuous speech recognition (LVCSR) engine.  Julius is used in dictation applications.

Julian is a special version of Julius that performs grammar based speech recognition.   Julian is used for command and control applications.  

We will be using the Julian version of Julius for this tutorial.

Step 1 - Download Julius

click the following link: 

and save it to your '/home/yourusename/bin' directory.

(note: if you want to compile Julius from source, see this FAQ entry) 

Step 2 - Extract Julius 

Extract the file using:

  • Nautilus (right click the tar/gzipped file and click extract here)
  • use tar from the command line:
    • tar -xvzf julius-3.5.2.tar.gz

this should create a julius-3.5.2 directory in your bin folder.

Update User Path

To update your user path, you need to add the following directories your user path variable:

  • /home/yourusename/bin/htk-3.4/bin.linux;
  • /home/yourusename/bin/htk-3.4/lib.linux; and
  • /home/yourusename/bin/julius-3.5.2-multipath-linuxbin/bin.

To do this, edit your '.bash_profile' file in your home directory (in Fedora you need to show 'hidden files' in Nautilus - so you can display file names with a period in front of them). You do this by adding the listed paths, separated by a colon (":") to the end of the PATH variable as follows (all one line, no spaces):
 

# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/home/yourusename/bin/htk-3.4/bin.linux:
home/yourusename/bin/htk-3.4/lib.linux:
/home/yourusename/bin/julius-3.5.2-multipath-linuxbin/bin

Log out and log back in to make your path change effective.

Testing Your HTK/Julius Install

  • Type in "HVite -V" in a Command Console Window;
if your system lists all the options available to the hvite command, then HTK is installed properly.
  • Type in "julian" in a Command Console Window;
if your system displays version information for Julius, then Julius is installed properly;
  • If you don't see the expected results, review your installation steps for Julius or HTK to determine where you might have made an error.

Audacity

If you are using Linux (we will be using the Fedora for these tutorials) use the following command to download and install Audacity (as superuser):

$su
Password:
#yum install audacity 

Click here to download Audacity from its web site.


Comments

Click the 'Add' link to add a comment to this page; click the 'Read More' link to view replies to a posted comment.

AddSearch

Compiling HTK 3.4 on Windows XP
By kmaclean - 9/30/2007 - 3 Replies
  • See Ivan A. Uemlianin's blog site article:  Compiling HTK 3.4 on Windows XP -  covers compilation with Visual C++ 2005 Express Edition;
  • Arlindo Vega has a webpage on compiling HTK with Visual Studio 6 (VC6), Visual Studio .NET 2003 (VC7) and Visual Studio 2005 (VC8)



 

 

htk install
By rahul - 4/27/2012 - 1 Replies

when i am trying to install htk then after

./configure --prefix=/home/rahul/speech/htk/          typing this it is showing permission denied. i tried wid root also bt the same message it is showing.

plz say what i sud do nw.

HTK Makefile, on line 77 and gcc-4.5.3
By wmhrae - 9/23/2011 - 1 Replies

First run your build script then grabe /tmp/htk/HLMTools/Makefile, on line 77 remove 8 spaces and hit tab, drop file in your build directory and remove and cat it in after configure problem solve ! see part of my build script

./configure    --prefix=$PKG/usr/ \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --libdir=/usr/lib${LIBDIRSUFFIX} \
        --disable-static \
        --mandir=/usr/man \
        --build=$CHOST-mos-linux

# this is were you remove and add Makefile
rm /tmp/htk/HLMTools/Makefile || exit 1
cat $CWD/Makefile > /tmp/htk/HLMTools/Makefile || exit 1


make $JOBS
make all
make install

Make with gcc-4.5.3 fails but I build it with older version of gcc (have backwards compat libs since 01-01-2000! For those depleted software)

Hope my english is good enought for you to grab itLaughing

HTK installation
By navya - 8/31/2011 - 3 Replies

i am adding

PATH=/Julius/bin:/HTK/HTK-3.4.1/htk:$PATH
export PATH

this path to bash.bashrc file but i am not able to install neither htk nor julian

anyone please help me for this..

HTK install
By bala - 8/29/2011 - 1 Replies

HTK is now ready to be built.

Type "make all" to build the HTK libraries
and tools.

Then "make install" to install them.

The tools will be installed in /home/ravi/bin/htk/bin

Build notes: Language Modelling tools will be
built. HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'

**************************************************
ravi@ubuntu:~/bin/htk$ make all
(cd HTKTools && make all) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/ravi/bin/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravi/bin/htk/HTKTools'
(cd HLMTools && make all) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/ravi/bin/htk/HLMTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravi/bin/htk/HLMTools'

HTK Install
By Nico-ARG - 8/8/2011 - 1 Replies

Dear all,

I am trying to install HTK under ubuntu 10.04, and following the steps given above, i found a trouble. 

When trying to install the compatibilty for gcc 3.4 (yum install compat-gcc-34-c++ compat-gcc-34) i get the following: 

#nicolas@lepra:~/All/HTK/htk$ sudo yum install compat-gcc-34 compat-#gcc-34-c++

#[sudo] password for nicolas: 

#Configurando el proceso de instalación

#No existe disponible ningún paquete compat-gcc-34.

#No existe disponible ningún paquete compat-gcc-34-c++.

#Nada para hacer

What means that aparently it doesn't find the package... 

Please i need some help!!!! thanks a lot

 

Testing hTk demo
By ner - 7/26/2011 - 1 Replies

I have tried to run the demo to test the HTK by VoxFroge under Cygwin but when I run the follwoign command:

$ cd HTKDemo

$ perl runDemo.pl configs/monPlainM1S1.dcf

I get the following error message:

"must be in directory HTKDemo to run this script"

while I am still in this directory:

"/HTK/HTK-samples-3.3/samples/HTKDemo" and when I use pwd command to get current directory, it gives the same path.

What could be the problem?

Thank you in advance;

Regards.

HTK install...
By regulator - 7/18/2011 - 12 Replies
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

Installing Cygwin for Windows 7 32-Bit
By ossia - 7/4/2011 - 1 Replies

Hi,

 

I have frequently tried to install Cygwin on Windows 7 32 bit but each time I try, Cygwin fails to finalize the installation and it just stalls in 99%. At the end,, theres no Cygwin shell. Any idea what the problem might be?

 

Thank you!

Trying th HTKDemo
By ossia - 6/7/2011 - 4 Replies

Hello guys,

I have tried to run the demo to test the HTK by VoxFroge under Cygwin but when I run the follwoign command:

$ cd HTKDemo

$ ./runDemo configs/monplainM1S3

I get the following error message:

"must be in directory HTKDemo to run this script"

It is odd as when I run it, i am already in the directory HTKDemo!

Any idea what might be wrong?

The installation went totally fine and I did test it by running both "HVite" and "julian". even the gui interface appears by running "HSlab a_name.sig"

I appreciate your help

Installing HTK for windows
By ossia - 6/3/2011 - 5 Replies

 

I have followed all th esteps but yet cant run HTK. when I type HVite, I get an error message saying: command not found. I feel perhaps there might be something wrong with the say I have added the Path. I just did what was said. Julian does work though. Any comments?

Thanks

Odd makefile error in HTK 3.4.1
By colbec - 5/26/2011 - 1 Replies

My 'make all' (OpenSUSE 11.4) stopped with an error about spaces and tabs in a Makefile.

It was line 77 in HLMTools/Makefile - I edited this file to replace a bunch of spaces with a tab at the beginning of that line and now it works. I think you have to do this each time you do a configure since Makefile is autogenerated each time.

gcc 4.5 works no problem on this version of HTK.

No Julian exe
By Perezvon - 12/4/2010 - 1 Replies

Hi,

I downloaded Julius-4.1.5 for windows. But there is no Julian exe in the bin directory, however there are julius exes.

I configured environment vairables and can actually run julies. But I cant run Juilan.

What may the problem be? Thanks.

 

error install HTK
By nesteaman - 10/11/2010 - 1 Replies

I tip ./configure and run ok. Later:

pablo@pablo-desktop:~/Escritorio/Proyecto/Hoap/HTK/htk4.3.1/htk$ make all
(cd HTKTools && make all) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: se ingresa al directorio `/home/pablo/Escritorio/Proyecto/Hoap/HTK/htk4.3.1/htk/HTKTools'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/home/pablo/Escritorio/Proyecto/Hoap/HTK/htk4.3.1/htk/HTKTools'
(cd HLMTools && make all) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: se ingresa al directorio `/home/pablo/Escritorio/Proyecto/Hoap/HTK/htk4.3.1/htk/HLMTools'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/home/pablo/Escritorio/Proyecto/Hoap/HTK/htk4.3.1/htk/HLMTools'

And i can't do anything. Help me plase!! Thank

 

set path in windows
By naru - 9/6/2010 - 1 Replies

im really a windows-man. i've done my best to edit path in bash.bashrc (i even tried to use vi) but i still cannot run julian. then i tried to edit it using the conventional way (using environment variable - path) in windows. at last, i can run julian!

i hope this way is okay, isnt it?

Compiling on Ubuntu 10.04
By César Mendonça - 8/4/2010 - 1 Replies

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!

HTK website is forbidden
By Kumari - 3/30/2010 - 1 Replies

Hi,

I was trying to download HTK from the link provided in the tutorial. But I was unable to visit that site. It says that the particular website is forbidden. 

Advice me on this.

Thank you.

BR.

KM

 

HTK website is forbidden
By Kumari - 3/30/2010

I tried several times to download HTK but that link doesn't work. How do I download it ? 

 

Compiling 64-bit HTK
By kmaclean - 1/4/2010 - 3 Replies

From the HTK mailing list (I have not tried this yet...):

Yes, on 64-bits the GCC compiler use -m64 to generate binary files for 64-bit architecture, also add -L options with the path for the libraries like X11.
That should solve your problems.

Regards,
Vitorio.

Le 2009-12-18 à 13:48, Elias Gerber a écrit :

> -m32 -a

Can not execute 'julian'
By daFunkyUnit - 11/10/2009 - 1 Replies

I am running on Mac OS X 10.5.8, and I cannot execute the julian command, saying that it "cannot execute binary file."


I un-tar'ed julius-3.5.2-multipath-linuxbin in where my HTK is installed, and I have added paths for HTK and julius into the $PATH environment variable.  I have checked the permissions for all the files in the julius-3.5.2-multipath-linuxbin/bin directory and they all are "-rwxr-xr-x" so they all should be executable. But I can not execute any of the commands, except for the perl scripts (gram2sapixml.pl, mkdfa.pl, yomi2voca.pl)

Please help!

Thanks,
-bao

question
By toothdoc - 7/19/2009 - 3 Replies
1. from Windows Explorer, use a Cygwin editor (such as Vim) to edit:
c:/cygwin/etc/bash.bashrc
and add the following lines:  
PATH=/Julius/bin:/HTK/htk-3.3-windows-binary/htk:$PATH
export PATH

There is no bash.bashrc file in etc folder. What am supposed to do now? Did I do something wrong?

compiling HTK using Microsoft Visual Studio
By kmaclean - 6/17/2009

From this post: Installing HTK on Microsoft Windows(음성인식 software)

Prerequisites

  • HTK has been verified to compile using Microsoft Visual Studio.
  • For testing, you will require a Perl interpreter such as ActivePerl.
  • You will need a tool such as 7-zip for unpacking the HTK source code archive.
  • Register on this site by accepting the HTK End User Licence Agreement, then download the latest HTK source code.
  • It is helpful if you have some familiarity with using the DOS command line interface, as you will need to interact with it in order to compile, install and run HTK.
  • Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin

Compilation

  1. Unpack the HTK sources using 7-zip.
  2. Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK.
  3. cd into the directory in which you unpacked the sources.
  4. cd into the htk directory. Type:
    cd htk
  5. Create a directory for the library and tools. Type:
    mkdir bin.win32
  6. Run VCVARS32 (it should be in your path, see prerequisites above)
  7. Build the HTK Library, which provides the common functionality used by the HTK Tools. Enter the following commands:
    cd HTKLib
    nmake /f htk_htklib_nt.mkf all
    cd ..
  8. Build the HTK Tools
    cd HTKTools
    nmake /f htk_htktools_nt.mkf all
    cd ..
    cd HLMLib
    nmake /f htk_hlmlib_nt.mkf all
    cd ..
    cd HLMTools
    nmake /f htk_hlmtools_nt.mkf all
    cd ..

Installation

The HTK tools have now been built and are in the bin.win32 directory. You should add this directory to your PATH, so that you can run them easily from the command line in future.

Ibex
By sirjoy - 5/2/2009

I have Ubuntu 9.04. I couldnt make HTK works on /home/username/bin/htk so I used the ./configure without arguments and so it will be installed on /usr/local/bin instead. After this it works well

make install fails
By RobotJay - 2/24/2009 - 3 Replies

I finally got the "make all" command to (seemingly) work.  Now, when I run "make install" I get the following error:

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

I can't find any help for this anywhere, so I'd appreciate any you can offer.  TIA.

-Jay

P.S. I'm running Ubuntu Intrepid Ibex on a 32-bit system.

Additional Instructions to compile HTK on Ubuntu 8 (Hardy)
By psthomas@gmail.com - 12/2/2008
Okiedokie people, Here are some solutions to a number of problems that I saw people having (myself included):
Alternate Ubuntu Directions for Step 5 above (from a mostly clean Hardy install):
1) You'll need gcc 3.4 (as mentioned)
2) Use synaptic or apt to get:
- cpp-3.4
- gcc-3.4
- gcc-3.4-base
3) Try to run configure.
4) If you see an error like "configure:1799: error: C compiler cannot create executables" then it's probably because you're missing some link libraries. Use synaptic/apt to get:
- libc6-dev
4) Try to "make all"
5) If you see an error like "HGraf.c:73:77: X11/Xlib.h: No such file or director", then you need:
- libx11-dev
6) Now "make all" should succeed.

Hope that helps!
~PST

Some references:
- http://groups.google.com/group/emm-ruby/browse_thread/thread/d1b5dafeb6296d3d?pli=1
- http://anaaman.blogspot.com/2006/01/crt1o-no-such-file-no-such-file-or.html
- http://ubuntuforums.org/archive/index.php/t-49497.html




 

 

error
By hamid - 9/4/2008 - 8 Replies

Hi,

when I want update my path environment variable it gives me error and testing HTK/julius dosen't gives me the expected results.
when I open Cygwin it gives me this:

  bash: $'\r': comand not found
  bash: $'\r': comand not found
  ': not a valid identifier
  bash: $'\r': comand not found


what should I do?

best regards,
Hamid.

Makefile Errors?
By Ramen - 8/8/2008 - 3 Replies

I am trying to follow the instructions listed above for installing HTK.   I am using a 32-bit system.  I get as far as running

$./configure --prefix=/home/yourusername/bin/htk-3.4

But when I try to run make all, I get about 800 errors. At the top of the list of errors, my terminal says,

"HGraf.c:73:77: error: X11/Xlib.h: No such file or directory
HGraf.c:74:23: error: X11/Xutil.h: No such file or directory
HGraf.c:75:21: error: X11/Xos.h: No such file or directory
HGraf.c:77:27: error: X11/keysymdef.h: No such file or directory"

and then it has several lines of stuff looking like,

"HGraf.c:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token"

 Does anyone know what's going on here/how I can fix this?

 

By the way, I coculd not find a module to make my version of GCC compatible with 3.4.  Instead, I simply downloaded GCC 3.4 and edited the Makefile so that it would run GCC 3.4 instead of my new version of GCC.

 

Thanks!

HTK comple error.
By Sergey S. - 4/12/2008 - 6 Replies

Hello, 

I am trying to compile HTK-3.4 on Ubuntu 7.10 but I get this error:

 make all

...

/usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.a when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/libX11.a when searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory `/home/serg/bin/htk/HTKTools'
make: *** [htktools] Error 1

Any idea what might be wrong?

Thanks in advance,

--Sergey 

Julius 4.0.1
By kmaclean - 3/12/2008

Some compile problems with Julius 4.0 on Cygwin have been fixed in Julius 4.0.1

 

 

error in compiling julian
By amza - 1/7/2008 - 2 Replies

I compile julian from source (julius-3.5.2.tar.gz, and then extracts it), because I need julian, not julius, by typing the command as follows:

$./configure --prefix=/home/riset/bin/julius-3.5.2  --enable-julian

The compile didn't work well because there are errors as follows:

$ ./configure --prefix=/home/riset/bin/julius-3.5.2 --enable-julian >a.txt
./configure: line 1033: cmp: command not found
./configure: line 714: cmp: command not found
configure: warning: no iconv, gram2sapixml.pl may not work
./configure: line 1331: cmp: command not found
./configure: line 1203: cmp: command not found
./configure: line 2009: cmp: command not found
configure: warning: not found
configure: warning: libsndfile enables AIFF AU SND NIST format for Julius.
It's available at http://www.mega-nerd.com/libsndfile/
./configure: line 3094: cmp: command not found

I don't understand the command "cmp" in "configure" file, because the file is already available. Can you help me? I haven't been able to run julian yet since 3 weeks ago.  Thank you.

 

~amza