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