Dear Sir/Madam, I have been trying to compile moses with IRSTLM using the command below. But It says fail as I have put below. I need you help please.
*dawit@dawit-Vostro-2520:~/mosesdecoder$ ./bjam --with-irstlm=/home/dawit/irstlm -j8* mkdir: cannot create directory `bin': File exists warning: No toolsets are configured. warning: Configuring default toolset "gcc". warning: If the default is wrong, your build may not work correctly. warning: Use the "toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! You are linking with the IRSTLM library; be sure the release is >= 5.80.06 !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ...patience... ...patience... ...found 4792 targets... ...updating 76 targets... Jamfile</home/dawit/mosesdecoder>.write-options /home/dawit/mosesdecoder/moses/bin/lm.log gcc.compile.c++ moses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/IRST.o In file included from ./moses/Factor.h:28:0, from moses/LM/IRST.h:27, from moses/LM/IRST.cpp:31: ./moses/Util.h:52:0: warning: "TRACE_ERR" redefined [enabled by default] /home/dawit/irstlm/include/util.h:22:0: note: this is the location of the previous definition ./moses/Util.h:60:0: warning: "VERBOSE" redefined [enabled by default] /home/dawit/irstlm/include/util.h:23:0: note: this is the location of the previous definition ./moses/Util.h:61:0: warning: "IFVERBOSE" redefined [enabled by default] /home/dawit/irstlm/include/util.h:24:0: note: this is the location of the previous definition moses/LM/IRST.cpp:29:17: error: 'irstlm' is not a namespace-name moses/LM/IRST.cpp:29:23: error: expected namespace-name before ';' token moses/LM/IRST.cpp: In function 'bool Moses::LMCacheCleanup(size_t, size_t)': moses/LM/IRST.cpp:240:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g -pthread -DMAX_NUM_FACTORS=4 -DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I"." -I"/home/dawit/irstlm/include" -I"/home/dawit/irstlm/include/irstlm" -I"util/double-conversion" -c -o "moses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/IRST.o" "moses/LM/IRST.cpp" ...failed gcc.compile.c++ moses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/IRST.o... gcc.compile.c++ moses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/FF_Factory.o ...skipped <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a(clean) for lack of <pmoses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>IRST.o... ...skipped <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a for lack of <pmoses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>IRST.o... ...skipped <pmoses-cmd/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmoses-cmd/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>lmbrgrid for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pOnDiskPt/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pOnDiskPt/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>1-1-Extraction for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>TMining for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>generateSequences for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>processPhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>processLexicalTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>queryPhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>merge-sorted for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>prunePhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>statistics for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract-lex for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>consolidate-direct for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>consolidate-reverse for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract-rules for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>relax-parse for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>consolidate for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>score for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest.run for lack of <pphrase-extract/bin/ScoreFeatureTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>ScoreFeatureTest... ...skipped <pphrase-extract/extract-ghkm/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract-ghkm for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_test for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_test.passed for lack of <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_test... ...skipped <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test.passed for lack of <pphrase-extract/syntax-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>tree_fragment_tokenizer_test... ...skipped <pphrase-extract/pcfg-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>pcfg-extract for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>pcfg-score for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/extract-mixed-syntax/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract-mixed-syntax for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/score-stsg/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>score-stsg for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pphrase-extract/filter-rule-table/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>filter-rule-table for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmira/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>mira for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>moses for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>lmbrgrid for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>CreateOnDiskPt for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>queryOnDiskPt for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>1-1-Extraction for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>TMining for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>generateSequences for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>processPhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>processLexicalTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>queryPhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>queryLexicalTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>merge-sorted for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>prunePhraseTable for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>statistics for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>extract-lex for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>consolidate-direct for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>extract for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>consolidate-reverse for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>extract-rules for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>relax-parse for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>consolidate for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>score for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>extract-ghkm for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>pcfg-extract for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>pcfg-score for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>extract-mixed-syntax for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>score-stsg for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>filter-rule-table for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/bin>mira for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <p/home/dawit/mosesdecoder/lib>libmoses.a for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses_test for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>libmoses.a... ...skipped <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses_test.passed for lack of <pmoses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses_test... ...skipped <pmoses/LM/bin/BackwardTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>BackwardTest for lack of <pmoses/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>IRST.o... ...skipped <pmoses/LM/bin/BackwardTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>BackwardTest.run for lack of <pmoses/LM/bin/BackwardTest.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>BackwardTest... ...failed updating 1 target... ...skipped 73 targets... ...updated 2 targets... The build failed. If you need support, run: /usr/bin/bjam --with-irstlm=/home/dawit/irstlm -j8 --debug-configuration -d2 |gzip >build.log.gz then attach build.log.gz to your e-mail. You MUST do 3 things before sending to the mailing list: 1. Subscribe to the mailing list at http://mailman.mit.edu/mailman/listinfo/moses-support 2. Attach build.log.gz to your e-mail 3. Say what is the EXACT command you executed when you got the error Regards, Dawit
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
