Hi,
Please pull and try again. I've set pcqueue_test so it won't be
compiled as part of the single-threaded build. Also fixed rt linkage.
Kenneth
On 03/11/14 01:25, Yun Chung wrote:
> Dear Moses supports,
>
> I am running into an error when compiling Moses
> (https://github.com/moses-smt/mosesdecoder/commit/23556697c4e6831bfd0574351717f5a7b79dff77)
> with the options "threading=single" and "--static". (x86_64-redhat-linux)
>
> The command I used is:
>
> ./bjam threading=single --static --prefix=$MOSES_INSTALLDIR
> --install-scripts=$MOSES_SCRIPTS --with-srilm=$SRILM
> --with-irstlm=$IRSTLMDIR --with-boost=$BOOSTDIR
> --with-xmlrpc-c=$XMLRPCDIR --with-cmph=$CMPHDIR
> --with-giza=$MOSES_INSTALLDIR/bin --max-kenlm-order=5 --with-tcmalloc
> --without-libsegfault -j8 -a -q
>
> It was a linking error with "pcqueue_test". The partial error message is
> attached. If I remove "threading=single", the compilation finishes
> without problems. It seems "-lpthread" could help with this step, but I
> don't know how to add such an option to the bjam command. (Adding
> "linkflags=-lpthread" alone seems to cause the compilation to freeze.)
> It would be great if someone could tell me how to deal with it.
>
> Thank you very much for the help in advance!
>
> Best regards,
> Yun
>
>
>
> _______________________________________________
> 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