Hello Phill and Hieu,
 
I continued to have problems compiling the chart parsing decoder.  I found a
similar bug described and solved at:
https://bugzilla.redhat.com/show_bug.cgi?id=496423

I succeeded in compiling the chart parsing decoder after inserting 
#include <stdlib.h>
At the top of the .cpp files.
Sometimes I also had to insert
#include <inttypes.h>

At the link above they call it a TrueCrypt bug, I'm not sure what they mean.

The make went through without any errors, but I haven't actually used the
decoder yet to translate, I'll get to that tomorrow.  
Please let me know if there's an easier way to get around this problem.
Thanks,

John 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Philipp
Koehn
Sent: Tuesday, December 08, 2009 10:07 PM
To: John Morgan
Cc: Moses-support
Subject: Re: [Moses-support] compiling moses 3 chart

Hi,

try to compile without the --with-berkeleydb switch and everything should
work.

-phi

On Tue, Dec 8, 2009 at 4:19 PM, John Morgan <[email protected]>
wrote:
> Hello,
> I guess this question is for Hugh.
> I'm trying to compile the new moses chart parsing decoder in the 
> mt3_chart directory.
> I have the berkeleydb libraries under /usr/lib and /usr/include.
> I run ./regenerate-makefiles.sh;./configure
> --with-srilm=/home/john/srilm --with-berkeleydb=/usr I get warnings 
> and then an error like:
> /usr/include/stdlib.h:351  error expected ; before * token .
> .
> .
>
> I have the trunk moses working smoothly.  Is there anything extra 
> needed to get the hierarchical chart parsing moses compiled?
> Thanks,
>
> --
> Regards,
> John J Morgan
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 9.0.707 / Virus Database: 270.14.67/2505 - Release Date: 11/15/09
14:50:00


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

Reply via email to