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: Compilation problem (Pratik Mehta)
2. Re: Compilation problem (Kenneth Heafield)
----------------------------------------------------------------------
Message: 1
Date: Fri, 18 Mar 2016 10:15:04 +0530
From: Pratik Mehta <pratikmehta1494@gmail.com>
Subject: Re: [Moses-support] Compilation problem
To: Kenneth Heafield <moses@kheafield.com>
Cc: moses-support@mit.edu
Message-ID:
<CADaECBW3AVfu-23zm4K=ZPR_BYYF6nBqZRgXnMXb0Yrbt5HCig@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <moses@kheafield.com>
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
> > 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
>
--
Regards,
Pratik Mehta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160318/b6386cfd/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.gz
Type: application/x-gzip
Size: 14014 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20160318/b6386cfd/attachment-0001.gz
------------------------------
Message: 2
Date: Fri, 18 Mar 2016 08:23:38 +0000
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] Compilation problem
To: Pratik Mehta <pratikmehta1494@gmail.com>
Cc: moses-support@mit.edu
Message-ID: <56EBBB0A.5010206@kheafield.com>
Content-Type: text/plain; charset=utf-8
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 <moses@kheafield.com
> <mailto:moses@kheafield.com>> 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
> > Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> --
> Regards,
> Pratik Mehta
>
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 113, Issue 51
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 113, Issue 51"
Post a Comment