my advise though - use Linux instead of MacOSX. The scripts are written for Linux and rarely tested on Mac, you're on you own if there's a problem
Hieu Hoang http://statmt.org/hieu On Thu, 16 Apr 2020 at 09:55, Hieu Hoang <[email protected]> wrote: > in mert/Jamfile, delete all the unit tests. if necessary, delete all > unit tests in all Jamfiles you find > > Hieu Hoang > http://statmt.org/hieu > > > On Thu, 16 Apr 2020 at 09:51, Bounyalit Taymany <[email protected]> > wrote: > >> Excuse me when I use the command " find . -name "*Test.cpp" | xargs rm " >> and I try running bjam again. But It is like this >> >> $ ./bjam --with-boost=~/demo/boost_1_72_0 -j4 >> >> XMLRPC-C: USING VERSION 1.39.12 FROM /usr/local/Cellar/xmlrpc-c/1.39.12 >> >> fatal: No names found, cannot describe anything. >> >> Tip: install tcmalloc for faster threading. See BUILD-INSTRUCTIONS.txt >> for more information. >> >> BUILDING MOSES SERVER! >> >> Performing configuration checks >> >> >> - Shared Boost : no >> >> - Static Boost : no >> >> error: Unable to find file or target named >> >> error: 'ScoreFeatureTest.cpp' >> >> error: referred from project at >> >> error: 'phrase-extract' >> >> >> On Thu, 16 Apr 2020 at 12:25, Hieu Hoang <[email protected]> wrote: >> >>> Try deleting all the unit test file before running the bjam command >>> again. You can delete the unit test files with the following command >>> find . -name "*Test.cpp" | xargs rm >>> >>> Moses used to compile fine with macOS but macOS's compiler and gcc are >>> slowly diverging. >>> >>> Hieu Hoang >>> http://statmt.org/hieu >>> >>> >>> On Wed, 15 Apr 2020 at 21:21, Bounyalit Taymany <[email protected]> >>> wrote: >>> >>>> I used command for install Moses "./bjam >>>> --with-boost=~/workspace/temp/boost_1_64_0 -j4" >>>> on MacOS Catalina 10.15 >>>> but it failed >>>> >>>> ...failed darwin.compile.c++ >>>> mert/bin/darwin-11.0.3/release/link-static/threading-multi/UtilTest.o... >>>> >>>> ...skipped >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>util_test for >>>> lack of >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>UtilTest.o... >>>> >>>> ...skipped >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>util_test.passed >>>> for lack of >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>util_test... >>>> >>>> darwin.compile.c++ >>>> mert/bin/darwin-11.0.3/release/link-static/threading-multi/VocabularyTest.o >>>> >>>> clang: error: unknown argument: '-fcoalesce-templates' >>>> >>>> >>>> "g++" -ftemplate-depth-128 -fcoalesce-templates -O3 >>>> -finline-functions -Wno-inline -Wall -gdwarf-2 -fexceptions >>>> -Wno-long-double -I/usr/local/Cellar/xmlrpc-c/1.39.12/include -std=c++0x >>>> -DBOOST_FILE_SYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK >>>> -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_DLL >>>> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DMOSES_VERSION_ID=\"\" -DNDEBUG >>>> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES >>>> -I"." >>>> -I"util/double-conversion" -I"~/demo/boost_1_72_0/include" -c -o >>>> "mert/bin/darwin-11.0.3/release/link-static/threading-multi/VocabularyTest.o" >>>> "mert/VocabularyTest.cpp" >>>> >>>> >>>> ...failed darwin.compile.c++ >>>> mert/bin/darwin-11.0.3/release/link-static/threading-multi/VocabularyTest.o... >>>> >>>> ...skipped >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>vocabulary_test >>>> for lack of >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>VocabularyTest.o... >>>> >>>> ...skipped >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>vocabulary_test.passed >>>> for lack of >>>> <pmert/bin/darwin-11.0.3/release/link-static/threading-multi>vocabulary_test... >>>> >>>> ...failed updating 762 targets... >>>> >>>> ...skipped 219 targets... >>>> _______________________________________________ >>>> Moses-support mailing list >>>> [email protected] >>>> http://mailman.mit.edu/mailman/listinfo/moses-support >>>> >>>
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
