Re: buildconf fails on current HEAD
| From: | Jani Taskinen | Date: | Thu, 11 Sep 2008 07:48:48 +0000 |
| Subject: | Re: buildconf fails on current HEAD | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40457@lists.php.net to get a copy of this message | ||
Raghubansh wrote:
Hi All, I am trying to build PHP6 (checked out a while from CVS - HEAD) and found that ./buildconf fails. Following are the failure messages : [kraghuba@localhost php6]$ ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Your version of autoconf likely contains buggy cache code.Yes, you're using buggy autoconf. Install autoconf 2.13 and it works. In most linux distros you can install multiple versions. Then you can use the PHP_AUTOCONF and PHP_AUTOHEADER macros to point to the version you wish to use, f.e.: PHP_AUTOCONF=autoconf-2.13 PHP_AUTOHEADER=autoheader-2.13 export PHP_AUTOCONF PHP_AUTOHEADER --JaniRunning cvsclean for you. To avoid this, install autoconf-2.13.rebuilding configure Zend/acinclude.m4:1095: error: m4_defn: undefined macro: _m4_divert_diversion aclocal.m4:1102: PHP_CHECK_SIZEOF is expanded from... autom4te: /usr/bin/m4 failed with exit status: 1 rebuilding main/php_config.h.in autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: andconfig.h.top', to define templates forconfig.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,autoheader: [Define if a function `main' is needed.])autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. Zend/acinclude.m4:1095: error: m4_defn: undefined macro: _m4_divert_diversion aclocal.m4:1102: PHP_CHECK_SIZEOF is expanded from... autom4te: /usr/bin/m4 failed with exit status: 1 autoheader: /usr/bin/autom4te failed with exit status: 1 Am i doing something wrong ? or something is broken ?