If you follow this page, it should work. I updated it a few weeks ago from my own experience compiling on Linux and OSX http://www.statmt.org/moses/?n=Development.GetStarted
I don't know why you need to do sudo. Moses never needs root permission to compile On 14 February 2014 10:14, Viktor Pless <[email protected]> wrote: > > Hi all, > > I can't compile Moses with bjam as I always get a "failed" warning, and > there is no moses executable in the resulting bin folder (the decoder > itself). I can't tell if any other file is missing from bin, seems to be OK > to me. > > command: sudo ./bjam -j8 > > error msg: > > ...failed gcc.link > moses-cmd/bin/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/moses... > gcc.compile.c++ > mert/bin/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/TER/tercalc.o > mert/TER/tercalc.cpp: In member function âTERCpp::terAlignment > TERCpp::terCalc::MinEditDist(std::vector<std::basic_string<char> >, > std::vector<std::basic_string<char> >, std::vector<std::vector<int> >)â: > mert/TER/tercalc.cpp:451:7: warning: variable âlast_peakâ set but not used > [-Wunused-but-set-variable] > int last_peak = 0; > ^ > > (Please ignore encoding errors) > > I use libboost 1.49. > > thank you in advance, > Viktor > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
