I am attempting to compile Moses with BOTH SRILM (1.5.7) and IRSTLM (5.20.01) on a RHEL 5.2 machine ($MACHTYPE=x86_64-redhat-linux-gnu).
My ./regenerate-makefiles.sh and ./configure
--with-srilm=/usr/local/srilm-1.5.7 --with-irstlm=/export/IT/build/irstlm
complete successfully, but I get the following error from make:
make all-recursive
make[1]: Entering directory `/export/IT/build/moses'
Making all in moses/src
make[2]: Entering directory `/export/IT/build/moses/moses/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/local/srilm-1.5.7/include
-I/export/IT/build/irstlm/include -g -O2 -MT LanguageModelIRST.o -MD -MP
-MF ".deps/LanguageModelIRST.Tpo" -c -o LanguageModelIRST.o
LanguageModelIRST.cpp; \
then mv -f ".deps/LanguageModelIRST.Tpo"
".deps/LanguageModelIRST.Po"; else rm -f ".deps/LanguageModelIRST.Tpo"; exit
1; fi
/export/IT/build/irstlm/include/gzfilebuf.h:20: warning: unused parameter
'c'
/export/IT/build/irstlm/include/gzfilebuf.h:27: warning: unused parameter
's'
/export/IT/build/irstlm/include/gzfilebuf.h:27: warning: unused parameter
'num'
/export/IT/build/irstlm/include/gzfilebuf.h:31: warning: unused parameter
'sp'
/export/IT/build/irstlm/include/gzfilebuf.h:31: warning: unused parameter
'which'
/export/IT/build/irstlm/include/lmtable.h:220: warning: unused parameter
'lmfile'
/export/IT/build/irstlm/include/lmtable.h:221: warning: unused parameter
'lmfile'
/export/IT/build/irstlm/include/lmtable.h:221: warning: unused parameter
'buffMb'
LanguageModelIRST.cpp: In member function 'virtual bool
LanguageModelIRST::Load(const std::string&, FactorType, float, size_t)':
LanguageModelIRST.cpp:121: error: 'class lmtable' has no member named
'set_dictionary_upperbound'
make[2]: *** [LanguageModelIRST.o] Error 1
make[2]: Leaving directory `/export/IT/build/moses/moses/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/IT/build/moses'
make: *** [all] Error 2
Has anyone encountered this issue before? Is there something I am missing? I
appreciate all of the help I can get.
--
Benjamin Shayne
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
