tendonsie Posted November 2, 2010 Report Posted November 2, 2010 I use more than one year mangos and compile works great. I use Centos 5.4. Now today, I want to update my MaNGOS and I compile I have next problem: configure.ac:39: error: Autoconf version 2.61 or higher is requierd. configure.ac:39: the top level and then erorr error error and it stops. Now I have autoconf 2.59 on my Centos 5.4. I upgrade it: yum update autoconf Feedback: no packages marked for update. Nothing to update. So i decedid to upgrade to Centos 5.5. Now I got Centos 5.5 (Final) Again try to compile MaNGOS, again it don't work. With yum update the same like before. Any idea what to do? Centos don't see i higher autoconf version then I have now, but for mangos I need higher one. Thanks.
Nick Taylor Posted November 3, 2010 Report Posted November 3, 2010 As far as I can tell, autoconf 2.59 is the highest version of autoconf that is in the CentOS repositories. The only way I can see around this is to compile your own version of autoconf, and information on that can be found here: http://www.gnu.org/software/autoconf/ Hope that helps.
Alex Posted November 3, 2010 Report Posted November 3, 2010 Just do the following --- a/dep/ACE_wrappers/configure.ac 2010-10-30 17:36:27.000000000 +0400 +++ b/dep/ACE_wrappers/configure.ac 2010-10-30 17:37:19.000000000 +0400 @@ -36,7 +36,7 @@ dnl Require GNU Autoconf 2.58 or better. Previous versions did not dnl correctly support HP-UX. -AC_PREREQ(2.61) +AC_PREREQ(2.59) dnl Autoconf explicitly forbids patterns containing "_AC_". This causes dnl a problem when using MPC to generate the Automake ".am" files since And it will do with 2.59. Don't know why it was bumped to 2.61. Tested, configures and builds without a scratch on CentOS.
Nick Taylor Posted November 4, 2010 Report Posted November 4, 2010 There must be some reason though, I doubt they would up the requirement just because a new version was released.
freghar Posted November 4, 2010 Report Posted November 4, 2010 dep/ACE_wrappers/configure.ac @@ -39,7 +36,7 @@ additional details.]) dnl Require GNU Autoconf 2.58 or better. Previous versions did not dnl correctly support HP-UX. -AC_PREREQ([2.58]) +AC_PREREQ(2.61) dnl Autoconf explicitly forbids patterns containing "_AC_". This causes dnl a problem when using MPC to generate the Automake ".am" files since 3c0f8c0efca89 , the ACE update commit by Neo2003. Maybe the reason can be found in ACE scm logs.
Furious-Py Posted November 4, 2010 Report Posted November 4, 2010 Use this rpm http://ftp.redhat.com/redhat/rhel/beta/6/source/SRPMS/autoconf-2.63-4.el6.src.rpm With it you can compile again in centos, but i recomend you ubuntu 10.04 x64 lts i changed yesterday from centos 5.5 to ubuntu and is a lot better
Alex Posted November 18, 2010 Report Posted November 18, 2010 There must be some reason though, I doubt they would up the requirement just because a new version was released. There is no errors in autoconf run, so we may assume this requirement is void in our case. Well... soon is CentOS 6 coming, so we won't need this small fix anymore
Recommended Posts