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
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to