don't use relative path, ie. change

--with-boost=./build/boost_1_59_0

to


--with-boost=/home/sameer/whatever/build/boost_1_59_0


On 31/07/2016 02:13, Sameer Bhadouria wrote:
Hello Group,

I checked out the latest version of Moses source from github and I am running into some compilation issues. I am following instructions Moses Source Installation page <http://www.statmt.org/moses/?n=Development.GetStarted> and using the option with manually installed boost. I was able to successfully compile boost version 1.59.0 and I used the following command from my boost home:

./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=system toolset=clang link=static threading=multi install || echo FAILURE

However, when I try to compile moses it fails complaining about linking with the libmert library

failed clang-darwin.link.dll mert/bin/clang-darwin-4.2.1/release/threading-multi/libmert_lib.dylib...

I have attached the debug logs and here is the command I use for compilation from the moses home directory:

./bjam -j8 --with-boost=./build/boost_1_59_0 --with-cmph=./opt --with-mm --with-probing-pt link=shared threading=multi -q -d2 --no-xmlrpc-c toolset=clang

I also tried using the link=static option and that failed too, with a different error (build-static.log.gz debug log file)

I pretty new to C++ so I hope you will excuse me if I might have missed a flag setting or a compilation option.

Thanks!

--
Regards,
Sameer Bhadouria.


_______________________________________________
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

Reply via email to