Hi!
In order to use multiple translation models ('Alternate Weight Settings' 
feature) I tried to build Moses in single-threaded mode. I encountered some 
errors and attach a build log.
My system is multi-core machine with Ubuntu 12.04 and I'm using latest Moses 
version from GitHub.  I had no problem building and using multi-threaded 
version of Moses.
Here are portions of the log file regarding errors:

moses/TranslationOptionCollection.cpp: In member function 'void 
Moses::TranslationOptionCollection::CacheLexReordering()':
moses/TranslationOptionCollection.cpp:646:16: error: must #include <typeinfo> 
before using typeid
moses/TranslationOptionCollection.cpp:646:47: error: must #include <typeinfo> 
before using typeid
...failed gcc.compile.c++ 
moses/bin/gcc-4.6/release/debug-symbols-on/link-static/TranslationOptionCollection.o...

In file included from 
moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerOnDisk.h:28:0,
                 from 
moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerOnDisk.cpp:20:
./moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h:50:3: error: 
'thread_specific_ptr' in namespace 'boost' does not name a type
...failed gcc.compile.c++ 
moses/bin/gcc-4.6/release/debug-symbols-on/link-static/TranslationModel/CYKPlusParser/ChartRuleLookupManagerOnDisk.o...

While the first error may be easily corrected by introducing the needed 
#include, I have no clue with the second one.
Has anybody encountered similar errors?

Best regards, Alexander.

Attachment: build-latest-single.log
Description: build-latest-single.log

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

Reply via email to