VoxForge
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) ---
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) ---
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_BYTESis changed toBYTESWAP_FLAG = -DSLM_SWAP_BYTES
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) ---
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) ---
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) ---
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) ---
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) ---