Also, your Ubuntu 12.04 is quite old. Could it's old libboost libraries 
might be conflicting with your custom build? If possible, try updating 
your host to 14.04.



On 03/06/2015 08:40 PM, Kenneth Heafield wrote:
> Hi,
>
>       Those are unit test failures.  And that's worrying.
>
> moses/ScoreComponentCollectionTest.cpp(135): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == 1.3f failed [0 !=
> 1.29999995]
> moses/ScoreComponentCollectionTest.cpp(136): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"second") == 2.1f failed [0 !=
> 2.0999999]
> moses/ScoreComponentCollectionTest.cpp(139): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == -1.9f failed [0 !=
> -1.89999998]
> moses/ScoreComponentCollectionTest.cpp(141): error in "sparse_feature":
> check scc.GetScoreForProducer(&sparse,"first") == -3.8f failed [0 !=
> -3.79999995]
>
>       Does a fresh build with -a solve anything?  This is a 64-bit x86
> machine, right?  Since you're on Ubuntu, why not try the
> distribution-provided Boost
>
> sudo apt-get install build-essential libboost-all-dev zlib1g-dev
> libbz2-dev liblzma-dev
>
> Kenneth
>
> On 03/06/2015 03:55 AM, Arezki Sadoune wrote:
>> Hello All
>>
>> I have some problems compiling the last moses on Ubuntu 12.04.5.
>>
>> -When compiling moses alone: ./bjam the issues encountered are :
>>
>> ...failed testing.unit-test
>> moses/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/moses_test.passed...
>> testing.unit-test
>> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/bleu_scorer_test.passed
>>
>> ...failed testing.unit-test
>> mert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/vocabulary_test.passed...
>>
>>
>>   -when I try to compile with boost_1_55_0 et CMPH-2.0
>> ./bjam --with-cmph=/root/tools/cmph-2.0/ 
>> --with-boost=/root/tools/boost_1_55_0
>> the errors preventing moses compiling are in the log file attached
>>
>> Cheers
>>
>>
>> Arezki SADOUNE
>>   
>>
>>
>> _______________________________________________
>> 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

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

Reply via email to