Hi You shouldn't need to edit the configure script. My guess is you have an old version of autotools.
Did you see an error when you ran regenerate-makefiles.sh ? Cheers - Barry Sent from my ZX81 ----- Reply message ----- From: "王奥博" <[email protected]> Date: Wed, Sep 21, 2011 16:48 Subject: [Moses-support] Errors occur when install Moses To: <[email protected]> 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
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
