It's still linking against system-installed Boost:

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libboost_thread.a(thread.o)

So neither of these files exists:

/home/pratikm/installs/build-boost-1.55.0/lib64/libboost_thread.a
/home/pratikm/installs/build-boost-1.55.0/lib/libboost_thread.a

Which means you haven't compiled boost statically and correctly.

https://kheafield.com/code/kenlm/dependencies/

On 03/18/2016 04:45 AM, Pratik Mehta wrote:
> Thanks for the tip! However, I've recompiled moses and boost with the
> same gcc now. Still fails:
> 
> Command: ./bjam --with-boost=/home/pratikm/installs/build-boost-1.55.0 -j8
> Message:
> ...failed updating 102 targets...
> ...skipped 25 targets...
> ...updated 794 targets...
> The build failed.  If you need support, run:
>   /usr/bin/bjam --with-boost=/home/pratikm/installs/build-boost-1.55.0
> -j8 --debug-configuration -d2 |gzip >build.log.gz
> 
> I've attached the new build.log as well. 
> 
> On Tue, Mar 15, 2016 at 3:38 PM, Kenneth Heafield <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Smells like boost was compiled with a different version of gcc than the
>     one you're using to compile Moses, which can occasionally cause
>     problems.
> 
>     On 03/15/2016 09:46 AM, Pratik Mehta wrote:
>     > Hello,
>     > I tried to compile Moses with the following command:
>     > ./bjam -j4
>     >
>     > The process ended with the following message:
>     > ...failed updating 58 targets...
>     > ...skipped 69 targets...
>     > ...updated 794 targets...
>     > The build failed.  If you need support, run:
>     >   /usr/bin/bjam -j4 --debug-configuration -d2 |gzip >build.log.gz
>     >
>     > I have attached the build.log.gz file here. What went wrong?
>     >
>     > --
>     > Regards,
>     > Pratik.
>     >
>     >
>     >
>     > _______________________________________________
>     > Moses-support mailing list
>     > [email protected] <mailto:[email protected]>
>     > http://mailman.mit.edu/mailman/listinfo/moses-support
>     >
>     _______________________________________________
>     Moses-support mailing list
>     [email protected] <mailto:[email protected]>
>     http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> 
> -- 
> Regards,
> Pratik Mehta
> 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to