Hi,I want to install moses on my PC. I follow "Getting Started with Moses" 
toturial to compile it. but in " make -f 
contrib/Makefiles/install-dependencies.gmake" step the following error is 
appeared. how can i fix the error?
Thank you 


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 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.
Makefile:725: recipe for target 'htable.lo' failed
make[3]: *** [htable.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/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 'dictionary.lo' failed
make[3]: *** [dictionary.lo] Error 1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DTRACE_LEVEL=1 
-DMY_ASSERT_FLAG -g -O2 -MT cmd.lo -MD -MP -MF .deps/cmd.Tpo -c cmd.c -o cmd.o 
>/dev/null 2>&1
mv -f .deps/cmd.Tpo .deps/cmd.Plo
make[3]: Leaving directory '/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 '/mosesdecoder/build/irstlm/irstlm-5.80.08/trunk'
Makefile:339: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/mosesdecoder/build/irstlm/irstlm-5.80.08/trunk'
contrib/Makefiles/install-dependencies.gmake:88: recipe for target 
'/mosesdecoder/opt/irstlm-5.80.08/bin/build-lm.sh' failed
make: *** [/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