[SRILM User List] problem with /sbin/machine-type

Andreas Stolcke stolcke at icsi.berkeley.edu
Tue Oct 29 16:01:28 PDT 2013


On 10/29/2013 6:13 PM, Laatar Rim wrote:
>
> to install SRILM I followed the  steps:
> 1 - downolad package
> 2 - srilm / common I CAHNGE:
>  # Tcl support (standard in Linux)
>      TCL_INCLUDE = -I/usr/include/tcl8.5
>
>      TCL_LIBRARY = -ltcl8.5
>
>  # Use the GNU C compiler.
>   GCC_FLAGS = -march=i686 -Wreturn-type -Wimplicit
> CC = /usr/bin/gcc $(GCC_FLAGS)
> CXX = /usr/bin/g++ -Wno-deprecated $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES
>
> 3 - run /home/hp/SRILM/srilm/sbin/machine-type
> set environment variables:
> export SRILM=/home/hp/SRILM/srilm
> export PATH=$PATH:$SRILM
> but I still have these errors: hp at ubuntu:~/SRILM/srilm$ make test
> make: /sbin/machine-type : commande introuvable
> Makefile:13: /common/Makefile.common.variables: Aucun fichier ou 
> dossier de ce type
> make: *** Pas de règle pour fabriquer la cible « 
> /common/Makefile.common.variables ». Arrêt.

Try running

         make SRILM=/home/hp/SRILM/srilm  World

If that goes well (no error message)

         make SRILM=/home/hp/SRILM/srilm test

Andreas



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20131030/86344e3c/attachment.html>


More information about the SRILM-User mailing list