Hi Panos

Could you try editing mosesserver.cpp to move all the xmlrpc-c includes 
to *after* the rest of the includes, and see if that fixes the compile 
error?

On 25/10/12 17:09, Panos Kanavos wrote:
> Hi,
>
> The problem with the release build in Arch is mosesserver :-). It is fixed
> after Kenneth's upgrade to bjam 1.51.
>
> We had discussed this with Kenneth some time ago and we found the problem in
> boost's duration.hpp. Anyway, I have attached the part of the build log where
> the error appears.
>
> Regards,
>
> Panos
>
> On Thursday 25 of October 2012 14:29:57 Barry Haddow wrote:
>> Hi Panos
>>
>> The problem with trunk  (ie master) is in PDTAimp.h:
>>
>> line 142:
>> //TODO: Multiple models broken here
>>       const TranslationSystem&  system =
>> StaticData::Instance().GetTranslationSystem(TranslationSystem::DEFAULT);
>>       std::vector<float>  weights =
>> StaticData::Instance().GetWeights(m_obj->GetFeature());
>>       float weightWP = system.GetWeightWordPenalty();
>>
>> I added this comment when I was merging some code in. I'll try to see
>> how it can be fixed. But it would also be useful to figure out why the
>> release doesn't build on Arch Linux, and whether it can be fixed. Was it
>> the -no-cpp-precomp problem that Kenneth fixed recently in trunk?
>>
>> cheers - Barry
>>
>> On 25/10/12 12:46, Panos Kanavos wrote:
>>> Hi Barry,
>>>
>>> It's the master branch, built 2 days ago.
>>>
>>> Panos
>>>
>>> On Thursday 25 of October 2012 12:35:29 Barry Haddow wrote:
>>>
>>> Hi Panos
>>>
>>> Is this trunk or release? AFAIK it's broken in trunk.
>>>
>>> Cheers - Barry
>>>
>>> Sent from my ZX81
>>>
>>> ----- Reply message -----
>>> From: "Panos Kanavos"<[email protected]>
>>> Date: Thu, Oct 25, 2012 12:14
>>> Subject: [Moses-support] cannot use multiple translation systems in
>>> mosesserver
>>> To:<[email protected]>
>>>
>>> Hi,
>>>
>>> It seems there's a problem with mosesserver and it can't use multiple
>>> translation systems. This is what I see on the server when I send a
>>> request:
>>>
>>> ------------------------
>>> Input: This is a sample sentence
>>> Using translation system IT
>>> Translating: This is a sample sentence
>>> reading bin ttable
>>> size of OFF_T 8
>>> binary phrasefile loaded, default OFF_T: -1
>>> binary file loaded, default OFF_T: -1
>>> Translation system not found default
>>> ------------------------
>>>
>>> Can someone please confirm that?
>>>
>>> Thanks and regards.
>>>
>>> Panos
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

Reply via email to