it ok on a mac.

On Linux with Boost 1.52, it also ok. I've made my boost (Suse Linux 11.3 64-bit) avialble for download
   http://statmt.org/~s0565741/software/boost_1_52_0/

On Linux with boost 1.51, it's stupid & bizarre. Fortunately i think there's a quick fix:
   1. Make sure boost compiled with no errors.
   2. in the boost lib/ directory, do

            ln -s libboost_thread-mt.a libboost_thread.a
            ln -s libboost_program_options-mt.a libboost_program_options.a

       or whatever library moses is complaining about
    3. recompile moses, possibly with -a flag too.
            ./bjam -a .....

On 28/12/2012 14:37, Holger Schwenk wrote:

Hello Hieu,

thanks for you fast answer !

I installed boost 1.51.0 and moses did compile (but I don't understand why Fedora doesn't upgrade the buggy boost version in FC 17 ...).

However, there are a couple of errors when compiling mira and pro. I attached some of the error messages. It seems to me that this is related to linking.

Hieu, do you manage to compile the current git version with boost_1_51_0 ? Which compiler do you use ?

Holger

On 12/28/2012 01:00 PM, Hieu Hoang wrote:
hi holger

i think there's a problem with boost 1.48.
http://article.gmane.org/gmane.comp.nlp.moses.user/7795/
i can't find any way around it.

would you be able to compile with another boost lib and see if it works?

in
   BUILD-INSTRUCTIONS.txt
there's instructions on how to compile boost. Then link into moses using
   ./bjam --with-boost=/Users/hieuhoang/workspace/boost/boost_1_51_0

On 28/12/2012 11:35, Holger Schwenk wrote:

Hello,

I just installed Fedora Core 17(kernel 3.6.10, gcc 4.7.2, boost 1.48.0-13) and I get an error while compiling the latest version of Moses:

./bjam -j4 --with-srilm=$SRILM --with-giza=/usr/local/bin --prefix=/opt/mt/moses-smt/moses-2012-12-28

fails with

moses/FeatureVector.cpp:284:17: *warning: reference to local variable 'backoff' returned* [enabled by default]

and

ambiguous calls to boost in moses/FeatureVector.cpp

The log file is attached.

have you encountered this problem before or this seems to be rather an issue withmy installation ?

thanks,

Holger



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to