Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Re: SRILM Error command not found (Kenneth Heafield)
2. Re: SRILM Error command not found (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Tue, 20 Oct 2015 17:28:21 +0100
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] SRILM Error command not found
To: moses-support@mit.edu
Message-ID: <56266BA5.4010302@kheafield.com>
Content-Type: text/plain; charset=windows-1252
Sounds like a documentation bug. Where in the tutorial does it say to
use SRILM?
On 10/20/2015 04:20 PM, Anysta Nysta wrote:
> Hye,
> I desperately need help to solve the following errors. I run the srilm
> 1.4.6 on Cygwin and already install all the packages required for Moses.
> When I run command "make MACHINE_TYPE=i686-gcc4 SRILM=/srilm NO_TCL=X
> World" based on the online tutorial, I got the following result. Is
> there anything I miss..
>
> Thank you.
> ...........................................................................................................................................................................
>
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/op
> tion.o' failed
> make[2]: *** [../obj/i686-gcc4/option.o] Error 127
> make[2]: Leaving directory '/srilm/misc/src'
> make[2]: Entering directory '/srilm/dstruct/src'
> /usr/local/lang/gcc-4.0.1/bin/gcc -mtune=pentium3 -Wreturn-type
> -Wimplicit -I
> .
> -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/qsort.o qsort.c
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/qs
> ort.o' failed
> make[2]: *** [../obj/i686-gcc4/qsort.o] Error 127
> make[2]: Leaving directory '/srilm/dstruct/src'
> make[2]: Entering directory '/srilm/lm/src'
> /usr/local/lang/gcc-4.0.1/bin/gcc -mtune=pentium3 -Wreturn-type
> -Wimplicit -I
> .
> -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/matherr.o matherr.c
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/ma
> therr.o' failed
> make[2]: *** [../obj/i686-gcc4/matherr.o] Error 127
> make[2]: Leaving directory '/srilm/lm/src'
> make[2]: Entering directory '/srilm/flm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS
>
> TANTIATE_TEMPLATES -I. -I/srilm/include -c -g -O3 -o
> ../obj/i686-gcc4/FDisc
> ount.o
> FDiscount.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/FD
> iscount.o' failed
> make[2]: *** [../obj/i686-gcc4/FDiscount.o] Error 127
> make[2]: Leaving directory '/srilm/flm/src'
> make[2]: Entering directory '/srilm/lattice/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS
>
> TANTIATE_TEMPLATES -I. -I/srilm/include -c -g -O3 -o
> ../obj/i686-gcc4/Latti
> ce.o Lattice.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/La
> ttice.o' failed
> make[2]: *** [../obj/i686-gcc4/Lattice.o] Error 127
> make[2]: Leaving directory '/srilm/lattice/src'
> make[2]: Entering directory '/srilm/utils/src'
> make[2]: Nothing to be done for 'release-libraries'.
> make[2]: Leaving directory '/srilm/utils/src'
> make[1]: Leaving directory '/srilm'
> make release-programs
> make[1]: Entering directory '/srilm'
> for subdir in misc dstruct lm flm lattice utils; do \
> (cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=i686-gcc4
> OPTION= releas
> e-programs); \
> done
> make[2]: Entering directory '/srilm/misc/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/misc/src'
> make[2]: Entering directory '/srilm/dstruct/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/dstruct/src'
> make[2]: Entering directory '/srilm/lm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS
>
> TANTIATE_TEMPLATES -I. -I/srilm/include -c -g -O3 -o
> ../obj/i686-gcc4/ngram
> .o ngram.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/ng
> ram.o' failed
> make[2]: *** [../obj/i686-gcc4/ngram.o] Error 127
> make[2]: Leaving directory '/srilm/lm/src'
> make[2]: Entering directory '/srilm/flm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS
>
> TANTIATE_TEMPLATES -I. -I/srilm/include -c -g -O3 -o
> ../obj/i686-gcc4/fngra
> m-count.o
> fngram-count.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/fn
> gram-count.o'
> failed
> make[2]: *** [../obj/i686-gcc4/fngram-count.o] Error 127
> make[2]: Leaving directory '/srilm/flm/src'
> make[2]: Entering directory '/srilm/lattice/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS
>
> TANTIATE_TEMPLATES -I. -I/srilm/include -c -g -O3 -o
> ../obj/i686-gcc4/latti
> ce-tool.o
> lattice-tool.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/la
> ttice-tool.o'
> failed
> make[2]: *** [../obj/i686-gcc4/lattice-tool.o] Error 127
> make[2]: Leaving directory '/srilm/lattice/src'
> make[2]: Entering directory '/srilm/utils/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/utils/src'
> make[1]: Leaving directory '/srilm'
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
------------------------------
Message: 2
Date: Tue, 20 Oct 2015 22:44:30 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] SRILM Error command not found
To: Anysta Nysta <anystanysta@ymail.com>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID: <5626B5BE.9030702@gmail.com>
Content-Type: text/plain; charset="windows-1252"
A few points
1. You haven't installed gcc. Take a little time to read the error
message yourself.
2. As Ken said, there's little reason to use SRILM these days. KenLM
and IRSTLM are both faster, use less memory, and are free
3. Try to use Linux. MT and NLP programs are developed on Linux. You
may run into problems using Windows. Or contact this company which has
adapted Moses for use with Windows
http://www.precisiontranslationtools.com/
On 20/10/2015 16:20, Anysta Nysta wrote:
> Hye,
> I desperately need help to solve the following errors. I run the srilm
> 1.4.6 on Cygwin and already install all the packages required for
> Moses. When I run command "make MACHINE_TYPE=i686-gcc4 SRILM=/srilm
> NO_TCL=X World" based on the online tutorial, I got the following
> result. Is there anything I miss..
>
> Thank you.
> ...........................................................................................................................................................................
>
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/op tion.o' failed
> make[2]: *** [../obj/i686-gcc4/option.o] Error 127
> make[2]: Leaving directory '/srilm/misc/src'
> make[2]: Entering directory '/srilm/dstruct/src'
> /usr/local/lang/gcc-4.0.1/bin/gcc -mtune=pentium3 -Wreturn-type
> -Wimplicit -I . -I/srilm/include
> -c -g -O3 -o ../obj/i686-gcc4/qsort.o qsort.c
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/qs ort.o' failed
> make[2]: *** [../obj/i686-gcc4/qsort.o] Error 127
> make[2]: Leaving directory '/srilm/dstruct/src'
> make[2]: Entering directory '/srilm/lm/src'
> /usr/local/lang/gcc-4.0.1/bin/gcc -mtune=pentium3 -Wreturn-type
> -Wimplicit -I . -I/srilm/include
> -c -g -O3 -o ../obj/i686-gcc4/matherr.o matherr.c
> make[2]: /usr/local/lang/gcc-4.0.1/bin/gcc: Command not found
> /srilm/common/Makefile.common.targets:85: recipe for target
> '../obj/i686-gcc4/ma therr.o' failed
> make[2]: *** [../obj/i686-gcc4/matherr.o] Error 127
> make[2]: Leaving directory '/srilm/lm/src'
> make[2]: Entering directory '/srilm/flm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS TANTIATE_TEMPLATES
> -I. -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/FDisc
> ount.o FDiscount.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/FD iscount.o' failed
> make[2]: *** [../obj/i686-gcc4/FDiscount.o] Error 127
> make[2]: Leaving directory '/srilm/flm/src'
> make[2]: Entering directory '/srilm/lattice/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS TANTIATE_TEMPLATES
> -I. -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/Latti
> ce.o Lattice.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/La ttice.o' failed
> make[2]: *** [../obj/i686-gcc4/Lattice.o] Error 127
> make[2]: Leaving directory '/srilm/lattice/src'
> make[2]: Entering directory '/srilm/utils/src'
> make[2]: Nothing to be done for 'release-libraries'.
> make[2]: Leaving directory '/srilm/utils/src'
> make[1]: Leaving directory '/srilm'
> make release-programs
> make[1]: Entering directory '/srilm'
> for subdir in misc dstruct lm flm lattice utils; do \
> (cd $subdir/src; make SRILM=/srilm MACHINE_TYPE=i686-gcc4
> OPTION= releas e-programs); \
> done
> make[2]: Entering directory '/srilm/misc/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/misc/src'
> make[2]: Entering directory '/srilm/dstruct/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/dstruct/src'
> make[2]: Entering directory '/srilm/lm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS TANTIATE_TEMPLATES
> -I. -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/ngram
> .o ngram.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/ng ram.o' failed
> make[2]: *** [../obj/i686-gcc4/ngram.o] Error 127
> make[2]: Leaving directory '/srilm/lm/src'
> make[2]: Entering directory '/srilm/flm/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS TANTIATE_TEMPLATES
> -I. -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/fngra
> m-count.o fngram-count.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/fn gram-count.o' failed
> make[2]: *** [../obj/i686-gcc4/fngram-count.o] Error 127
> make[2]: Leaving directory '/srilm/flm/src'
> make[2]: Entering directory '/srilm/lattice/src'
> /usr/local/lang/gcc-4.0.1/bin/g++ -mtune=pentium3 -Wreturn-type
> -Wimplicit -DINS TANTIATE_TEMPLATES
> -I. -I/srilm/include -c -g -O3 -o ../obj/i686-gcc4/latti
> ce-tool.o lattice-tool.cc
> make[2]: /usr/local/lang/gcc-4.0.1/bin/g++: Command not found
> /srilm/common/Makefile.common.targets:93: recipe for target
> '../obj/i686-gcc4/la ttice-tool.o' failed
> make[2]: *** [../obj/i686-gcc4/lattice-tool.o] Error 127
> make[2]: Leaving directory '/srilm/lattice/src'
> make[2]: Entering directory '/srilm/utils/src'
> make[2]: Nothing to be done for 'release-programs'.
> make[2]: Leaving directory '/srilm/utils/src'
> make[1]: Leaving directory '/srilm'
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151020/6c6fe3c8/attachment.html
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 108, Issue 58
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 108, Issue 58"
Post a Comment