Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Re: Compilation Failed with Moses (Hieu Hoang)
2. Re: Compilation Failed with Moses (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Sat, 6 Apr 2019 21:12:22 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Compilation Failed with Moses
To: liu shihao <liushihao1996@hotmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAEKMkbgrd2ACUQfw-haadzWs0vJ_hqdAmAKnFgXFnWCz0KKR2w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <liushihao1996@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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20190406/b50c2a63/attachment-0001.html
------------------------------
Message: 2
Date: Sat, 6 Apr 2019 22:29:04 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Compilation Failed with Moses
To: liu shihao <liushihao1996@hotmail.com>, moses-support
<moses-support@mit.edu>
Message-ID:
<CAEKMkbgnPAVmuTM6a91H=Z-quwRHJCRo9fcbUdzi01+OeDAt0A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <liushihao1996@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 <hieuhoang@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 <liushihao1996@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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20190406/81287750/attachment-0001.html
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 150, Issue 2
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 150, Issue 2"
Post a Comment