Moses-support Digest, Vol 109, Issue 73

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Re: How to start an alignment using Giza++ and Moses. (Hieu Hoang)
2. Errors of Compiling Moses (???)
3. Re: Errors of Compiling Moses (Hieu Hoang)


----------------------------------------------------------------------

Message: 1
Date: Sun, 29 Nov 2015 00:02:33 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] How to start an alignment using Giza++
and Moses.
To: Anysta Nysta <anystanysta@ymail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAEKMkbhwVVkBBY9f686v3Z=hiAx+4q42TSFo-wmEnndRUpt_-w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You should do the Moses tutorial
http://www.statmt.org/moses/?n=Moses.Baseline

Hieu Hoang
http://www.hoang.co.uk/hieu

On 26 November 2015 at 14:36, Anysta Nysta <anystanysta@ymail.com> wrote:

> Hello,
>
> I need help to do the alignment using Giza++ and Moses. I was successfully
> installed and compiled Giza++ and Moses on Cygwin. I already search through
> the internet how to do alignment using Giza++ and Moses and found a lot of
> information. The problem is I don't have an idea where I should start. Is
> it possible if I do the alignment using the corpus that I create by myself?
>
> Thank you.
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151128/3191a664/attachment-0001.html

------------------------------

Message: 2
Date: Sun, 29 Nov 2015 23:22:52 +0800
From: ??? <lihongzheng@mail.bnu.edu.cn>
Subject: [Moses-support] Errors of Compiling Moses
To: moses-support <moses-support@mit.edu>
Cc: 765136570 <765136570@qq.com>
Message-ID: <2015112923225218913721@mail.bnu.edu.cn>
Content-Type: text/plain; charset="gb2312"


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151129/f01eddd9/attachment-0001.html

------------------------------

Message: 3
Date: Sun, 29 Nov 2015 15:33:13 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Errors of Compiling Moses
To: ??? <lihongzheng@mail.bnu.edu.cn>
Cc: moses-support <moses-support@mit.edu>, 765136570
<765136570@qq.com>
Message-ID:
<CAEKMkbgg87f+UQPn=rwt57cBX6J8GNp3PMVJO4aNkP1JJW9HkA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

you probably have the xmlrpc-c library on your system, but it's not the
right version. If you don't need the server, you can exclude it using:
./bjam ... --no-xmlrpc-c


Hieu Hoang
http://www.hoang.co.uk/hieu

On 29 November 2015 at 15:22, ??? <lihongzheng@mail.bnu.edu.cn> wrote:

>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151129/d658355b/attachment.html

------------------------------

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


End of Moses-support Digest, Vol 109, Issue 73
**********************************************

0 Response to "Moses-support Digest, Vol 109, Issue 73"

Post a Comment