Hi.

I'm trying to build moses on Mac OS Mojave (10.14.6).


I have downloaded and built boost with success.


According to http://www.statmt.org/moses/?n=Development.GetStarted, I need to 
install xmlrpc-c independently, which I did using brew.


This is the exact command I use when trying to build moses:


./bjam --with-boost=/Users/hrafn/nlp/smt/boost_1_71_0/ 
--with-cmph=/usr/local/Cellar/xmlrpc-c/1.39.12/ -j4 toolset=clang


I have attached the build.log


When inspecting the log, I can see the following:


    "clang++" -x c -O3 -I/usr/local/Cellar/xmlrpc-c/1.39.12/include  -std=c++0x 
-O3 -finline-functions -Wno-inline -Wall -DHAVE_CMPH -DHAVE_XMLRPC_C 
-DKENLM_MAX_ORDER=6 -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2869-g0fef8ebf4\" 
-DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I"." -I"/Users/hrafn/nlp/smt/boost_1_71_0/include" -c -o 
"symal/bin/clang-darwin-4.2.1/release/link-static/threading-multi/cmd.o" 
"symal/cmd.c"

error: invalid argument '-std=c++0x' not allowed with 'C'


Does this mean that C code is being compiled here, with an invalid c++ option?


Regards,
Hrafn

Attachment: build.log.gz
Description: build.log.gz

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

Reply via email to