The bug is alread known IRSTLM Release 5-20-01 is not compatible wth the latest Moses release 11-07-2008.
The bug will be fixed very soon. In the meanwhile you can use IRSTLM release 5-05-01, which is compatible with Moses. You need the version 4.1 (not he version 4.3) of the g++ compiler. Nicola PS: Adam is also right ./configure –with-irstlm=/home/laxmi/irstlm ________________________________________ From: [email protected] [[email protected]] On Behalf Of Adam Lopez [[email protected]] Sent: Monday, April 13, 2009 11:58 AM To: [email protected] Subject: Re: [Moses-support] Is it a moses buG? Looks like you need to configure --with-irstlm, not --with-srilm. On Mon, Apr 13, 2009 at 10:08 AM, laxmi khatiwada <[email protected]> wrote: > > I have already installed irstlm. > When I tried to install moses > ./regenerate-makefiles.sh > is ok > ./configure –with-srilm=/home/laxmi/irstlm > is also ok > but > when run make > resualt is this > Is it a bug? > > r...@laxmi-laptop:/home/laxmi/tools/moses# make > make all-recursive > make[1]: Entering directory `/home/laxmi/tools/moses’ > Making all in moses/src > make[2]: Entering directory `/home/laxmi/tools/moses/moses/src’ > g++ -DHAVE_CONFIG_H -I. -I../.. -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 > -D_LARGE_FILES -I/home/laxmi/tools/irstlm/include -g -O2 -MT > LanguageModelIRST.o -MD -MP -MF .deps/LanguageModelIRST.Tpo -c -o > LanguageModelIRST.o LanguageModelIRST.cpp > In file included from LanguageModelIRST.cpp:26: > /home/laxmi/tools/irstlm/include/dictionary.h: In member function ‘char* > dictionary::OOV()’: > /home/laxmi/tools/irstlm/include/dictionary.h:87: warning: deprecated > conversion from string constant to ‘char*’ > /home/laxmi/tools/irstlm/include/dictionary.h: In member function ‘char* > dictionary::BoS()’: > /home/laxmi/tools/irstlm/include/dictionary.h:88: warning: deprecated > conversion from string constant to ‘char*’ > /home/laxmi/tools/irstlm/include/dictionary.h: In member function ‘char* > dictionary::EoS()’: > /home/laxmi/tools/irstlm/include/dictionary.h:89: warning: deprecated > conversion from string constant to ‘char*’ > In file included from /home/laxmi/tools/irstlm/include/util.h:8, > from /home/laxmi/tools/irstlm/include/lmtable.h:32, > from LanguageModelIRST.cpp:28: > /home/laxmi/tools/irstlm/include/gzfilebuf.h: At global scope: > /home/laxmi/tools/irstlm/include/gzfilebuf.h:17: warning: unused parameter ‘c’ > /home/laxmi/tools/irstlm/include/gzfilebuf.h:24: warning: unused parameter ‘s’ > /home/laxmi/tools/irstlm/include/gzfilebuf.h:24: warning: unused parameter > ‘num’ > /home/laxmi/tools/irstlm/include/gzfilebuf.h:28: warning: unused parameter > ‘sp’ > /home/laxmi/tools/irstlm/include/gzfilebuf.h:28: warning: unused parameter > ‘which’ > In file included from LanguageModelIRST.cpp:28: > /home/laxmi/tools/irstlm/include/lmtable.h:218: warning: unused parameter > ‘lmfile’ > /home/laxmi/tools/irstlm/include/lmtable.h:219: warning: unused parameter > ‘lmfile’ > /home/laxmi/tools/irstlm/include/lmtable.h:219: warning: unused parameter > ‘buffMb’ > LanguageModelIRST.cpp: In member function ‘virtual bool > LanguageModelIRST::Load(const std::string&, FactorType, float, size_t)’: > LanguageModelIRST.cpp:60: warning: deprecated conversion from string constant > to ‘char*’ > LanguageModelIRST.cpp:121: error: ‘class lmtable’ has no member named > ‘set_dictionary_upperbound’ > make[2]: *** [LanguageModelIRST.o] Error 1 > make[2]: Leaving directory `/home/laxmi/tools/moses/moses/src’ > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/laxmi/tools/moses’ > make: *** [all] Error 2 > r...@laxmi-laptop:/home/laxmi/tools/moses# > > > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
