Speech Recognition Engines

Flat
Compiling Julian source under Windows XP
User: Marcin Fedyna
Date: 11/25/2007 7:28 am
Views: 14505
Rating: 19

Hello

 Is there any instruction on how to compile Julian under Win XP and what tools are required to perform it? I was unable to find compiling instruction.

 When I compiled HTK there was step by step tutorial on how to do it, is there one for Julian?

Thank you for any help.

Best regards

Marcin Fedyna

--- (Edited on 11/25/2007 7:28 am [GMT-0600] by Visitor) ---

Re: Compiling Julian source under Windows XP
User: kmaclean
Date: 11/25/2007 10:50 am
Views: 310
Rating: 21

Hi Marcin,

>Is there any instruction on how to compile Julian under Win XP  

1. download the Julius/Julian source tarball: julius-3.5.3.tar.gz (1.3MB)

2. Go to your cygwin console

3. create a julius directory in your home directory, and extract the tarball into your julius directory

4. go into the julius directory (use cd command)

5. execute these commands (replace "yourusername" with your home directory in Cygwin - see Cygwin cheatsheet for help):

  • ./configure --prefix=/home/yourusername/bin
  • make
  • make install

6. add "/home/yourusername/bin" to your path

This assumes that you downloaded the gcc compiler and make when you installed HTK on your computer.

... or you can use the precompiled binaries from the Julius website:

hope this helps. 

Ken 

 

--- (Edited on 11/25/2007 11:50 am [GMT-0500] by kmaclean) ---

Re: Compiling Julian source under Windows XP
User: kmaclean
Date: 11/26/2007 1:28 pm
Views: 271
Rating: 7
Here is a link to an old FAQ entry that might also be helpful

--- (Edited on 11/26/2007 2:28 pm [GMT-0500] by kmaclean) ---

Re: Compiling Julian source under Windows XP
User: Marcin Fedyna
Date: 11/28/2007 5:20 pm
Views: 248
Rating: 20

Hi Ken.

Thank you very much for your guides , you really helped me!

I managed to compile Julius using Cygwin.

But I have one more question for you , how to enable Julian.exe compilation? The compiler only generated Julius.exe.

 Thanks again for your help.

 

Regards

Marcin

--- (Edited on 11/28/2007 5:20 pm [GMT-0600] by Visitor) ---

Re: Compiling Julian source under Windows XP
User: kmaclean
Date: 11/28/2007 6:10 pm
Views: 285
Rating: 18

Hi Marcin,

>how to enable Julian.exe compilation?

you need to enable Julian in your configure script:

./configure --prefix=/home/yourusername/bin  --enable-julian

and then make and make install. 

more details can be found on the Julius web site.

Ken 

--- (Edited on 11/28/2007 7:10 pm [GMT-0500] by kmaclean) ---

Re: Compiling Julian source under Windows XP
User: Marcin Fedyna
Date: 11/29/2007 4:59 pm
Views: 244
Rating: 7

I added --enable-julian to the configuration.

When I executed make, the compiler threw error when it entered julius directory.

m_options.c: In function `args_needed_exit':
m_options.c:87: error: `EXECNAME' undeclared (first use in this function)
m_options.c:87: error: (Each undeclared identifier is reported only once
m_options.c:87: error: for each function it appears in.)
m_options.c: In function `opt_parse':
m_options.c:211: error: `EXECNAME' undeclared (first use in this function)
make[1]: *** [m_options.o] Error 1

What may be the cause of this. I did not alter the sourcecode and the other binaries compiled succesfully, apart from julian.

I would be grateful for any help.

Regards

Marcin

--- (Edited on 11/29/2007 4:59 pm [GMT-0600] by Visitor) ---

Re: Compiling Julian source under Windows XP
User: Visitor
Date: 11/29/2007 4:55 pm
Views: 313
Rating: 21

I`ve added the --enable-julian command to the ./configure.

Unfortunately I`ve run into some errors :(

When I execute make and compiler enters julius directory it displays error:

m_options.c: In function `args_needed_exit':
m_options.c:87: error: `EXECNAME' undeclared (first use in this function)
m_options.c:87: error: (Each undeclared identifier is reported only once
m_options.c:87: error: for each function it appears in.)
m_options.c: In function `opt_parse':
m_options.c:211: error: `EXECNAME' undeclared (first use in this function)
make[1]: *** [m_options.o] Error 1

What may cause this problem?

Thanks for any help.

Best regards

Marcin

--- (Edited on 11/29/2007 4:55 pm [GMT-0600] by Visitor) ---

Re: Compiling Julian source under Windows XP
User: kmaclean
Date: 11/30/2007 2:17 pm
Views: 218
Rating: 28

Hi Marcin,

Please post the output of your configure command (as an attachment). 

An easy way yo do this is to re-run the configure command and redirect the output to a file, as follows:

$./configure --prefix=/home/yourusername/bin  --enable-julian >configoutput

The additional  ">configoutput" directs output from your screen to a file called "configoutput".  Just attach it as a reply to this post.

I've included the output from my run of configure (which compiles OK) so you can compare to yours.  Between the two of us, we should be able to figure this out.

Ken 

--- (Edited on 11/30/2007 3:17 pm [GMT-0500] by kmaclean) ---

configoutput configoutput
Re: Compiling Julian source under Windows XP
User: Marcin Fedyna
Date: 12/1/2007 6:09 pm
Views: 244
Rating: 15

Hello Ken.

I did as you instructed, here is my configoutput in the attachement to this reply.

 Thank you again for your help.

Regards

Marcin

--- (Edited on 12/1/2007 6:09 pm [GMT-0600] by Visitor) ---

configoutput_Marcin.txt configoutput_Marcin.txt
Re: Compiling Julian source under Windows XP
User: kmaclean
Date: 12/1/2007 7:37 pm
Views: 269
Rating: 27

Hi Marcin,

I diff'ed the files, and there seems to be no major differences ...

A few things to try:

  • maybe your julius tar file is corrupted, you might try downloading a fresh copy;
  • is your Cygwin up to date?  Updating to most current (as I did on my tests) might help;
  • just use the Julius/Julian binaries now - the VoxForge Quickstart includes a compiled version of Julian (rel 3.5.2);
  • perhaps switch to Linux  :) ... Ubuntu is a good distro to look at.
Ken

--- (Edited on 12/1/2007 8:37 pm [GMT-0500] by kmaclean) ---

PreviousNext