Thank you Sir, I could compile it. Regards, Apurv Nagvenkar DCST, Goa University
On Tue, Mar 25, 2014 at 1:07 AM, Hieu Hoang <[email protected]> wrote: > it seems like the Moses executables are looking for the file > libboost_thread.so.1.55.0 > A better way to compile boost and moses is described in > http://www.statmt.org/moses/?n=Development.GetStarted > Basically, only create the boost static libraries, not the shared > libraries. Then recompile Moses to link to the static libraries > Boost: ./b2 link=static > Moses ./bjam --with-boost=$BOOST_ROOT -a .... > > > > On 23 March 2014 16:39, Apurv Nagvenkar <[email protected]> wrote: > >> Hello Sir, >> >> I am trying to install moses on Fedora 18 64-bit system. >> Following are the commands or instructions which I followed from numerous >> tutorials. >> >> ***************-Build SRILM-****************** >> cd srilm >> MAKE_PIC=1 >> export SRILM=$PWD >> export MACHINE_TYPE=i686-m64 >> export PATH=${PATH}:$SRILM/bin/$MACHINE_TYPE >> export PATH=${PATH}:$SRILM/bin >> export MANPATH=$SRILM/man >> make World >> make test >> make cleanest >> >> **********---------Installing external directories----------************** >> PREFIX=$HOME/usr >> LIBDIR=$PREFIX/lib64 >> export PATH=$PREFIX/bin${PATH:+:$PATH} >> export LD_LIBRARY_PATH=$LIBDIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} >> export LIBRARY_PATH=$LIBDIR${LIBRARY_PATH:+:$LIBRARY_PATH} >> export CPATH=$PREFIX/include${CPATH:+:$CPATH} >> >> >> #For autotools packages e.g. xmlrpc-c and zlib >> >> ./configure --prefix=$PREFIX --libdir=$LIBDIR [other options here] >> >> *********Installing Boost**************** >> cd boost_1_55_0 >> ./bootstrap.sh >> ./b2 --prefix=$PWD --libdir=$PWD/lib64 --layout=tagged link=static,shared >> threading=multi,single install || echo FAILURE >> ./b2 install --prefix=/usr/share/boost-build >> >> export BOOST_ROOT=$PWD >> export BOOST_BUILD_PATH=/usr/share/boost-build >> >> >> In mosesdecoder I entered following command >> >> ./bjam --with-boost=$BOOST_ROOT --with-srilm=$SRILM >> >> The above commands lead to some error. I am attaching a build.log file. >> >> Kindly go through it and please try to fix it >> Regards, >> Apurv Nagvenkar >> DCST, Goa University >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
