[SRILM User List] Cannot Execute SRILM

Andreas Stolcke stolcke at icsi.berkeley.edu
Tue Jan 7 14:53:59 PST 2014


On 1/7/2014 12:14 PM, Asad A.Malik wrote:
> Hi All,
>
> I am trying to install MOSES and for that I have to install SRILM. I 
> have downloaded SRILM version 1.7.0. I've extracted it, have used:
> sudo apt-get install libc6-dev-i386
>
> also as suggested by MOSES installation guidethat "if your x86_64 
> type, you should edit the/sbin/machine-type/ file" as
>
> /else if (`uname -m` == x86_64) then/
> /set MACHINE_TYPE = i686/
> and change it to
> /else if (`uname -m` == x86_64) then/
> /set MACHINE_TYPE = i686-m64/
>
> But my file was automatically having i686-m64. So therefore I don't 
> have to chage it.
>
> And for execution I enter:
> make MAKE_PIC=1 SRILM=`pwd` NO_TCL=X  World
>
> It give me following error:
>
> make: pwd/sbin/machine-type: Command not found
> Makefile:13: pwd/common/Makefile.common.variables: No such file or 
> directory
> make: *** No rule to make target 
> `pwd/common/Makefile.common.variables'. Stop.
>
> I've attached the screen shot also. Kindly tell me that what sould I do???
>
you must have used

         SRILM='pwd'  (forward quotes)

instead of

     SRILM=`pwd`

Alternatively, use

    SRILM=$PWD

Andreas

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


More information about the SRILM-User mailing list