You should install boost first, you can find the instructions here
   http://www.statmt.org/moses/?n=Development.GetStarted

to compile moses, keep it simple and just run
   ./bjam

Unless you need srilm or irstlm, don't compile moses with them

On 05/05/2017 13:37, Yuming Zhai wrote:
Hello,

I’ve installed all the components needed then executed this command to install 
moses:

sudo ./bjam --with-srilm=/opt/translation/srilm --with-irstlm=/opt/translation/irstlm 
--with-giza=/opt/translation/giza-pp --with-boost=/opt/translation/boost 
--prefix=/opt/translation/moses -j2 -sLDFLAGS="-liconv -lboost_program_options" 
install

Here is the error message at the end:
...failed updating 7 targets...
...skipped 42 targets...
...updated 717 targets…

and the Build.log:
Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from /Users/yumingzhai/translation/moses up to the root
at /Users/yumingzhai/translation/moses/share/boost-build
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: 
/usr/share/boost-build.
Please consult the documentation at 'http://www.boost.org'.

Could you help me with this problem?
Thanks in advance,
Best regards,

⌘⌘⌘
Yuming ZHAI





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

--
Hieu Hoang
http://moses-smt.org/

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

Reply via email to