Hi mosesians I am also facing same problem. I could configure machine type in srilm make file.
But I am unknown about VMware player. Is it must necessary to run srilm or moses? Laxmi On Tue, Mar 10, 2009 at 10:04 PM, <[email protected]> wrote: > Send Moses-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mit.edu/mailman/listinfo/moses-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moses-support digest..." > > > Today's Topics: > > 1. IRSTLM compile failure (Tom Hoar) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 9 Mar 2009 23:32:48 +0700 > From: Tom Hoar <[email protected]> > Subject: [Moses-support] IRSTLM compile failure > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > I can't seem to find a support contact for IRSTLM, so I'd appreciate if > someone can please point me in the right direction. > > I've set up an Ubuntu 8.10 system, GNU Make 3.81, VMware hardware version 4 > (virtual machine). I have collected all dependencies and can compile Moses > Decoder with GIZA++ and SRILM to make a working system. I'm now starting > with a new copy of Moses source and trying to compile it with IRSTLM. > > Thanks in advance for any help you can offer, or pointing me in the right > direction. > Best regards, > Tom > > Steps: > 1) sudo svn co https://irstlm.svn.sourceforge.net/svnroot/irstlm irstlm > 2) cd irstlm > 3) sudo ./install > > ***** Output ***** > MACHTYPE is actually undefined > Set environment variable MACHTYPE with "uname -m" > OSTYPE is actually undefined > Set environment variable OSTYPE with "uname -s" > CREATING DIRECTORIES > CREATING ALIASES FOR OTHER MACHINE TYPES > COMPILING CODE > rm *.o > rm: cannot remove `*.o': No such file or directory > make: *** [clean] Error 1 > cc -O3 -DMYCODESIZE=3 -Wall --no-strict-aliasing -c -o > cmd.o cmd.c > g++ -static -c -O3 -DMYCODESIZE=3 -Wall --no-strict-aliasing util.cpp -o > util.o > util.cpp: In function 'void createtempfile(std::ofstream&, std::string&, > std::_Ios_Openmode)': > util.cpp:49: warning: ignoring return value of 'int mkstemp(char*)', > declared with attribute warn_unused_result > util.cpp: In function 'void removefile(const std::string&)': > util.cpp:62: warning: ignoring return value of 'int system(const char*)', > declared with attribute warn_unused_result > g++ -static -c -O3 -DMYCODESIZE=3 -Wall --no-strict-aliasing mempool.cpp > -o mempool.o > g++ -static -c -O3 -DMYCODESIZE=3 -Wall --no-strict-aliasing htable.cpp > -o > htable.o > g++ -static -c -O3 -DMYCODESIZE=3 -Wall --no-strict-aliasing > dictionary.cpp -o dictionary.o > In file included from dictionary.cpp:23: > mfstream.h: In member function 'virtual int > fdbuf::underflow()':mfstream.h:98: error: 'memmove' is not a member of > 'std' > In file included from dictionary.cpp:31: > dictionary.h: In member function 'char* dictionary::OOV()': > dictionary.h:89: > warning: deprecated conversion from string constant to 'char*' > dictionary.h: In member function 'char* dictionary::BoS()': > dictionary.h:90: > warning: deprecated conversion from string constant to 'char*' > dictionary.h: In member function 'char* dictionary::EoS()': > dictionary.h:91: > warning: deprecated conversion from string constant to 'char*' > make: *** [dictionary.o] Error 1 > INSTALLING INCLUDE DIR > INSTALLING SCRIPTS > INSTALLING ARCHITECTURE-INDEPENDENT WRAPPERS > ***** end Output ***** > > ***** Results ***** > Created: /usr/local/src/irstlm/bin, contains i686 and scripts > Created: /usr/local/src/irstlm/bin/i686, empty > Created: /usr/local/src/irstlm/lib, contains i686 and no files > Created: /usr/local/src/irstlm/lib/i686, empty > Created: /usr/local/src/irstlm/include, has .h files > ***** end Results ***** > > Other: > uname -m ==> i686 > uname -s ==> Linux > uname -r ==> 2.6.27-11-generic > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20090309/e98592c0/attachment-0001.htm > > ------------------------------ > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 29, Issue 10 > ********************************************* >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
