Hi John,Javier Sorry about the autoconf confusion. The AC_PROG_GREP and AC_PROG_SED macros were added to autoconf in 2006, but certain distros (redhat derived, I think) have been slow at updating autoconf. I didn't realise that this was going to be a problem when I added the new boost macros - they seemed to work better than the old ones.
I'll add a note to the faq too, best regards - Barry On Thursday 14 April 2011 15:55, John Burger wrote: > Barry Haddow wrote: > > You need a more recent version of autoconf > > > > http://comments.gmane.org/gmane.comp.nlp.moses.user/3978 > > Ha, just spent an hour on this myself. Can someone add a note to that > effect at the top of regenerate-makefiles.sh? It currently only says > this: > > # NOTE: > # Versions 1.9 (or higher) of aclocal and automake are required. > > Adding the following line would be great: > > # Version 1.6 (or higher) of autoconf is required > > - JB > > > On Thursday 14 April 2011 00:06, Javier Murillo wrote: > >> Hi all, > >> > >> I'm trying to build Moses and get the following errors from > >> regenerate-makefiles.sh. I end up with a huge configure file (20,000+ > >> lines) that seems to be garbled. I will appreciate if anybody has run > >> across the same type of errors and can help with ideas on what to > >> do to fix > >> them. Thank you and regards, > >> Javier > >> > >> configure.in:130: warning: AC_PROG_GREP is m4_require'd but is not > >> m4_defun'd configure.in:130: AC_PROG_GREP is required by... > >> m4/boost.m4:215: BOOST_REQUIRE is expanded from... > >> configure.in:130: the top level > >> configure.in:130: warning: AC_PROG_SED is m4_require'd but is not > >> m4_defun'd configure.in:130: AC_PROG_SED is required by... > >> autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... > >> autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... > >> Calling /usr/bin/autoconf... > >> configure.in:130: warning: AC_PROG_GREP is m4_require'd but is not > >> m4_defun'd configure.in:130: AC_PROG_GREP is required by... > >> m4/boost.m4:215: BOOST_REQUIRE is expanded from... > >> configure.in:130: the top level > >> configure.in:130: warning: AC_PROG_SED is m4_require'd but is not > >> m4_defun'd configure.in:130: AC_PROG_SED is required by... > >> autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... > >> autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... > >> configure:466: error: possibly undefined macro: BOOST_THREAD_LDFLAGS > >> If this token and others are legitimate, please use > >> m4_pattern_allow. > >> See the Autoconf documentation. > >> configure:466: error: possibly undefined macro: BOOST_CPPFLAGS > >> configure:466: error: possibly undefined macro: BOOST_ROOT > >> configure:466: error: possibly undefined macro: BOOST_THREAD_LIBS > >> configure:19224: error: possibly undefined macro: AC_PROG_GREP > >> configure:19226: error: possibly undefined macro: AC_PROG_SED > >> configure:20069: error: possibly undefined macro: _AS_ECHO_LOG > >> configure:20070: error: possibly undefined macro: _AC_DO_STDERR > >> autoconf failed > >> > >> Javier Murillo Lopez > >> Weather Decision Technologies, Inc. > >> 201 David L. Boren Blvd, Ste 270 > >> Norman, OK 73072 > >> Ph: (405) 579-7675 Ext 243 > >> > >> [wdt]<http://www.wdtinc.com/> [iMap_logo] > >> 2011 American Meteorological Society Award for > >> Outstanding Services to Meteorology by a Corporation > > > > -- > > 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 > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support -- 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
