don' use ./compile.sh as that uses IRSTLM. Follow
   http://www.statmt.org/moses/?n=Development.GetStarted
and use bjam directly

Hieu Hoang
http://moses-smt.org/


On 23 August 2017 at 12:23, Arezoo Arjomand <[email protected]>
wrote:

> 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 <[email protected]>
> 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 [email protected], not to people individually, or any
> other moses email (eg [email protected]) as you may not get a
> response
>
> Hieu Hoang
> http://moses-smt.org/
>
>
> On 22 August 2017 at 14:25, Arezoo Arjomand <[email protected]>
> 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' failedmake[3]: *** [lmContainer.lo]
> Error 1make[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'
> failedmake[3]: *** [lmclass.lo] Error 1In 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'
> failedmake[3]: *** [htable.lo] Error 1Makefile:725: recipe for target
> 'dictionary.lo' failedmake[3]: *** [dictionary.lo] Error 1make[3]: Leaving
> directory '/home/arezoo1/mosesdecoder/ build/irstlm/irstlm-5.80.08/
> trunk/src'Makefile:407: recipe for target 'all-recursive' failedmake[2]:
> *** [all-recursive] Error 1make[2]: Leaving directory
> '/home/arezoo1/mosesdecoder/ build/irstlm/irstlm-5.80.08/
> trunk'Makefile:339: recipe for target 'all' failedmake[1]: *** [all] Error
> 2make[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' failedmake: ***
> [/home/arezoo1/mosesdecoder/ opt/irstlm-5.80.08/bin/build- lm.sh] Error 2*
>
>
>
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to