Hi, thank you for your reply. I have an error when compile the moses with "./compile.sh". the log file is attached.
On Tuesday, August 22, 2017 3:53 PM, Hieu Hoang <hieuho...@gmail.com> wrote: this looks like a problem with irstlm. You don't need irstlm for most MT tasks, kenlm is included in Moses and will do most things you need. You should follow these instructions to compile moses http://www.statmt.org/moses/?n=Development.GetStarted ps. Only email moses-support@mit.edu, not to people individually, or any other moses email (eg moses-support-requ...@mit.edu) as you may not get a response Hieu Hoang http://moses-smt.org/ On 22 August 2017 at 14:25, Arezoo Arjomand <arezooarjom...@yahoo.com> wrote: hi,When I want to build ./compile.sh the following error which is attached is accrued. moreover, when i run "make -f contrib/Makefiles/install- dependencies.gmake" the following error interrupt the process. In file included from lmContainer.cpp:23:0: /usr/include/c++/6/cstdlib:75: 25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. Makefile:725: recipe for target 'lmContainer.lo' failed make[3]: *** [lmContainer.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /usr/include/c++/6/ext/string_ conversions.h:41:0, from /usr/include/c++/6/bits/basic_ string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/ locale_classes.h:40, from /usr/include/c++/6/bits/ios_ base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream: 39, from lmclass.cpp:25: /usr/include/c++/6/cstdlib:75: 25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. Makefile:725: recipe for target 'lmclass.lo' failed make[3]: *** [lmclass.lo] Error 1 In file included from /usr/include/c++/6/ext/string_ conversions.h:41:0, from /usr/include/c++/6/bits/basic_ string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/ locale_classes.h:40, from /usr/include/c++/6/bits/ios_ base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream: 39, from htable.cpp:26: /usr/include/c++/6/cstdlib:75: 25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. In file included from /usr/include/c++/6/ext/string_ conversions.h:41:0, from /usr/include/c++/6/bits/basic_ string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/ locale_classes.h:40, from /usr/include/c++/6/bits/ios_ base.h:41, from /usr/include/c++/6/iomanip:40, from dictionary.cpp:25: /usr/include/c++/6/cstdlib:75: 25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. Makefile:725: recipe for target 'htable.lo' failed make[3]: *** [htable.lo] Error 1 Makefile:725: recipe for target 'dictionary.lo' failed make[3]: *** [dictionary.lo] Error 1 make[3]: Leaving directory '/home/arezoo1/mosesdecoder/ build/irstlm/irstlm-5.80.08/ trunk/src' Makefile:407: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/arezoo1/mosesdecoder/ build/irstlm/irstlm-5.80.08/ trunk' Makefile:339: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/arezoo1/mosesdecoder/ build/irstlm/irstlm-5.80.08/ trunk' contrib/Makefiles/install- dependencies.gmake:88: recipe for target '/home/arezoo1/mosesdecoder/ opt/irstlm-5.80.08/bin/build- lm.sh' failed make: *** [/home/arezoo1/mosesdecoder/ opt/irstlm-5.80.08/bin/build- lm.sh] Error 2
build.log.gz
Description: application/gzip
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support