[SRILM User List] Fwd: Problem- "cannot execute binary file"

Andreas Stolcke stolcke at icsi.berkeley.edu
Thu Mar 21 10:57:19 PDT 2013


Glad to hear it!

Andreas

On 3/21/2013 9:18 AM, SHUBHAMAY SEN wrote:
> Actually the system is running properly now
> we have done the modifications in srilm/common/Makefile.machin.i686
> as below
>  TCL_INCLUDE =
>  TCL_LIBRARY =
>  NO_TCL = X
>
> Thanks
>
>
> On Thu, Mar 21, 2013 at 9:30 PM, Andreas Stolcke 
> <stolcke at icsi.berkeley.edu <mailto:stolcke at icsi.berkeley.edu>> wrote:
>
>     Capture the output of make and send it.
>
>     Andreas
>
>
>     On 3/21/2013 12:41 AM, SHUBHAMAY SEN wrote:
>>
>>
>>     On Thu, Mar 21, 2013 at 12:37 PM, Andreas Stolcke
>>     <stolcke at icsi.berkeley.edu <mailto:stolcke at icsi.berkeley.edu>> wrote:
>>
>>         On 3/20/2013 11:53 PM, SHUBHAMAY SEN wrote:
>>>
>>>
>>>         ---------- Forwarded message ----------
>>>         From: *SHUBHAMAY SEN* <shubhamay.sen at gmail.com
>>>         <mailto:shubhamay.sen at gmail.com>>
>>>         Date: Thu, Mar 21, 2013 at 12:14 PM
>>>         Subject: Problem- "cannot execute binary file"
>>>         To: srilm-user at speech.sri.com <mailto:srilm-user at speech.sri.com>
>>>
>>>
>>>         Hi,
>>>               I have a 64 bit machine.
>>>
>>>         kiit at kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$
>>>         <mailto:kiit at kiit-ThinkCentre-M72e:%7E/phrasal.Beta4/work$>
>>>         uname -a
>>>         Linux kiit-ThinkCentre-M72e 3.5.0-21-generic #32-Ubuntu SMP
>>>         Tue Dec 11 18:52:46 UTC 2012 i686 i686 i686 GNU/Linux
>>         Note the "i686", that means your machine or OS are 32bit.
>>
>>     Thanks.
>>         I have successfully compiled with the following command.
>>                   make World MAKE_PIC=1 MACHINE_TYPE=i686 -C $SRILM
>>     NO_TCL=X
>>        But the ngram-count file is not generated in bin/i686
>>     directory. The other files are successfully generated.
>>     Please suggest.
>>
>>
>>>
>>>         I have compiled srilm using "make World MAKE_PIC=1
>>>         MACHINE_TYPE=i686-m64 -C $SRILM" command, output is attached.
>>
>>         but you're building 64bit binaries...
>>
>>>
>>>         but when I am executing the below command, it is showing the
>>>         following message.
>>>
>>>         kiit at kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$
>>>         <mailto:kiit at kiit-ThinkCentre-M72e:%7E/phrasal.Beta4/work$>
>>>         $SRILM/bin/*/ngram-count -order 3
>>>         -interpolate -kndiscount -unk -text
>>>         data/training/news-commentary.tok.en -lm lm/news.lm.gz
>>>
>>>         bash: /home/kiit/srilm/bin/i686-m64/ngram-count: cannot
>>>         execute binary file
>>
>>         ... therefore they will not run.
>>
>>         Build with MACHINE_TYPE=i686 .
>>
>>         Andreas
>>
>>
>>
>>
>>
>>     -- 
>>     ---------------------------------------------------------------------
>>     Regards:
>>     Shubhamay Sen
>>     M. Tech CSE
>>     KIIT University, BBSR,
>>     Odisha, India
>>     mob- 09778772782 
>
>
>
>
> -- 
> ---------------------------------------------------------------------
> Regards:
> Shubhamay Sen
> M. Tech CSE
> KIIT University, BBSR,
> Odisha, India
> mob- 09778772782

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


More information about the SRILM-User mailing list