Tuesday, April 30, 2019

Moses: CentOS 的前置包安裝指令

ubuntu和centos裝包不同,所以切換到contos時需要使用下面這些︰
sudo yum install gcc-c++
sudo yum install boost-devel

安裝xmlrpc
wget http://www.achrafothman.net/aslsmt/tools/xmlrpc-c_1.33.14.orig.tar.gz
tar zxvf xmlrpc-c_1.33.14.orig.tar.gz
cd xmlrpc-c-1.33.14/
./configure
make
sudo make install

為moses安裝mosesserver
./bjam --with-xmlrpc-c=/Users/hieu/workspace/xmlrpc-c/xmlrpc-c-1.33.14

No comments: