Comments

Flat
error in compiling HTK and Julius
User: hazel
Date: 1/6/2008 11:21 pm
Views: 4357
Rating: 36

1. I have already configured HTK by using command "./configure .......", but when I type in "make all" on cygwin bash shell, there is errors as follows:

$ make all
make[1]: Entering directory `/home/riset/bin/htk-3.3/HTKLib'
gcc -Wall -Wno-switch -g -O2 -I.    -c -o HShell.o HShell.c
HShell.c: In function `KeyPressed':
HShell.c:1487: error: `FIONREAD' undeclared (first use in this function)
HShell.c:1487: error: (Each undeclared identifier is reported only once
HShell.c:1487: error: for each function it appears in.)
make[1]: *** [HShell.o] Error 1
make[1]: Leaving directory `/home/riset/bin/htk-3.3/HTKLib'
make: *** [all] Error 1

2. I also have extracted julius-3.5.3 to "/home/riset/bin". When I compiled julian by typing:

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

    there is an error as follows:

bash: $./configure: No such file or directory

Can you help me to solve these two problems, please? Thank you.

 

~hazel 

 

Re: error in compiling HTK and Julius
User: kmaclean
Date: 1/7/2008 11:10 am
Views: 270
Rating: 42

Hi hazel,

>but when I type in "make all" on cygwin bash shell, there is errors as follows:

see this post:   Re: compile and install htk

>When I compiled julian by typing [...] there is an error as follows: bash: $./configure: No such file or directory

Also discussed in the same post Re: compile and install htk - although the discussion was about compiling on HTK, the same applies to any other program, including Julian/Julius.

This error is telling you that the "configure" command does not exist in the directory you are in or in your path.

It may be easier for you to use the Julius 4.0 Windows binary (there is also a Linux binary) from the Julius SourceForge site rather than trying to compile Julian.  The 4.0 executable combines Julian and Julius in one build.  I have not worked with it a lot, but it does run Julian grammars.

Ken 

PreviousNext