ah great, just a small boost problem. cc'ing to the mailing list to let other people know
Hieu Hoang http://statmt.org/hieu On Sat, 6 Apr 2019 at 22:23, liu shihao <liushihao1...@hotmail.com> wrote: > Thanks for your reply! > After downloading a clean version of source code and installing a older > version of Boost (1.64.0), it finally works! However, the original version > of Boost (1.67.0) won’t work. > Thanks again. > Shihao > > 在 2019年4月6日,21:12,Hieu Hoang <hieuho...@gmail.com> 写道: > > Moses used to compile with macOS but it may be there's a divergence > between macOS's compiler and gcc. I don't have a mac anymore and I'm not > sure who on this mailing list has who can debug this. > > Download a clean version of the sourcecode again and try to simplify the > compilation by giving the minimum minimum argumrents to bjam > ./bjam --with-boost=/opt/local/ -j4 toolset=clang > If that doesn't work, may may need to try: > > if you're not interested in syntax-based SMT, you might want to exclude > the files & programs that requires the offending files. > 1. delete > phrase-extract/XmlTree.cpp > phrase-extract/SyntaxNodeCollection.h > phrase-extract/SyntaxTree.h > phrase-extract/syntax-common/tree.h > phrase-extract/syntax-common/tree-inl.h > 2. In Jamroot file, comment out the line lines that says > phrase-extract//extract-ghkm > phrase-extract//pcfg-extract > phrase-extract//pcfg-score > phrase-extract//extract-mixed-syntax > phrase-extract//score-stsg > there will be some additionally tidying up to do in the code > > Hieu Hoang > http://statmt.org/hieu > > > On Sat, 6 Apr 2019 at 19:20, liu shihao <liushihao1...@hotmail.com> wrote: > >> Hi, >> >> I have trouble in building the Moses on the mac(macOS high Sierra 10.13). >> I have installed Boost successfully (at least I think so) and the log file >> is as attached. >> It seems that the namespace of the source code in Xcode is wrong. >> I would appreciate your help! >> >> Regards, >> Shihao >> >> _______________________________________________ >> Moses-support mailing list >> Moses-support@mit.edu >> http://mailman.mit.edu/mailman/listinfo/moses-support >> > >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support