Git Product home page Git Product logo

Comments (8)

kpu avatar kpu commented on May 19, 2024

How annoying. Please send me bin/config.log and stdout of the build.

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

stdout: https://gist.github.com/michaelhutt/1b92d8f2eccb6a9c5ec2
config.log: https://gist.github.com/michaelhutt/c0692c61d14860033382

The exact line I used is:

LDFLAGS="-L/tools/opt/lib/bzip2/bzip2-1.0.6/dist/lib -L/tools/opt/lib/xz/xz-5.2.0/dist/lib -lrt" ./bjam -d+2 -q link=static --static threading=multi variant=release --with-boost=/extra/tempboost/ | tee stdout.txt

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

Almost forgot, my user-config.jam contains:
using intel : linuxgcc49 : : <compileflags>-gcc-name=/tools/compilers/gcc-4.9.0/bin/gcc <linkflags>-gcc-name=/tools/compilers/gcc-4.9.0/bin/gcc ;

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

Arrg, it seems to work with gcc/g++

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

This is definitely something with my environment, not moses' fault. Sorry for the noise.

from mosesdecoder.

hieuhoang avatar hieuhoang commented on May 19, 2024

what version of moses are you using? release 3, or the current github version? There has been problems with the unit test before.
https://www.mail-archive.com/moses-support%40mit.edu/msg11601.html
If everything compiled but the unit test failed, i would just ignore it

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

It is the current github version. It does look like everything compiled okay. I've apparently modified something locally - a clean checkout seems to build without much massaging. If I figure out exactly what went wrong, I'll post the problem and solution here for anyone else who's searching for that error.

On Fri, Mar 20, 2015 at 6:35 PM, Hieu Hoang [email protected]
wrote:

what version of moses are you using? release 3, or the current github version? There has been problems with the unit test before.
https://www.mail-archive.com/moses-support%40mit.edu/msg11601.html

If everything compiled but the unit test failed, i would just ignore it

Reply to this email directly or view it on GitHub:
#101 (comment)

from mosesdecoder.

michaelhutt avatar michaelhutt commented on May 19, 2024

Just to follow up, for posterity: this bug is triggered if I specify a compiler (in user-config.jam) that isn't the default - even another version of GCC.

The workaround is to create a boost distribution that only includes the static libraries. Make sure you run bjam with --clean before you attempt to recompile, or caching will keep -DBOOST_TEST_DYN_LINK around.

from mosesdecoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.