Dear Moses-Support,

I got errors during the step of ./configure --with-srilm --with-irstlm.
The configure file is shown as follow :

20140 # If we already have a .o, re-use it.  We change $ac_ext so that $ac_link
20141 # tries to link the existing object file instead of compiling from source.
20142 test -f conftest.$ac_objext && ac_ext=$ac_objext &&
boost_use_source=false &&
20143   _AS_ECHO_LOG # (re-using the existing
conftest.$ac_objext)20144 if _AC_DO_STDERR($ac_link) && {
20145          test -z "$ac_cxx_werror_flag" ||
20146          test ! -s conftest.err
20147        } && test -s conftest$ac_exeext && {
20148          test "$cross_compiling" = yes ||
20149          $as_executable_p conftest$ac_exeext
20150        }; then
20151   boost_cv_lib_thread=yes

1.I encountered the following error
    * line 20143: syntax error near unexpected token "re-using"*
     I guess it should be commented out, thus I added a "#" before the ().
     (Maybe I was totally wrong)

2.After that, I re-do the ./configure, another problem came out:
     *line 20143: syntax error near unexpected token "$ac_link"*
     I don't know how to deal with this problem.

Do you have any suggestion on how to fix it or why this might happen?
Thank you for your support.

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

Reply via email to