Hi Bakhshaei

I've just run through this on my machine:

- make -j 2 didn't get your errors but it did get some errors.  FWIW I 
never use the -j argument to make.  Moses only takes a few minutes to 
compile.  Try just 'make'.

- 'make' worked without any errors. However, I'm not using srilm & I 
don't have it on my system, so your error might be something to do with 
srilm vs moses.  I did have a make error (different to yours) and I was 
adivsed to make sure I had the most current versions of moses and irstlm 
from subversion.  I did that and make worked fine.  Do you have most 
recent svn checkouts of moses and srilm?  That might solve your problem.

Best

Ivan


Bakhshaei 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
>   


-- 
********************************
Ivan Uemlianin

Canolfan Bedwyr
Safle'r Normal Site
Prifysgol Bangor University
BANGOR
Gwynedd
LL57 2PZ

[email protected]
********************************

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to