Hi,
Currently, it is not possible to compile Moses with both IRSTLM and SRILM
support: you have to compile separate versions. You can compile Moses with
both SRILM and RandLM however.
for more details, browse:
http://www.statmt.org/moses/?n=FactoredTraining.BuildingLanguageModel

Best,
Zahurul

On Sat, Oct 24, 2009 at 12:26 PM, Bakhshaei <[email protected]> wrote:

> Hi,
>
> I compiled srilm , and go trough these instruction:
>
> cd moses
> ./regenerate-makefiles.sh
> ./configure --with-srilm=/home/jschroe1/demo/tools/srilm 
> --with-irstlm=/home/jschroe1/demo/tools/irstlm
> make -j 2
>
> then i receive this error!
> gzfilebuf.h:55: error: ‘_gzf’ was not declared in this scope
> gzfilebuf.h:55: error: ‘gzread’ was not declared in this scope
> gzfilebuf.h: In member function ‘virtual std::streamsize
> gzfilebuf::xsgetn(char*, std::streamsize)’:
> gzfilebuf.h:72: error: ‘_gzf’ was not declared in this scope
> gzfilebuf.h:72: error: ‘gzread’ was not declared in this scope
> make[3]: *** [InputFileStream.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> mv -f .deps/LanguageModel.Tpo .deps/LanguageModel.Po
> make[3]: Leaving directory
> `/home/mahdiyeh/Desktop/Moses/moses/trunk/moses/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/mahdiyeh/Desktop/Moses/moses/trunk/moses/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mahdiyeh/Desktop/Moses/moses/trunk'
> make: *** [all] Error 2
>
> what is the reason? i have the same error with making irstlm tool,
>
> Thanks,
> S.Bakhshaei
>
>
> _______________________________________________
> 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

Reply via email to