Re: [Moses-support] compile error for moses decoder
good to know. The instructions for Fedora/Redhat/CentOS does say that you have to install bzip2-devel http://www.statmt.org/moses/?n=Development.GetStarted Hieu Hoang http://www.hoang.co.uk/hieu On 18 October 2016 at 14:56, Camelia Ignat wrote: > Dear Moses community, > > The compilation error seems to come from bzip2-devel library that probably > has been removed when I have un-installed some older versions of boost* > libraries (V 53) coming with the operating system. > After re-installing bzip2-devel and recompiling manually xmlrpc-c, cmph > and boost, I managed to built Moses succesfully (release 3.0, as well as > the latest version from git repository) > > Regards, > Camelia Ignat > > > On Mon, Oct 17, 2016 at 4:46 PM, wrote: > >> 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-requ...@mit.edu >> >> You can reach the person managing the list at >> moses-support-ow...@mit.edu >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Moses-support digest..." >> >> >>5. compile error for moses decoder (Camelia Ignat) >> >> >> >> -- >> >> Message: 5 >> Date: Mon, 17 Oct 2016 16:46:30 +0200 >> From: Camelia Ignat >> Subject: [Moses-support] compile error for moses decoder >> To: moses-support@mit.edu >> Message-ID: >> > gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> >> Hello, >> >> I'm trying to build Moses (latest version) on CentOS 7.2 and I get a >> compilation error (...failed gcc.link) >> >> The libraries following have been built manually: boost_1_62_0, cmph-2.0 >> and xmlrpc-c-1.39.11. >> >> Here are the commands used and the log is attached: >> 1. boost >> cd $PREFIX/src >> tar xvjf ../srcs/boost_1_62_0.tar.bz2 >> cd boost_1_62_0/ >> ./bootstrap.sh >> ./b2 -a -j4 --prefix=$PREFIX/boost --libdir=$LIBDIR --layout=system >> link=static install >log || echo FAILURE >> >> 2. cmph >> cd $PREFIX/src >> tar xvzf ../srcs/cmph.tar.gz >> cd cmph-2.0/ >> ./configure --prefix=$PREFIX/cmph --libdir=$LIBDIR >> make >log || echo FAILURE >> make install >> >> 3. xmlrpc-c >> cd $PREFIX/src >> tar xvzf ../srcs/xmlrpc-c-1.39.11.tgz >> cd xmlrpc-c-1.39.11 >> ./configure --prefix=$PREFIX/xmlrpc-c --libdir=$LIBDIR >> make >log || echo FAILURE >> make install >> >> >> ## MOSES DECODER >> >> git clone https://github.com/moses-smt/mosesdecoder.git >> cd $PREFIX/src/mosesdecoder >> >> ./bjam -j4 --prefix=$PREFIX/mosesdecoder --libdir=$LIBDIR >> --with-boost=$PREFIX/boost --with-cmph=$PREFIX/cmph >> --with-xmlrpc-c=$PREFIX/xmlrpc-c install >log || echo FAILURE >> >> To get the log: >> ./bjam -j4 --prefix=/home/admin/ONTS/Server/onts/mosesdecoder >> --libdir=/home/admin/ONTS/Server/onts/lib64 >> --with-boost=/home/admin/ONTS/Server/onts/boost >> --with-cmph=/home/admin/ONTS/Server/onts/cmph >> --with-xmlrpc-c=/home/admin/ONTS/Server/onts/xmlrpc-c install >> --debug-configuration -d2 |gzip >build.log.gz >> >> >> I would be very grateful for any help/hint/advice. >> >> Kind regards, >> Camelia Ignat >> -- next part -- >> An HTML attachment was scrubbed... >> URL: http://mailman.mit.edu/mailman/private/moses-support/attachm >> ents/20161017/ce89d6ab/attachment.html >> -- next part -- >> A non-text attachment was scrubbed... >> Name: build.log.gz >> Type: application/x-gzip >> Size: 8755 bytes >> Desc: not available >> Url : http://mailman.mit.edu/mailman/private/moses-support/attachm >> ents/20161017/ce89d6ab/attachment.gz >> >> -- >> >> ___ >> Moses-support mailing list >> Moses-support@mit.edu >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> >> End of Moses-support Digest, Vol 120, Issue 18 >> ** >> > > > > -- > Camelia Ignat Deceuninck > Via dei Pini 413 > 21027 Ispra (VA) Italy > Mobile +39 340 8251459 > Home +39 03321808549 > > > ___ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > > ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support
Re: [Moses-support] compile error for moses decoder
Dear Moses community, The compilation error seems to come from bzip2-devel library that probably has been removed when I have un-installed some older versions of boost* libraries (V 53) coming with the operating system. After re-installing bzip2-devel and recompiling manually xmlrpc-c, cmph and boost, I managed to built Moses succesfully (release 3.0, as well as the latest version from git repository) Regards, Camelia Ignat On Mon, Oct 17, 2016 at 4:46 PM, wrote: > 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-requ...@mit.edu > > You can reach the person managing the list at > moses-support-ow...@mit.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moses-support digest..." > > >5. compile error for moses decoder (Camelia Ignat) > > > > -- > > Message: 5 > Date: Mon, 17 Oct 2016 16:46:30 +0200 > From: Camelia Ignat > Subject: [Moses-support] compile error for moses decoder > To: moses-support@mit.edu > Message-ID: > q...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I'm trying to build Moses (latest version) on CentOS 7.2 and I get a > compilation error (...failed gcc.link) > > The libraries following have been built manually: boost_1_62_0, cmph-2.0 > and xmlrpc-c-1.39.11. > > Here are the commands used and the log is attached: > 1. boost > cd $PREFIX/src > tar xvjf ../srcs/boost_1_62_0.tar.bz2 > cd boost_1_62_0/ > ./bootstrap.sh > ./b2 -a -j4 --prefix=$PREFIX/boost --libdir=$LIBDIR --layout=system > link=static install >log || echo FAILURE > > 2. cmph > cd $PREFIX/src > tar xvzf ../srcs/cmph.tar.gz > cd cmph-2.0/ > ./configure --prefix=$PREFIX/cmph --libdir=$LIBDIR > make >log || echo FAILURE > make install > > 3. xmlrpc-c > cd $PREFIX/src > tar xvzf ../srcs/xmlrpc-c-1.39.11.tgz > cd xmlrpc-c-1.39.11 > ./configure --prefix=$PREFIX/xmlrpc-c --libdir=$LIBDIR > make >log || echo FAILURE > make install > > > ## MOSES DECODER > > git clone https://github.com/moses-smt/mosesdecoder.git > cd $PREFIX/src/mosesdecoder > > ./bjam -j4 --prefix=$PREFIX/mosesdecoder --libdir=$LIBDIR > --with-boost=$PREFIX/boost --with-cmph=$PREFIX/cmph > --with-xmlrpc-c=$PREFIX/xmlrpc-c install >log || echo FAILURE > > To get the log: > ./bjam -j4 --prefix=/home/admin/ONTS/Server/onts/mosesdecoder > --libdir=/home/admin/ONTS/Server/onts/lib64 > --with-boost=/home/admin/ONTS/Server/onts/boost > --with-cmph=/home/admin/ONTS/Server/onts/cmph > --with-xmlrpc-c=/home/admin/ONTS/Server/onts/xmlrpc-c install > --debug-configuration -d2 |gzip >build.log.gz > > > I would be very grateful for any help/hint/advice. > > Kind regards, > Camelia Ignat > -- next part -- > An HTML attachment was scrubbed... > URL: http://mailman.mit.edu/mailman/private/moses-support/ > attachments/20161017/ce89d6ab/attachment.html > -- next part -- > A non-text attachment was scrubbed... > Name: build.log.gz > Type: application/x-gzip > Size: 8755 bytes > Desc: not available > Url : http://mailman.mit.edu/mailman/private/moses-support/ > attachments/20161017/ce89d6ab/attachment.gz > > -- > > ___ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 120, Issue 18 > ** > -- Camelia Ignat Deceuninck Via dei Pini 413 21027 Ispra (VA) Italy Mobile +39 340 8251459 Home +39 03321808549 ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support
[Moses-support] compile error for moses decoder
Hello, I'm trying to build Moses (latest version) on CentOS 7.2 and I get a compilation error (...failed gcc.link) The libraries following have been built manually: boost_1_62_0, cmph-2.0 and xmlrpc-c-1.39.11. Here are the commands used and the log is attached: 1. boost cd $PREFIX/src tar xvjf ../srcs/boost_1_62_0.tar.bz2 cd boost_1_62_0/ ./bootstrap.sh ./b2 -a -j4 --prefix=$PREFIX/boost --libdir=$LIBDIR --layout=system link=static install >log || echo FAILURE 2. cmph cd $PREFIX/src tar xvzf ../srcs/cmph.tar.gz cd cmph-2.0/ ./configure --prefix=$PREFIX/cmph --libdir=$LIBDIR make >log || echo FAILURE make install 3. xmlrpc-c cd $PREFIX/src tar xvzf ../srcs/xmlrpc-c-1.39.11.tgz cd xmlrpc-c-1.39.11 ./configure --prefix=$PREFIX/xmlrpc-c --libdir=$LIBDIR make >log || echo FAILURE make install ## MOSES DECODER git clone https://github.com/moses-smt/mosesdecoder.git cd $PREFIX/src/mosesdecoder ./bjam -j4 --prefix=$PREFIX/mosesdecoder --libdir=$LIBDIR --with-boost=$PREFIX/boost --with-cmph=$PREFIX/cmph --with-xmlrpc-c=$PREFIX/xmlrpc-c install >log || echo FAILURE To get the log: ./bjam -j4 --prefix=/home/admin/ONTS/Server/onts/mosesdecoder --libdir=/home/admin/ONTS/Server/onts/lib64 --with-boost=/home/admin/ONTS/Server/onts/boost --with-cmph=/home/admin/ONTS/Server/onts/cmph --with-xmlrpc-c=/home/admin/ONTS/Server/onts/xmlrpc-c install --debug-configuration -d2 |gzip >build.log.gz I would be very grateful for any help/hint/advice. Kind regards, Camelia Ignat build.log.gz Description: GNU Zip compressed data ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support