I finally decided to start on a clean slate and restored back the machine
to factory setting.

a. downloaded all necessary tools required from
http://www.statmt.org/moses/?n=Development.GetStarted
b. installed dependencies using contrib/Makefiles/install-dependencies.gmake
c. built moses using these:  sudo ./bjam --with-boost=/opt toolset=clang -j4


and still got the build error.

I am attaching the build log.. can anyone help me please :(



On Fri, Aug 25, 2017 at 3:17 AM, Hieu Hoang <hieuho...@gmail.com> wrote:

> what version of clang do you have on your machine? It works fine on my Mac
> with the following version
>   $clang --version
>   Apple LLVM version 8.1.0 (clang-802.0.42)
> You may need to update if yours is older
>
>
> Hieu Hoang
> http://moses-smt.org/
>
>
> On 24 August 2017 at 09:18, Aileen Joan Vicente <aovice...@up.edu.ph>
> wrote:
>
>> Hi all! I tried to compile moses again and found this error:
>>
>> error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
>>
>>
>>     "clang++" -x c -O3 -std=c++0x -O3 -finline-functions -Wno-inline
>> -Wall -DKENLM_MAX_ORDER=6 
>> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2766-g23cf6c4\"
>> -DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
>> -D_LARGE_FILES -I"." -c -o "symal/bin/clang-darwin-4.2.1/
>> release/link-static/threading-multi/cmd.o" "symal/cmd.c"
>>
>>
>> What does this mean?
>>
>> I am on Mac OS X Sierra.
>>
>>
>> Thank you.
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>

Attachment: build.log.gz
Description: GNU Zip compressed data

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to