General Discussion

Flat
CMU language modeling toolkit installing in cygwin
User: abdul
Date: 6/19/2007 4:56 am
Views: 14925
Rating: 12

Hi,

I tried to install CMU language modeling toolkit in cygwin, but everytime I got error message. Does anyone know how to install it in cygwin?

Best regards,

Abdul.

--- (Edited on 6/19/2007 4:56 am [GMT-0500] by abdul) ---

Re: CMU language modeling toolkit installing in cygwin
User: Visitor
Date: 6/19/2007 5:46 am
Views: 257
Rating: 8
When you are reporting about problems please always include error message you get.

--- (Edited on 6/19/2007 5:46 am [GMT-0500] by Visitor) ---

Re: CMU language modeling toolkit installing in cygwin
User: Abdul
Date: 6/19/2007 7:05 am
Views: 283
Rating: 10

Thank you for your comment. When I tried to install it by "make install", I got error massage "install-sh: syntax error near unexpected token 'in

case $1 in". Could anyone help me to solve this problem?

--- (Edited on 6/19/2007 7:05 am [GMT-0500] by Visitor) ---

Re: CMU language modeling toolkit installing in cygwin
User: kmaclean
Date: 6/19/2007 8:40 am
Views: 268
Rating: 9

Hi Abdul,

Did you have the proper "endianess" set up in your MakeFile?

From the CMU SML toolkit install docs:

For "little-endian" machines (eg those running Ultrix, Linux) the variable BYTESWAP_FLAG will need to be set in the Makefile. This can be done by editing src/Makefile directly, so that the line

#BYTESWAP_FLAG  = -DSLM_SWAP_BYTES
is changed to
BYTESWAP_FLAG  = -DSLM_SWAP_BYTES

Then the program can be installed as before.

Intel or AMD based PCs are usually "little-endian", so you would likely need to set your BYTESWAP_FLAG.

Ken 

--- (Edited on 6/19/2007 9:40 am [GMT-0400] by kmaclean) ---

Re: CMU language modeling toolkit installing in cygwin
User: abdul
Date: 6/19/2007 8:53 am
Views: 230
Rating: 22

Hi, Ken.

Yes, I changed

#BYTESWAP_FLAG  = -DSLM_SWAP_BYTES

to

BYTESWAP_FLAG  = -DSLM_SWAP_BYTES
but I still have same problem. 
Abdul.

--- (Edited on 6/19/2007 8:53 am [GMT-0500] by abdul) ---

Re: CMU language modeling toolkit installing in cygwin
User: kmaclean
Date: 6/19/2007 9:41 am
Views: 268
Rating: 5

Actually, now that I think about it, endianess is irrelevant if you are having problems at the "make install" stage.  It would only be an issue when you are compiling everything at the "make" stage ...

nsh is giving you better advice! 

Ken 

--- (Edited on 6/19/2007 10:41 am [GMT-0400] by kmaclean) ---

Re: CMU language modeling toolkit installing in cygwin
User: abdul
Date: 6/21/2007 11:59 pm
Views: 255
Rating: 10

Thanks to everyone.

I compiled by copying all the executables by hand to bin directory. It was good experience for me. But now I have another problem: I could not compile GIZA in Cygwin. I have GNU-3.4.4 compiler. Everytime I compile it, there is error message saying that there is "no dependencies files" or "obj directory". Did anyone have same problem?

Abdul.

--- (Edited on 6/21/2007 11:59 pm [GMT-0500] by Visitor) ---

Re: CMU language modeling toolkit installing in cygwin
User: nsh
Date: 6/22/2007 2:49 pm
Views: 415
Rating: 13
What's GIZA and where is full build log?

--- (Edited on 6/22/2007 2:49 pm [GMT-0500] by nsh) ---

CMU language modeling toolkit installing in Linux
User: Loulou
Date: 12/26/2007 8:35 am
Views: 247
Rating: 10

Hi,

I have a problem to install CMU language modeling toolkit on Linux System.

I changed

#BYTESWAP_FLAG  = -DSLM_SWAP_BYTES to  BYTESWAP_FLAG  = -DSLM_SWAP_BYTES

I tayped "make install" and I have an error message "command not found"

What I must do to isntall it?

Thx

--- (Edited on 12/26/2007 8:35 am [GMT-0600] by Visitor) ---

Re: CMU language modeling toolkit installing in Linux
User: Tony Robinson
Date: 12/26/2007 9:18 am
Views: 300
Rating: 16

I have a problem to install CMU language modeling toolkit on Linux System.

I typed "make install" and I have an error message "command not found"

Your error message was probably:

bash: make: command not found

Meaning you are missing the executable called "make".

How you install this will be dependent on the distribution you are using, obviously if you have a "Add/Rembve Software" menu item then this is a good place to start.   You may well also be missing gcc.

 

Tony

-- 

Dr Tony Robinson, CEO Cantab Research Ltd
Phone: +44 7913 818743

--- (Edited on 26-December-2007 3:18 pm [GMT+0000] by Tony Robinson) ---

PreviousNext