not sure, to be honest. If you tire of fighting cmake/make problems, you can try ./manual-compile/compile.sh It has it's own problems, but it's problems that you can see and fix yourself
Hieu Hoang http://www.hoang.co.uk/hieu On 9 March 2016 at 18:20, Sergey A. <www.se...@gmail.com> wrote: > Hi and thank you for your time. I also just cloned it from the path you've > provided, and ran these commands, from the mgizapp directory inside the > repo. I'm getting this: > > [ 94%] Building CXX object src/CMakeFiles/mgiza_lib.dir/vocab.cpp.o > Linking CXX static library ../lib/libmgiza.a > [ 94%] Built target mgiza_lib > Scanning dependencies of target d4norm > Scanning dependencies of target hmmnorm > Scanning dependencies of target mgiza > make[2]: *** No rule to make target > `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/d4norm'. Stop. > make[2]: *** Waiting for unfinished jobs.... > make[2]: *** No rule to make target > `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/hmmnorm'. Stop. > make[2]: *** Waiting for unfinished jobs.... > [ 96%] make[2]: *** No rule to make target > `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/mgiza'. Stop. > make[2]: *** Waiting for unfinished jobs.... > [ 98%] [100%] Building CXX object src/CMakeFiles/d4norm.dir/d4norm.cxx.o > Building CXX object src/CMakeFiles/hmmnorm.dir/hmmnorm.cxx.o > Building CXX object src/CMakeFiles/mgiza.dir/main.cpp.o > make[1]: *** [src/CMakeFiles/hmmnorm.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs.... > make[1]: *** [src/CMakeFiles/d4norm.dir/all] Error 2 > make[1]: *** [src/CMakeFiles/mgiza.dir/all] Error 2 > make: *** [all] Error 2 > > > 2016-03-07 11:33 GMT+02:00 Hieu Hoang <hieuho...@gmail.com>: > >> where did you get the code for mgiza from and what was the exact commands >> you used to compile? >> >> I just tested mgiza compilation with the code from >> https://github.com/moses-smt/mgiza >> using the commands >> cmake . >> cmake . >> make -j4 >> It seems to compile ok >> >> >> On 06/03/2016 20:02, Sergey A. wrote: >> >> Hello. >> >> I'm trying to compile mgiza >> <http://www.statmt.org/moses/?n=Moses.ExternalTools#ntoc3>, but getting >> the below error. What am I doing wrong? Note that I don't have root access >> on the machine, so if libraries needed I'd like to know how to download and >> use them without installing on the server. BTW, I couldn't find anything in >> the archives >> <http://www.google.com/coop/cse?cx=006255449393150026232:wtqyknvwh4g>. >> >> make[2]: *** No rule to make target >> `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/hmmnorm'. Stop. >> make[2]: *** Waiting for unfinished jobs.... >> make[2]: *** No rule to make target >> `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/d4norm'. Stop. >> make[2]: *** Waiting for unfinished jobs.... >> make[2]: *** No rule to make target >> `/usr/lib64/lib64/libboost_thread-mt.so.5', needed by `bin/mgiza'. Stop. >> make[2]: *** Waiting for unfinished jobs.... >> [ 96%] [ 98%] [100%] Building CXX object >> src/CMakeFiles/hmmnorm.dir/hmmnorm.cxx.o >> Building CXX object src/CMakeFiles/d4norm.dir/d4norm.cxx.o >> Building CXX object src/CMakeFiles/mgiza.dir/main.cpp.o >> make[1]: *** [src/CMakeFiles/hmmnorm.dir/all] Error 2 >> make[1]: *** Waiting for unfinished jobs.... >> make[1]: *** [src/CMakeFiles/d4norm.dir/all] Error 2 >> make[1]: *** [src/CMakeFiles/mgiza.dir/all] Error 2make: *** [all] Error 2 >> >> >> Thanks in advance, I'll really appreciate any help here. >> >> Sergey >> >> >> _______________________________________________ >> Moses-support mailing >> listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support >> >> >> >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support