Hello,

We're building Moses on the CentOS according to the website 
http://www.statmt.org/moses/?n=Development.GetStarted . We first manually 
installing Boost with the following commands:
./bootstrap.sh 
./b2 -j4 --prefix=/home/lhz/boost_1_50_0 
--libdir=/home/lhz/boost_1_50_0/lib64/lib64 --layout=system link=static install 
|| echo FAILURE
then compile the Moses with the command ./bjam 
--with-boost=/home/lhz/boost_1_50_0 -j8, but compiling failed,here is the error 
results:
ERROR 
make[2]: *** [external/Stamp/moses_external/moses_external-build] Error 1 
make[1]: *** [CMakeFiles/moses_external.dir/all] Error 2 
make: *** [all] Error 2 

We then tried to install Boost with the following commands:
./bootstrap.sh 
./b2 --prefix=/home/lhz/boost_1_50_0 --libdir=/home/lhz/boost_1_50_0/lib64 
--layout=tagged link=static,shared threading=multi,single install || echo 
FAILURE 
and compile the Moses again with the same command, but it failed again. We 
received the same error resulst, And the build.log was the same with the former 
one. 

Here are some contents from the log:
gcc.compile.c++ 
moses/bin/gcc-4.4.7/release/link-static/threading-multi/server/Server.o 

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread 
-I/usr/local/include -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_THREAD_DYN_DLL -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4 
-DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I"." -I"/home/lhz/boost_1_50_0/include" -I"util/double-conversion" -c -o 
"moses/bin/gcc-4.4.7/release/link-static/threading-multi/server/Server.o" 
"moses/server/Server.cpp" 

moses/server/Server.cpp: In member function ‘int MosesServer::Server::run()’: 
moses/server/Server.cpp:29: error: ‘class xmlrpc_c::serverAbyss::constrOpt’ has 
no member named ‘maxConn’ 
/home/lhz/boost_1_50_0/include/boost/system/error_code.hpp: At global scope: 
/home/lhz/boost_1_50_0/include/boost/system/error_code.hpp:214: warning: 
‘boost::system::posix_category’ defined but not used 
/home/lhz/boost_1_50_0/include/boost/system/error_code.hpp:215: warning: 
‘boost::system::errno_ecat’ defined but not used 
/home/lhz/boost_1_50_0/include/boost/system/error_code.hpp:216: warning: 
‘boost::system::native_ecat’ defined but not used 
...failed gcc.compile.c++ 
moses/bin/gcc-4.4.7/release/link-static/threading-multi/server/Server.o... 

Attached is the build.log, please check it.

Looking forward to your rapid response, thank you!

Best,

Hongzheng Li
Institute of Chinese Information Processing,
Beijing Normal University

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to