Moses Support Digest:compiling moses 3 chart

[Moses-support] compiling moses 3 chart

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


Re:[Moses-support] compiling moses 3 chart

hi john

I’ve added another phrase table implementation in the chart branch which uses berkeley db so even if you compile trunk ok, you need to do a little extra for this branch. I think if Berkeley db includes & libs are installed in the default locations, you don’t need to specify the –with-berkeleydb option.

Hieu

Re:[Moses-support] compiling moses 3 chart

Hi,

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

-phi

NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.

Related posts:

  1. Moses Support Digest: moses-chart error while compiling training scripts
  2. Moses Support Digest:Error compiling on Linux
  3. Moses Support Digest:about the moses-chart reordering
  4. Moses Support Digest: compiling on Mac
  5. Moses Support Digest: About mert-moses in mose-chart
  6. Moses Support Digest: moses_chart and recaser phrase-table
  7. Moses Support Digest: About moses-chart
  8. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
  9. Moses Support Digest:mt3_chart compilation error
  10. Moses Support Digest: moses installation
This entry was posted in Moses, SMT and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>